-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
offchain - batch caller verbose errors and token pools fix (#533)
## Motivation - 1.0.0 Token pools do not have a `typeAndVersion` method which leaded to rpc call failures. - Also in this scenario the rpc does not reply with an error but with an empty response `""` or `"0x"` which leads to `unpack errors` that make the debugging process harder. ## Solution - Detect `1.0.0` pools by proper error handling of the empty response errors. This PR introduces wETH transfers via a LockUnlock 1.0.0 token pool in the integration test. While implementing this, we cleaned up a lot of code that wasn't needed like manual price updates on the destination chain. The commit plugin will update the prices. This PR improves the coverage of our integration test by adding - multiple token tx - 1.0.0 token pools - dest price updates through commitStore - multiple priced assets - lockUnlock token pools --------- Co-authored-by: Rens Rooimans <[email protected]>
- Loading branch information
Showing
8 changed files
with
3,057 additions
and
139 deletions.
There are no files selected for viewing
2,892 changes: 2,892 additions & 0 deletions
2,892
core/gethwrappers/ccip/generated/lock_release_token_pool_1_0_0/lock_release_token_pool.go
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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.