Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCIP Integration tests - wiring contracts [CCIP-2698] #1148

Merged
merged 31 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
058d971
WIP PingPong test
asoliman92 Jul 5, 2024
2f702cc
Setting up ccip required contracts
asoliman92 Jul 8, 2024
69af04b
WIP
asoliman92 Jul 8, 2024
2cd4fdd
Fix price registry and transfer exceeded error
asoliman92 Jul 9, 2024
6c9ebd0
Test passes
asoliman92 Jul 10, 2024
c0ec0cb
generated nonce_manager
asoliman92 Jul 10, 2024
a09cf07
Assert SendRequested Event was emitted
asoliman92 Jul 10, 2024
a81ef77
Merge branch 'ccip-develop' into integration_test/new_contracts
asoliman92 Jul 10, 2024
f2b079c
Cleaning 0.1
asoliman92 Jul 10, 2024
9fa9dbd
Cleaning 0.2
asoliman92 Jul 10, 2024
0c6a9a4
Fixing merge changes for family agnostic messages
asoliman92 Jul 10, 2024
6b5c894
Merge branch 'ccip-develop' into integration_test/new_contracts
asoliman92 Jul 10, 2024
e5244c8
Fix linting
asoliman92 Jul 10, 2024
88cfa28
Add comment
asoliman92 Jul 10, 2024
c4856b6
Linting imports
asoliman92 Jul 10, 2024
0f477c8
Fix review comments
asoliman92 Jul 10, 2024
92b12f5
simplify pinpong contracts creation loop
asoliman92 Jul 10, 2024
fffb568
Simplify initial configs loop and document it
asoliman92 Jul 10, 2024
c8b8be3
cleaner docs
asoliman92 Jul 10, 2024
3971944
Create Owner per chain and fix configuration addresses
asoliman92 Jul 11, 2024
b98ce47
Cleaning and simplification round
asoliman92 Jul 11, 2024
5761eb2
Cleaning and simplification round 2
asoliman92 Jul 11, 2024
37c67b5
Merge branch 'ccip-develop' into integration_test/new_contracts
asoliman92 Jul 11, 2024
c20cae5
Remove unnecessary compiling for INonceManager
asoliman92 Jul 11, 2024
ca409d5
Review comments
asoliman92 Jul 11, 2024
1bab4fa
Nits
asoliman92 Jul 11, 2024
b96ee58
Fix flakey test
asoliman92 Jul 11, 2024
a8c72f9
Use geth pad function instead of self implemented
asoliman92 Jul 11, 2024
d697aa8
Deploy CCIP contracts on homechain as well
asoliman92 Jul 11, 2024
060f872
Fix require ordering in tests
asoliman92 Jul 11, 2024
485bd87
Merge branch 'ccip-develop' into integration_test/new_contracts
asoliman92 Jul 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contracts/scripts/native_solc_compile_all_ccip
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ compileContract ccip/tokenAdminRegistry/TokenAdminRegistry.sol
compileContract ccip/tokenAdminRegistry/RegistryModuleOwnerCustom.sol
compileContract ccip/capability/CCIPConfig.sol
compileContract ccip/capability/interfaces/IOCR3ConfigEncoder.sol
compileContract ccip/NonceManager.sol

