-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'gdemay/XC-131-evm-rpc-get-block' into 'master'
feat(ckerc20): Use EVM-RPC canister to call `eth_getBlockByNumber` (XC-131): Start the migration to using the EVM-RPC canister by first using it to retrieve the last finalized block via `eth_getBlockByNumber`. Other HTTPs outcalls done by the ckETH minter are not impacted by this change. To ensure that the ckETH minter remains fully functional with or without using the EVM-RPC canister, all integration tests are run with both settings. Implementation notes: 1. To easily run twice the integration tests, without having to refactor all existing tests, additional bazel test targets were defined such that the new targets will instantiate the ckETH minter to use the EVM-RPC canister, while already existing targets instantiate the ckETH minter without it. This also ensures that exactly the same test will be ran in both cases. 2. Currently the EVM-RPC canister does not yet support LlamaNodes as a provider, so the current implementation uses custom providers to re-use exactly the same RPC providers. See merge request dfinity-lab/public/ic!19972
- Loading branch information
Showing
20 changed files
with
886 additions
and
187 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.