-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix incorrect vaa hash calculation and implement tests
- Loading branch information
1 parent
e19013d
commit 4718928
Showing
9 changed files
with
1,492 additions
and
16 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// SPDX-License-Identifier: Apache 2 | ||
pragma solidity ^0.8.0; | ||
|
||
// This file is auto-generated by gen/cctpDomains.ts. | ||
|
||
uint32 constant CCTP_DOMAIN_ETHEREUM = 0; | ||
uint32 constant CCTP_DOMAIN_AVALANCHE = 1; | ||
uint32 constant CCTP_DOMAIN_OPTIMISM = 2; | ||
uint32 constant CCTP_DOMAIN_ARBITRUM = 3; | ||
uint32 constant CCTP_DOMAIN_SOLANA = 5; | ||
uint32 constant CCTP_DOMAIN_BASE = 6; | ||
uint32 constant CCTP_DOMAIN_POLYGON = 7; | ||
uint32 constant CCTP_DOMAIN_SUI = 8; | ||
|
||
// Additional Testnet mappings: | ||
uint32 constant CCTP_DOMAIN_SEPOLIA = 0; | ||
uint32 constant CCTP_DOMAIN_OPTIMISM_SEPOLIA = 2; | ||
uint32 constant CCTP_DOMAIN_ARBITRUM_SEPOLIA = 3; | ||
uint32 constant CCTP_DOMAIN_BASE_SEPOLIA = 6; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.