# Test helpers
compileContract ccip/test/helpers/BurnMintERC677Helper.sol
Expand Down
264 changes: 217 additions & 47 deletions core/gethwrappers/ccip/generated/nonce_manager/nonce_manager.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mock_usdc_token_messenger: ../../../contracts/solc/v0.8.24/MockE2EUSDCTokenMesse
mock_usdc_token_transmitter: ../../../contracts/solc/v0.8.24/MockE2EUSDCTransmitter/MockE2EUSDCTransmitter.abi ../../../contracts/solc/v0.8.24/MockE2EUSDCTransmitter/MockE2EUSDCTransmitter.bin 33bdad70822e889de7c720ed20085cf9cd3f8eba8b68f26bd6535197749595fe
mock_v3_aggregator_contract: ../../../contracts/solc/v0.8.24/MockV3Aggregator/MockV3Aggregator.abi ../../../contracts/solc/v0.8.24/MockV3Aggregator/MockV3Aggregator.bin 518e19efa2ff52b0fefd8e597b05765317ee7638189bfe34ca43de2f6599faf4
multi_aggregate_rate_limiter: ../../../contracts/solc/v0.8.24/MultiAggregateRateLimiter/MultiAggregateRateLimiter.abi ../../../contracts/solc/v0.8.24/MultiAggregateRateLimiter/MultiAggregateRateLimiter.bin abb0ecb1ed8621f26e43b39f5fa25f3d0b6d6c184fa37c404c4389605ecb74e7
nonce_manager: ../../../contracts/solc/v0.8.24/NonceManager/NonceManager.abi ../../../contracts/solc/v0.8.24/NonceManager/NonceManager.bin cdc11c1ab4c1c3fd77f30215e9c579404a6e60eb9adc213d73ca0773c3bb5784
nonce_manager: ../../../contracts/solc/v0.8.24/NonceManager/NonceManager.abi ../../../contracts/solc/v0.8.24/NonceManager/NonceManager.bin 78b58f4f192db7496e2b6de805d6a2c918b98d4fa62f3c7ed145ef3b5657a40d
ocr3_config_encoder: ../../../contracts/solc/v0.8.24/IOCR3ConfigEncoder/IOCR3ConfigEncoder.abi ../../../contracts/solc/v0.8.24/IOCR3ConfigEncoder/IOCR3ConfigEncoder.bin e21180898e1ad54a045ee20add85a2793c681425ea06f66d1a9e5cab128b6487
ping_pong_demo: ../../../contracts/solc/v0.8.24/PingPongDemo/PingPongDemo.abi ../../../contracts/solc/v0.8.24/PingPongDemo/PingPongDemo.bin 1588313bb5e781d181a825247d30828f59007700f36b4b9b00391592b06ff4b4
price_registry: ../../../contracts/solc/v0.8.24/PriceRegistry/PriceRegistry.abi ../../../contracts/solc/v0.8.24/PriceRegistry/PriceRegistry.bin 0b3e253684d7085aa11f9179b71453b9db9d11cabea41605d5b4ac4128f85bfb
Expand Down
1 change: 1 addition & 0 deletions core/gethwrappers/ccip/go_generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ package ccip
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/PriceRegistry/PriceRegistry.abi ../../../contracts/solc/v0.8.24/PriceRegistry/PriceRegistry.bin PriceRegistry price_registry
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/CCIPConfig/CCIPConfig.abi ../../../contracts/solc/v0.8.24/CCIPConfig/CCIPConfig.bin CCIPConfig ccip_config
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/IOCR3ConfigEncoder/IOCR3ConfigEncoder.abi ../../../contracts/solc/v0.8.24/IOCR3ConfigEncoder/IOCR3ConfigEncoder.bin IOCR3ConfigEncoder ocr3_config_encoder
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/NonceManager/NonceManager.abi ../../../contracts/solc/v0.8.24/NonceManager/NonceManager.bin NonceManager nonce_manager

//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/MaybeRevertMessageReceiver/MaybeRevertMessageReceiver.abi ../../../contracts/solc/v0.8.24/MaybeRevertMessageReceiver/MaybeRevertMessageReceiver.bin MaybeRevertMessageReceiver maybe_revert_message_receiver
//go:generate go run ../generation/generate/wrap.go ../../../contracts/solc/v0.8.24/PingPongDemo/PingPongDemo.abi ../../../contracts/solc/v0.8.24/PingPongDemo/PingPongDemo.bin PingPongDemo ping_pong_demo
Expand Down
Loading
Loading