diff --git a/.github/actions/setup-sui/action.yaml b/.github/actions/setup-sui/action.yaml index 15e10dd2518..236705b417b 100644 --- a/.github/actions/setup-sui/action.yaml +++ b/.github/actions/setup-sui/action.yaml @@ -2,9 +2,9 @@ name: Setup Sui CLI description: Install and cache Sui CLI using suiup inputs: version: - description: Sui CLI version to install (e.g., mainnet-v1.65.2) + description: Sui CLI version to install (e.g., mainnet-v1.67.3) required: false - default: mainnet-v1.65.2 + default: mainnet-v1.67.3 github-token: description: GitHub token to use for authentication required: true diff --git a/.github/integration-in-memory-tests.yml b/.github/integration-in-memory-tests.yml index 2a8facd75bd..2e403b3c54e 100644 --- a/.github/integration-in-memory-tests.yml +++ b/.github/integration-in-memory-tests.yml @@ -1116,7 +1116,7 @@ runner-test-matrix: - id: smoke/ccip/ccip_sui_messaging_test.go:Test_CCIP_Messaging_Sui2EVM path: integration-tests/smoke/ccip/ccip_sui_messaging_test.go test_env_type: in-memory - runs_on: ubuntu-latest + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs triggers: - PR Integration CCIP Tests - Nightly Integration CCIP Tests @@ -1127,29 +1127,32 @@ runner-test-matrix: --format=github-actions \ -- -v -run "Test_CCIP_Messaging_Sui2EVM" -timeout 12m -count=1 -parallel=1 ./smoke/ccip test_go_project_path: integration-tests - sui_cli_version: mainnet-1.65.2 + sui_cli_version: mainnet-1.67.3 install_plugins_public: true free_disk_space: true - # - id: smoke/ccip/ccip_sui_messaging_test.go:Test_CCIP_Messaging_EVM2Sui - # path: integration-tests/smoke/ccip/ccip_sui_messaging_test.go - # test_env_type: in-memory - # runs_on: ubuntu-latest - # triggers: - # - PR Integration CCIP Tests - # - Nightly Integration CCIP Tests - # test_cmd: | - # echo "🚀 Starting CCIP EVM2Sui test..." - # go test ./smoke/ccip -run "Test_CCIP_Messaging_EVM2Sui" -timeout 10m -test.parallel=1 -count=1 -json - # test_go_project_path: integration-tests - # sui_cli_version: mainnet-1.65.2 - # install_plugins_public: true - # free_disk_space: true + - id: smoke/ccip/ccip_sui_messaging_test.go:Test_CCIP_Messaging_EVM2Sui + path: integration-tests/smoke/ccip/ccip_sui_messaging_test.go + test_env_type: in-memory + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs + triggers: + - PR Integration CCIP Tests + - Nightly Integration CCIP Tests + test_cmd: | + gotestsum \ + --junitfile=/tmp/junit.xml \ + --jsonfile=/tmp/gotest.log \ + --format=github-actions \ + -- -v -run "Test_CCIP_Messaging_EVM2Sui" -timeout 10m -count=1 -parallel=1 ./smoke/ccip + test_go_project_path: integration-tests + sui_cli_version: mainnet-1.67.3 + install_plugins_public: true + free_disk_space: true - id: smoke/ccip/ccip_sui_messaging_test.go:Test_CCIP_EVM2Sui_ZeroReceiver path: integration-tests/smoke/ccip/ccip_sui_messaging_test.go test_env_type: in-memory - runs_on: ubuntu-latest + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs triggers: - PR Integration CCIP Tests - Nightly Integration CCIP Tests @@ -1160,14 +1163,14 @@ runner-test-matrix: --format=github-actions \ -- -v -run "Test_CCIP_EVM2Sui_ZeroReceiver" -timeout 25m -count=1 -parallel=1 ./smoke/ccip test_go_project_path: integration-tests - sui_cli_version: mainnet-1.65.2 + sui_cli_version: mainnet-1.67.3 install_plugins_public: true free_disk_space: true - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_Sui2EVM_LockReleaseTokenPool path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go test_env_type: in-memory - runs_on: ubuntu-latest + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs triggers: - PR Integration CCIP Tests - Nightly Integration CCIP Tests @@ -1178,14 +1181,14 @@ runner-test-matrix: --format=github-actions \ -- -v -run "Test_CCIPTokenTransfer_Sui2EVM_LockReleaseTokenPool" -timeout 15m -count=1 -parallel=1 ./smoke/ccip test_go_project_path: integration-tests - sui_cli_version: mainnet-1.65.2 + sui_cli_version: mainnet-1.67.3 install_plugins_public: true free_disk_space: true - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_Sui2EVM_BurnMintTokenPool path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go test_env_type: in-memory - runs_on: ubuntu-latest + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs triggers: - PR Integration CCIP Tests - Nightly Integration CCIP Tests @@ -1196,14 +1199,14 @@ runner-test-matrix: --format=github-actions \ -- -v -run "Test_CCIPTokenTransfer_Sui2EVM_BurnMintTokenPool" -timeout 12m -count=1 -parallel=1 ./smoke/ccip test_go_project_path: integration-tests - sui_cli_version: mainnet-1.65.2 + sui_cli_version: mainnet-1.67.3 install_plugins_public: true free_disk_space: true - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_Sui2EVM_BurnMintTokenPool_WithRateLimit path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go test_env_type: in-memory - runs_on: ubuntu-latest + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs triggers: - PR Integration CCIP Tests - Nightly Integration CCIP Tests @@ -1214,14 +1217,14 @@ runner-test-matrix: --format=github-actions \ -- -v -run "Test_CCIPTokenTransfer_Sui2EVM_BurnMintTokenPool_WithRateLimit" -timeout 15m -count=1 -parallel=1 ./smoke/ccip test_go_project_path: integration-tests - sui_cli_version: mainnet-1.65.2 + sui_cli_version: mainnet-1.67.3 install_plugins_public: true free_disk_space: true - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_Sui2EVM_BurnMintTokenPool_WithAllowlist path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go test_env_type: in-memory - runs_on: ubuntu-latest + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs triggers: - PR Integration CCIP Tests - Nightly Integration CCIP Tests @@ -1232,14 +1235,14 @@ runner-test-matrix: --format=github-actions \ -- -v -run "Test_CCIPTokenTransfer_Sui2EVM_BurnMintTokenPool_WithAllowlist" -timeout 15m -count=1 -parallel=1 ./smoke/ccip test_go_project_path: integration-tests - sui_cli_version: mainnet-1.65.2 + sui_cli_version: mainnet-1.67.3 install_plugins_public: true free_disk_space: true - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_Sui2EVM_BurnMintTokenPool_ThenGloballyCursedUncursed path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go test_env_type: in-memory - runs_on: ubuntu-latest + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs triggers: - PR Integration CCIP Tests - Nightly Integration CCIP Tests @@ -1250,42 +1253,50 @@ runner-test-matrix: --format=github-actions \ -- -v -run "Test_CCIPTokenTransfer_Sui2EVM_BurnMintTokenPool_ThenGloballyCursedUncursed" -timeout 15m -count=1 -parallel=1 ./smoke/ccip test_go_project_path: integration-tests - sui_cli_version: mainnet-1.65.2 + sui_cli_version: mainnet-1.67.3 install_plugins_public: true free_disk_space: true - # - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_NoRateLimit - # path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go - # test_env_type: in-memory - # runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs - # triggers: - # - PR Integration CCIP Tests - # - Nightly Integration CCIP Tests - # test_cmd: | - # go test ./smoke/ccip -run "Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_NoRateLimit" -timeout 25m -test.parallel=1 -count=1 -json - # test_go_project_path: integration-tests - # sui_cli_version: mainnet-1.60.1 - # install_plugins_public: true - # free_disk_space: true + - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_NoRateLimit + path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go + test_env_type: in-memory + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs + triggers: + - PR Integration CCIP Tests + - Nightly Integration CCIP Tests + test_cmd: | + gotestsum \ + --junitfile=/tmp/junit.xml \ + --jsonfile=/tmp/gotest.log \ + --format=github-actions \ + -- -v -run "Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_NoRateLimit" -timeout 20m -count=1 -parallel=1 ./smoke/ccip + test_go_project_path: integration-tests + sui_cli_version: mainnet-1.67.3 + install_plugins_public: true + free_disk_space: true - # - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_WithRateLimit - # path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go - # test_env_type: in-memory - # runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs - # triggers: - # - PR Integration CCIP Tests - # - Nightly Integration CCIP Tests - # test_cmd: | - # go test ./smoke/ccip -run "Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_WithRateLimit" -timeout 25m -test.parallel=1 -count=1 -json - # test_go_project_path: integration-tests - # sui_cli_version: mainnet-1.60.1 - # install_plugins_public: true - # free_disk_space: true + - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_WithRateLimit + path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go + test_env_type: in-memory + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs + triggers: + - PR Integration CCIP Tests + - Nightly Integration CCIP Tests + test_cmd: | + gotestsum \ + --junitfile=/tmp/junit.xml \ + --jsonfile=/tmp/gotest.log \ + --format=github-actions \ + -- -v -run "Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_WithRateLimit" -timeout 20m -count=1 -parallel=1 ./smoke/ccip + test_go_project_path: integration-tests + sui_cli_version: mainnet-1.67.3 + install_plugins_public: true + free_disk_space: true - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_Sui2EVM_ManagedTokenPool_ThenCurseUncurse path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go test_env_type: in-memory - runs_on: ubuntu-latest + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs triggers: - PR Integration CCIP Tests - Nightly Integration CCIP Tests @@ -1296,14 +1307,14 @@ runner-test-matrix: --format=github-actions \ -- -v -run "Test_CCIPTokenTransfer_Sui2EVM_ManagedTokenPool_ThenCurseUncurse" -timeout 15m -count=1 -parallel=1 ./smoke/ccip test_go_project_path: integration-tests - sui_cli_version: mainnet-1.65.2 + sui_cli_version: mainnet-1.67.3 install_plugins_public: true free_disk_space: true - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_SUI2EVM_ManagedTokenPool_WithRateLimit path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go test_env_type: in-memory - runs_on: ubuntu-latest + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs triggers: - PR Integration CCIP Tests - Nightly Integration CCIP Tests @@ -1314,7 +1325,7 @@ runner-test-matrix: --format=github-actions \ -- -v -run "Test_CCIPTokenTransfer_SUI2EVM_ManagedTokenPool_WithRateLimit" -timeout 25m -count=1 -parallel=1 ./smoke/ccip test_go_project_path: integration-tests - sui_cli_version: mainnet-1.65.2 + sui_cli_version: mainnet-1.67.3 install_plugins_public: true free_disk_space: true @@ -1332,51 +1343,63 @@ runner-test-matrix: --format=github-actions \ -- -v -run "Test_CCIP_Upgrade_Sui2EVM" -timeout 25m -count=1 -parallel=1 ./smoke/ccip test_go_project_path: integration-tests - sui_cli_version: mainnet-1.65.2 + sui_cli_version: mainnet-1.67.3 install_plugins_public: true free_disk_space: true - # - id: smoke/ccip/ccip_sui_upgrade_test.go:Test_CCIP_Upgrade_EVM2Sui - # path: integration-tests/smoke/ccip/ccip_sui_upgrade_test.go - # test_env_type: in-memory - # runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs - # triggers: - # - PR Integration CCIP Tests - # - Nightly Integration CCIP Tests - # test_cmd: | - # go test ./smoke/ccip -run "Test_CCIP_Upgrade_EVM2Sui" -timeout 25m -test.parallel=1 -count=1 -json - # test_go_project_path: integration-tests - # sui_cli_version: mainnet-1.65.2 - # install_plugins_public: true - # free_disk_space: true + - id: smoke/ccip/ccip_sui_upgrade_test.go:Test_CCIP_Upgrade_EVM2Sui + path: integration-tests/smoke/ccip/ccip_sui_upgrade_test.go + test_env_type: in-memory + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs + triggers: + - PR Integration CCIP Tests + - Nightly Integration CCIP Tests + test_cmd: | + gotestsum \ + --junitfile=/tmp/junit.xml \ + --jsonfile=/tmp/gotest.log \ + --format=github-actions \ + -- -v -run "Test_CCIP_Upgrade_EVM2Sui" -timeout 25m -count=1 -parallel=1 ./smoke/ccip + test_go_project_path: integration-tests + sui_cli_version: mainnet-1.67.3 + install_plugins_public: true + free_disk_space: true - # - id: smoke/ccip/ccip_sui_upgrade_test.go:Test_CCIP_Upgrade_CommonPkg_EVM2Sui - # path: integration-tests/smoke/ccip/ccip_sui_upgrade_test.go - # test_env_type: in-memory - # runs_on: ubuntu-latest - # triggers: - # - PR Integration CCIP Tests - # - Nightly Integration CCIP Tests - # test_cmd: | - # go test ./smoke/ccip -run "Test_CCIP_Upgrade_CommonPkg_EVM2Sui" -timeout 25m -test.parallel=1 -count=1 -json - # test_go_project_path: integration-tests - # sui_cli_version: mainnet-1.65.2 - # install_plugins_public: true - # free_disk_space: true + - id: smoke/ccip/ccip_sui_upgrade_test.go:Test_CCIP_Upgrade_CommonPkg_EVM2Sui + path: integration-tests/smoke/ccip/ccip_sui_upgrade_test.go + test_env_type: in-memory + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs + triggers: + - PR Integration CCIP Tests + - Nightly Integration CCIP Tests + test_cmd: | + gotestsum \ + --junitfile=/tmp/junit.xml \ + --jsonfile=/tmp/gotest.log \ + --format=github-actions \ + -- -v -run "Test_CCIP_Upgrade_CommonPkg_EVM2Sui" -timeout 25m -count=1 -parallel=1 ./smoke/ccip + test_go_project_path: integration-tests + sui_cli_version: mainnet-1.67.3 + install_plugins_public: true + free_disk_space: true - # - id: smoke/ccip/ccip_sui_upgrade_test.go:Test_CCIP_Upgrade_NoBlock_EVM2Sui - # path: integration-tests/smoke/ccip/ccip_sui_upgrade_test.go - # test_env_type: in-memory - # runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs - # triggers: - # - PR Integration CCIP Tests - # - Nightly Integration CCIP Tests - # test_cmd: | - # go test ./smoke/ccip -run "Test_CCIP_Upgrade_NoBlock_EVM2Sui" -timeout 25m -test.parallel=1 -count=1 -json - # test_go_project_path: integration-tests - # sui_cli_version: mainnet-1.65.2 - # install_plugins_public: true - # free_disk_space: true + - id: smoke/ccip/ccip_sui_upgrade_test.go:Test_CCIP_Upgrade_NoBlock_EVM2Sui + path: integration-tests/smoke/ccip/ccip_sui_upgrade_test.go + test_env_type: in-memory + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs + triggers: + - PR Integration CCIP Tests + - Nightly Integration CCIP Tests + test_cmd: | + gotestsum \ + --junitfile=/tmp/junit.xml \ + --jsonfile=/tmp/gotest.log \ + --format=github-actions \ + -- -v -run "Test_CCIP_Upgrade_NoBlock_EVM2Sui" -timeout 25m -count=1 -parallel=1 ./smoke/ccip + test_go_project_path: integration-tests + sui_cli_version: mainnet-1.67.3 + install_plugins_public: true + free_disk_space: true # - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPPureTokenTransfer_EVM2SUI_BurnMintTokenPool # path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go @@ -1386,8 +1409,11 @@ runner-test-matrix: # - PR Integration CCIP Tests # - Nightly Integration CCIP Tests # test_cmd: | - # echo "🚀 Starting CCIP EVM2Sui Pure Token Transfer test..." - # go test ./smoke/ccip -run "Test_CCIPPureTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 25m -test.parallel=1 -count=1 -json + # gotestsum \ + # --junitfile=/tmp/junit.xml \ + # --jsonfile=/tmp/gotest.log \ + # --format=github-actions \ + # -- -v -run "Test_CCIPPureTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 25m -count=1 -parallel=1 ./smoke/ccip # test_go_project_path: integration-tests # sui_cli_version: mainnet-1.65.2 # install_plugins_public: true @@ -1401,8 +1427,11 @@ runner-test-matrix: # - PR Integration CCIP Tests # - Nightly Integration CCIP Tests # test_cmd: | - # echo "🚀 Starting CCIP EVM2Sui Programmable Token Transfer test..." - # go test ./smoke/ccip -run "Test_CCIPProgrammableTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 25m -test.parallel=1 -count=1 -json + # gotestsum \ + # --junitfile=/tmp/junit.xml \ + # --jsonfile=/tmp/gotest.log \ + # --format=github-actions \ + # -- -v -run "Test_CCIPProgrammableTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 25m -count=1 -parallel=1 ./smoke/ccip # test_go_project_path: integration-tests # sui_cli_version: mainnet-1.65.2 # install_plugins_public: true @@ -1416,26 +1445,32 @@ runner-test-matrix: # - PR Integration CCIP Tests # - Nightly Integration CCIP Tests # test_cmd: | - # echo "🚀 Starting CCIP EVM2Sui Zero Gas Limit Token Transfer test..." - # go test ./smoke/ccip -run "Test_CCIPZeroGasLimitTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 25m -test.parallel=1 -count=1 -json + # gotestsum \ + # --junitfile=/tmp/junit.xml \ + # --jsonfile=/tmp/gotest.log \ + # --format=github-actions \ + # -- -v -run "Test_CCIPZeroGasLimitTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 25m -count=1 -parallel=1 ./smoke/ccip # test_go_project_path: integration-tests # sui_cli_version: mainnet-1.65.2 # install_plugins_public: true # free_disk_space: true - # - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_EVM2SUI_BurnMintTokenPool - # path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go - # test_env_type: in-memory - # runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs - # triggers: - # - PR Integration CCIP Tests - # - Nightly Integration CCIP Tests - # test_cmd: | - # echo "🚀 Starting CCIP EVM2Sui BurnMint Token Transfer test..." - # go test ./smoke/ccip -run "Test_CCIPTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 25m -test.parallel=1 -count=1 -json - # test_go_project_path: integration-tests - # sui_cli_version: mainnet-1.65.2 - # install_plugins_public: true - # free_disk_space: true + - id: smoke/ccip/ccip_sui_token_transfer_test.go:Test_CCIPTokenTransfer_EVM2SUI_BurnMintTokenPool + path: integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go + test_env_type: in-memory + runs_on_self_hosted: runs-on/cpu=16/ram=64/family=m6i+m5.*/spot=false/image=ubuntu24-full-x64/extras=s3-cache+tmpfs + triggers: + - PR Integration CCIP Tests + - Nightly Integration CCIP Tests + test_cmd: | + gotestsum \ + --junitfile=/tmp/junit.xml \ + --jsonfile=/tmp/gotest.log \ + --format=github-actions \ + -- -v -run "Test_CCIPTokenTransfer_EVM2SUI_BurnMintTokenPool" -timeout 25m -count=1 -parallel=1 ./smoke/ccip + test_go_project_path: integration-tests + sui_cli_version: mainnet-1.67.3 + install_plugins_public: true + free_disk_space: true # END: CCIP tests diff --git a/core/scripts/go.mod b/core/scripts/go.mod index c1a7117e70f..9d7159defd2 100644 --- a/core/scripts/go.mod +++ b/core/scripts/go.mod @@ -514,7 +514,7 @@ require ( github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260217043601-5cc966896c4f // indirect github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7 // indirect github.com/smartcontractkit/chainlink-solana/contracts v0.0.0-20260217175957-8f1af02c5075 // indirect - github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 // indirect + github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e // indirect github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 // indirect github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake v0.10.0 // indirect github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect diff --git a/core/scripts/go.sum b/core/scripts/go.sum index 19c973efe40..3951c96292d 100644 --- a/core/scripts/go.sum +++ b/core/scripts/go.sum @@ -1698,8 +1698,8 @@ github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7/go.mod h1:tHAxfvRGFtttKFw4YnMwRLgawWLNWVfPbL0Wl07wuP8= github.com/smartcontractkit/chainlink-solana/contracts v0.0.0-20260217175957-8f1af02c5075 h1:PcR7Zdh+Z+Dh/S4lQ1xDbnFrb6He70KW9O5+9DtgloE= github.com/smartcontractkit/chainlink-solana/contracts v0.0.0-20260217175957-8f1af02c5075/go.mod h1:APCV5fIW/a+JGM+Cz9yb6XyGt8ht5hISEYfpG/k4Z+k= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 h1:4mGJySR1GAJAAFRwEo6YiSKM2zSHzYT5b/FSmrpNUGI= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e h1:AmoHzSiCy8d9x6bgeoPPeemvTGmCoVTnAVtiP8D2izU= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 h1:5NdsaclAfx+p8lZUZ3WIqMW3M9Cze1ZVPENOQhha1pk= github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:IfeW6t5Yc5293H5ixuooAft+wYBMSFQWKjbBTwYiKr4= github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.5 h1:WFYdcfkqQx3qsaY3MdPU/yASmLxRn0MUAW1wh/vskrg= diff --git a/deployment/go.mod b/deployment/go.mod index 5b0f3e843a8..5c944bea502 100644 --- a/deployment/go.mod +++ b/deployment/go.mod @@ -56,7 +56,7 @@ require ( github.com/smartcontractkit/chainlink-protos/orchestrator v0.10.0 github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7 github.com/smartcontractkit/chainlink-solana/contracts v0.0.0-20260217175957-8f1af02c5075 - github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 + github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.3 github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.5 diff --git a/deployment/go.sum b/deployment/go.sum index 7e008873f69..7c5faa6893b 100644 --- a/deployment/go.sum +++ b/deployment/go.sum @@ -1451,8 +1451,8 @@ github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7/go.mod h1:tHAxfvRGFtttKFw4YnMwRLgawWLNWVfPbL0Wl07wuP8= github.com/smartcontractkit/chainlink-solana/contracts v0.0.0-20260217175957-8f1af02c5075 h1:PcR7Zdh+Z+Dh/S4lQ1xDbnFrb6He70KW9O5+9DtgloE= github.com/smartcontractkit/chainlink-solana/contracts v0.0.0-20260217175957-8f1af02c5075/go.mod h1:APCV5fIW/a+JGM+Cz9yb6XyGt8ht5hISEYfpG/k4Z+k= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 h1:4mGJySR1GAJAAFRwEo6YiSKM2zSHzYT5b/FSmrpNUGI= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e h1:AmoHzSiCy8d9x6bgeoPPeemvTGmCoVTnAVtiP8D2izU= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 h1:5NdsaclAfx+p8lZUZ3WIqMW3M9Cze1ZVPENOQhha1pk= github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:IfeW6t5Yc5293H5ixuooAft+wYBMSFQWKjbBTwYiKr4= github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.3 h1:wMxGJzQrKF5J9Msmpeal1Iw3h4RqPwOZ2I1ZjlSqhZo= diff --git a/go.md b/go.md index 1fff207c3f9..ce026b84aeb 100644 --- a/go.md +++ b/go.md @@ -397,7 +397,7 @@ flowchart LR chainlink-sui --> chainlink-aptos chainlink-sui --> chainlink-ccip click chainlink-sui href "https://github.com/smartcontractkit/chainlink-sui" - chainlink-sui/deployment --> chainlink-deployments-framework + chainlink-sui/deployment --> chainlink-ccip/deployment chainlink-sui/deployment --> chainlink/v2 click chainlink-sui/deployment href "https://github.com/smartcontractkit/chainlink-sui" chainlink-testing-framework/framework --> chainlink-testing-framework/wasp diff --git a/go.mod b/go.mod index a2bfd6d5707..d660a568433 100644 --- a/go.mod +++ b/go.mod @@ -105,7 +105,7 @@ require ( github.com/smartcontractkit/chainlink-protos/storage-service v0.3.0 github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260217043601-5cc966896c4f github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7 - github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 + github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e github.com/smartcontractkit/chainlink-ton v0.0.0-20260318210736-c3f360fd19a8 github.com/smartcontractkit/cre-sdk-go v1.5.0 github.com/smartcontractkit/cre-sdk-go/capabilities/networking/http v1.3.0 diff --git a/go.sum b/go.sum index 90e6a40f131..33fbe50cf91 100644 --- a/go.sum +++ b/go.sum @@ -1291,8 +1291,8 @@ github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260217043601- github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260217043601-5cc966896c4f/go.mod h1:GTpDgyK0OObf7jpch6p8N281KxN92wbB8serZhU9yRc= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7 h1:XLMJ6FDQoEiqDNZ4B1MV9Vi1lL8vOfo9SzgqkM8IiuA= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7/go.mod h1:tHAxfvRGFtttKFw4YnMwRLgawWLNWVfPbL0Wl07wuP8= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 h1:4mGJySR1GAJAAFRwEo6YiSKM2zSHzYT5b/FSmrpNUGI= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e h1:AmoHzSiCy8d9x6bgeoPPeemvTGmCoVTnAVtiP8D2izU= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= github.com/smartcontractkit/chainlink-ton v0.0.0-20260318210736-c3f360fd19a8 h1:TAa3dDeNpkR263GdXiH1hKEBev1btXLxDPnhP6VfFDY= github.com/smartcontractkit/chainlink-ton v0.0.0-20260318210736-c3f360fd19a8/go.mod h1:xvvqQRZ0jlM++hn7DWs4eGH5F5hpjj3UQva5nfCoj94= github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20260218133534-cbd44da2856b h1:0XLtETkgkzwnEgUIIgyO/oydkUpzDVVuuFLf6aBeNPg= diff --git a/integration-tests/go.mod b/integration-tests/go.mod index b06923d0586..019882f5dcf 100644 --- a/integration-tests/go.mod +++ b/integration-tests/go.mod @@ -53,8 +53,8 @@ require ( github.com/smartcontractkit/chainlink-evm v0.3.4-0.20260320152158-2191d797b5ce github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20260119171452-39c98c3b33cd github.com/smartcontractkit/chainlink-protos/job-distributor v0.18.0 - github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 - github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 + github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e + github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260324212333-a62f88f2e99e github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.5 github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.7 github.com/smartcontractkit/chainlink-testing-framework/lib/grafana v1.51.0 diff --git a/integration-tests/go.sum b/integration-tests/go.sum index 8201c16deff..df7c47c9431 100644 --- a/integration-tests/go.sum +++ b/integration-tests/go.sum @@ -1688,10 +1688,10 @@ github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260217043601- github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260217043601-5cc966896c4f/go.mod h1:GTpDgyK0OObf7jpch6p8N281KxN92wbB8serZhU9yRc= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7 h1:XLMJ6FDQoEiqDNZ4B1MV9Vi1lL8vOfo9SzgqkM8IiuA= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7/go.mod h1:tHAxfvRGFtttKFw4YnMwRLgawWLNWVfPbL0Wl07wuP8= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 h1:4mGJySR1GAJAAFRwEo6YiSKM2zSHzYT5b/FSmrpNUGI= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= -github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 h1:5NdsaclAfx+p8lZUZ3WIqMW3M9Cze1ZVPENOQhha1pk= -github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:IfeW6t5Yc5293H5ixuooAft+wYBMSFQWKjbBTwYiKr4= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e h1:AmoHzSiCy8d9x6bgeoPPeemvTGmCoVTnAVtiP8D2izU= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= +github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260324212333-a62f88f2e99e h1:0TKD+8XMakAacysEszdUO+t9Ol9rHxzxvxus+j36Ets= +github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260324212333-a62f88f2e99e/go.mod h1:FLtEevHGNVZWFFxu3RLJ2QnKosr6varv2JWaoLtHh3g= github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.3 h1:wMxGJzQrKF5J9Msmpeal1Iw3h4RqPwOZ2I1ZjlSqhZo= github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.3/go.mod h1:BALK9cj8sk12e15UF6uDhifHgIApa+6N11TcQfInEro= github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.5 h1:S5HND0EDtlA+xp2E+mD11DlUTp2wD6uojwixye8ZB/k= diff --git a/integration-tests/load/go.mod b/integration-tests/load/go.mod index 58e172d9b07..3b1df8cc932 100644 --- a/integration-tests/load/go.mod +++ b/integration-tests/load/go.mod @@ -501,8 +501,8 @@ require ( github.com/smartcontractkit/chainlink-protos/svr v1.1.1-0.20260203131522-bb8bc5c423b3 // indirect github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260217043601-5cc966896c4f // indirect github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7 // indirect - github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 // indirect - github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 // indirect + github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e // indirect + github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260324212333-a62f88f2e99e // indirect github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.7 // indirect github.com/smartcontractkit/chainlink-testing-framework/lib/grafana v1.51.0 // indirect github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect diff --git a/integration-tests/load/go.sum b/integration-tests/load/go.sum index bf2007188ce..a5b58e82750 100644 --- a/integration-tests/load/go.sum +++ b/integration-tests/load/go.sum @@ -1658,10 +1658,10 @@ github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260217043601- github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260217043601-5cc966896c4f/go.mod h1:GTpDgyK0OObf7jpch6p8N281KxN92wbB8serZhU9yRc= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7 h1:XLMJ6FDQoEiqDNZ4B1MV9Vi1lL8vOfo9SzgqkM8IiuA= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7/go.mod h1:tHAxfvRGFtttKFw4YnMwRLgawWLNWVfPbL0Wl07wuP8= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 h1:4mGJySR1GAJAAFRwEo6YiSKM2zSHzYT5b/FSmrpNUGI= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= -github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 h1:5NdsaclAfx+p8lZUZ3WIqMW3M9Cze1ZVPENOQhha1pk= -github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:IfeW6t5Yc5293H5ixuooAft+wYBMSFQWKjbBTwYiKr4= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e h1:AmoHzSiCy8d9x6bgeoPPeemvTGmCoVTnAVtiP8D2izU= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= +github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260324212333-a62f88f2e99e h1:0TKD+8XMakAacysEszdUO+t9Ol9rHxzxvxus+j36Ets= +github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260324212333-a62f88f2e99e/go.mod h1:FLtEevHGNVZWFFxu3RLJ2QnKosr6varv2JWaoLtHh3g= github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.3 h1:wMxGJzQrKF5J9Msmpeal1Iw3h4RqPwOZ2I1ZjlSqhZo= github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.3/go.mod h1:BALK9cj8sk12e15UF6uDhifHgIApa+6N11TcQfInEro= github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.5 h1:S5HND0EDtlA+xp2E+mD11DlUTp2wD6uojwixye8ZB/k= diff --git a/integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go b/integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go index 3d77444f370..0e09981fc85 100644 --- a/integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go +++ b/integration-tests/smoke/ccip/ccip_sui_token_transfer_test.go @@ -1090,92 +1090,92 @@ func Test_CCIPTokenTransfer_Sui2EVM_ManagedTokenPool_ThenCurseUncurse(t *testing testhelpers.WaitForTokenBalances(ctx, t, updatedEnv, expectedTokenBalances) } -// func Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_NoRateLimit(t *testing.T) { -// e, sourceChain, destChain, deployerSourceChain, suiTokenBytes, suiAddr := testSetupHelperEvm2Sui(t) +func Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_NoRateLimit(t *testing.T) { + e, sourceChain, destChain, deployerSourceChain, suiTokenBytes, suiAddr := testSetupHelperEvm2Sui(t) -// state, err := stateview.LoadOnchainState(e.Env) -// require.NoError(t, err) + state, err := stateview.LoadOnchainState(e.Env) + require.NoError(t, err) -// // Token Pool setup on both SUI and EVM -// updatedEnv, evmToken, _, err := testhelpers.HandleTokenAndManagedTokenPoolDeploymentForSUI(e.Env, destChain, sourceChain, []testhelpers.TokenPoolRateLimiterConfig{ -// { -// RemoteChainSelector: sourceChain, -// OutboundIsEnabled: false, -// OutboundCapacity: 100000, -// OutboundRate: 100, -// InboundIsEnabled: false, -// InboundCapacity: 100000, -// InboundRate: 100, -// }, -// }) // sourceChain=EVM, destChain=SUI -// require.NoError(t, err) + // Token Pool setup on both SUI and EVM + updatedEnv, evmToken, _, err := testhelpers.HandleTokenAndManagedTokenPoolDeploymentForSUI(e.Env, destChain, sourceChain, []testhelpers.TokenPoolRateLimiterConfig{ + { + RemoteChainSelector: sourceChain, + OutboundIsEnabled: false, + OutboundCapacity: 100000, + OutboundRate: 100, + InboundIsEnabled: false, + InboundCapacity: 100000, + InboundRate: 100, + }, + }) // sourceChain=EVM, destChain=SUI + require.NoError(t, err) -// // update env to include deployed contracts -// e.Env = updatedEnv + // update env to include deployed contracts + e.Env = updatedEnv -// testhelpers.MintAndAllow( -// t, -// e.Env, -// state, -// map[uint64][]testhelpers.MintTokenInfo{ -// sourceChain: { -// testhelpers.NewMintTokenInfo(deployerSourceChain, evmToken), -// }, -// }, -// ) + testhelpers.MintAndAllow( + t, + e.Env, + state, + map[uint64][]testhelpers.MintTokenInfo{ + sourceChain: { + testhelpers.NewMintTokenInfo(deployerSourceChain, evmToken), + }, + }, + ) -// emptyReceiver := hexutil.MustDecode( -// "0x0000000000000000000000000000000000000000000000000000000000000000", // receiver packageID -// ) + emptyReceiver := hexutil.MustDecode( + "0x0000000000000000000000000000000000000000000000000000000000000000", // receiver packageID + ) -// tcs := []testhelpers.TestTransferRequest{ -// { -// Name: "Send token to EOA", -// SourceChain: sourceChain, -// DestChain: destChain, -// Receiver: emptyReceiver, -// TokenReceiverATA: suiAddr[:], // tokenReceiver extracted from extraArgs (the address that actually gets the token) -// ExpectedStatus: testhelpers.EXECUTION_STATE_SUCCESS, -// Tokens: []router.ClientEVMTokenAmount{ -// { -// Token: evmToken.Address(), -// Amount: big.NewInt(1e18), -// }, -// }, -// ExtraArgs: testhelpers.MakeSuiExtraArgs(0, true, [][32]byte{}, suiAddr), -// ExpectedTokenBalances: []testhelpers.ExpectedBalance{ -// { -// Token: suiTokenBytes, -// Amount: big.NewInt(1e9), -// }, -// }, -// }, -// } + tcs := []testhelpers.TestTransferRequest{ + { + Name: "Send token to EOA", + SourceChain: sourceChain, + DestChain: destChain, + Receiver: emptyReceiver, + TokenReceiverATA: suiAddr[:], // tokenReceiver extracted from extraArgs (the address that actually gets the token) + ExpectedStatus: testhelpers.EXECUTION_STATE_SUCCESS, + Tokens: []router.ClientEVMTokenAmount{ + { + Token: evmToken.Address(), + Amount: big.NewInt(1e18), + }, + }, + ExtraArgs: testhelpers.MakeSuiExtraArgs(0, true, [][32]byte{}, suiAddr), + ExpectedTokenBalances: []testhelpers.ExpectedBalance{ + { + Token: suiTokenBytes, + Amount: big.NewInt(1e9), + }, + }, + }, + } -// ctx := testhelpers.Context(t) -// startBlocks, expectedSeqNums, expectedExecutionStates, expectedTokenBalances := testhelpers.TransferMultiple(ctx, t, updatedEnv, state, tcs) + ctx := testhelpers.Context(t) + startBlocks, expectedSeqNums, expectedExecutionStates, expectedTokenBalances := testhelpers.TransferMultiple(ctx, t, updatedEnv, state, tcs) -// err = testhelpers.ConfirmMultipleCommits( -// t, -// updatedEnv, -// state, -// startBlocks, -// false, -// expectedSeqNums, -// ) -// require.NoError(t, err) + err = testhelpers.ConfirmMultipleCommits( + t, + updatedEnv, + state, + startBlocks, + false, + expectedSeqNums, + ) + require.NoError(t, err) -// execStates := testhelpers.ConfirmExecWithSeqNrsForAll( -// t, -// updatedEnv, -// state, -// testhelpers.SeqNumberRangeToSlice(expectedSeqNums), -// startBlocks, -// ) -// require.Equal(t, expectedExecutionStates, execStates) + execStates := testhelpers.ConfirmExecWithSeqNrsForAll( + t, + updatedEnv, + state, + testhelpers.SeqNumberRangeToSlice(expectedSeqNums), + startBlocks, + ) + require.Equal(t, expectedExecutionStates, execStates) -// testhelpers.WaitForTokenBalances(ctx, t, updatedEnv, expectedTokenBalances) -// } + testhelpers.WaitForTokenBalances(ctx, t, updatedEnv, expectedTokenBalances) +} func Test_CCIPTokenTransfer_SUI2EVM_ManagedTokenPool_WithRateLimit(t *testing.T) { e, sourceChain, destChain := testSetupTokenTransferSui2Evm(t) @@ -1280,117 +1280,117 @@ func Test_CCIPTokenTransfer_SUI2EVM_ManagedTokenPool_WithRateLimit(t *testing.T) }) } -// func Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_WithRateLimit(t *testing.T) { -// e, sourceChain, destChain, deployerSourceChain, suiTokenBytes, suiAddr := testSetupHelperEvm2Sui(t) +func Test_CCIPTokenTransfer_EVM2SUI_ManagedTokenPool_WithRateLimit(t *testing.T) { + e, sourceChain, destChain, deployerSourceChain, suiTokenBytes, suiAddr := testSetupHelperEvm2Sui(t) -// // Token Pool setup on both SUI and EVM -// updatedEnv, evmToken, _, err := testhelpers.HandleTokenAndManagedTokenPoolDeploymentForSUI(e.Env, destChain, sourceChain, []testhelpers.TokenPoolRateLimiterConfig{ -// { -// RemoteChainSelector: sourceChain, -// OutboundIsEnabled: true, -// OutboundCapacity: 100000, -// OutboundRate: 100, -// InboundIsEnabled: true, -// InboundCapacity: 2000000000, -// InboundRate: 100000, -// }, -// }) // sourceChain=EVM, destChain=SUI -// require.NoError(t, err) + // Token Pool setup on both SUI and EVM + updatedEnv, evmToken, _, err := testhelpers.HandleTokenAndManagedTokenPoolDeploymentForSUI(e.Env, destChain, sourceChain, []testhelpers.TokenPoolRateLimiterConfig{ + { + RemoteChainSelector: sourceChain, + OutboundIsEnabled: true, + OutboundCapacity: 100000, + OutboundRate: 100, + InboundIsEnabled: true, + InboundCapacity: 2000000000, + InboundRate: 100000, + }, + }) // sourceChain=EVM, destChain=SUI + require.NoError(t, err) -// // update env to include deployed contracts -// e.Env = updatedEnv + // update env to include deployed contracts + e.Env = updatedEnv -// state, err := stateview.LoadOnchainState(e.Env) -// require.NoError(t, err) + state, err := stateview.LoadOnchainState(e.Env) + require.NoError(t, err) -// testhelpers.MintAndAllow( -// t, -// e.Env, -// state, -// map[uint64][]testhelpers.MintTokenInfo{ -// sourceChain: { -// testhelpers.NewMintTokenInfo(deployerSourceChain, evmToken), -// }, -// }, -// ) + testhelpers.MintAndAllow( + t, + e.Env, + state, + map[uint64][]testhelpers.MintTokenInfo{ + sourceChain: { + testhelpers.NewMintTokenInfo(deployerSourceChain, evmToken), + }, + }, + ) -// emptyReceiver := hexutil.MustDecode( -// "0x0000000000000000000000000000000000000000000000000000000000000000", // receiver packageID -// ) + emptyReceiver := hexutil.MustDecode( + "0x0000000000000000000000000000000000000000000000000000000000000000", // receiver packageID + ) -// tcs := []testhelpers.TestTransferRequest{ -// { -// Name: "Send token to EOA", -// SourceChain: sourceChain, -// DestChain: destChain, -// Receiver: emptyReceiver, -// TokenReceiverATA: suiAddr[:], // tokenReceiver extracted from extraArgs (the address that actually gets the token) -// ExpectedStatus: testhelpers.EXECUTION_STATE_SUCCESS, -// Tokens: []router.ClientEVMTokenAmount{ -// { -// Token: evmToken.Address(), -// Amount: big.NewInt(1e18), -// }, -// }, -// ExtraArgs: testhelpers.MakeSuiExtraArgs(0, true, [][32]byte{}, suiAddr), -// ExpectedTokenBalances: []testhelpers.ExpectedBalance{ -// { -// Token: suiTokenBytes, -// Amount: big.NewInt(1e9), -// }, -// }, -// }, -// } + tcs := []testhelpers.TestTransferRequest{ + { + Name: "Send token to EOA", + SourceChain: sourceChain, + DestChain: destChain, + Receiver: emptyReceiver, + TokenReceiverATA: suiAddr[:], // tokenReceiver extracted from extraArgs (the address that actually gets the token) + ExpectedStatus: testhelpers.EXECUTION_STATE_SUCCESS, + Tokens: []router.ClientEVMTokenAmount{ + { + Token: evmToken.Address(), + Amount: big.NewInt(1e18), + }, + }, + ExtraArgs: testhelpers.MakeSuiExtraArgs(0, true, [][32]byte{}, suiAddr), + ExpectedTokenBalances: []testhelpers.ExpectedBalance{ + { + Token: suiTokenBytes, + Amount: big.NewInt(1e9), + }, + }, + }, + } -// ctx := testhelpers.Context(t) -// startBlocks, expectedSeqNums, expectedExecutionStates, expectedTokenBalances := testhelpers.TransferMultiple(ctx, t, e.Env, state, tcs) + ctx := testhelpers.Context(t) + startBlocks, expectedSeqNums, expectedExecutionStates, expectedTokenBalances := testhelpers.TransferMultiple(ctx, t, e.Env, state, tcs) -// err = testhelpers.ConfirmMultipleCommits( -// t, -// e.Env, -// state, -// startBlocks, -// false, -// expectedSeqNums, -// ) -// require.NoError(t, err) + err = testhelpers.ConfirmMultipleCommits( + t, + e.Env, + state, + startBlocks, + false, + expectedSeqNums, + ) + require.NoError(t, err) -// execStates := testhelpers.ConfirmExecWithSeqNrsForAll( -// t, -// e.Env, -// state, -// testhelpers.SeqNumberRangeToSlice(expectedSeqNums), -// startBlocks, -// ) -// require.Equal(t, expectedExecutionStates, execStates) + execStates := testhelpers.ConfirmExecWithSeqNrsForAll( + t, + e.Env, + state, + testhelpers.SeqNumberRangeToSlice(expectedSeqNums), + startBlocks, + ) + require.Equal(t, expectedExecutionStates, execStates) -// testhelpers.WaitForTokenBalances(ctx, t, e.Env, expectedTokenBalances) + testhelpers.WaitForTokenBalances(ctx, t, e.Env, expectedTokenBalances) -// t.Run("Send tokens exceeding Sui's inbound rate limit - should fail", func(t *testing.T) { -// msg := router.ClientEVM2AnyMessage{ -// FeeToken: evmToken.Address(), -// Receiver: emptyReceiver, -// ExtraArgs: testhelpers.MakeSuiExtraArgs(0, true, [][32]byte{}, suiAddr), -// TokenAmounts: []router.ClientEVMTokenAmount{ -// { -// Token: evmToken.Address(), -// Amount: big.NewInt(5e18), // send 5 LINK -// }, -// }} - -// baseOpts := []ccipclient.SendReqOpts{ -// ccipclient.WithSourceChain(sourceChain), -// ccipclient.WithDestChain(destChain), -// ccipclient.WithTestRouter(false), -// ccipclient.WithMessage(msg), -// } - -// _, err := testhelpers.SendRequest(e.Env, state, baseOpts...) -// require.Error(t, err) -// require.Contains(t, err.Error(), "execution reverted") -// t.Log("Expected error: ", err) -// }) -// } + t.Run("Send tokens exceeding Sui's inbound rate limit - should fail", func(t *testing.T) { + msg := router.ClientEVM2AnyMessage{ + FeeToken: evmToken.Address(), + Receiver: emptyReceiver, + ExtraArgs: testhelpers.MakeSuiExtraArgs(0, true, [][32]byte{}, suiAddr), + TokenAmounts: []router.ClientEVMTokenAmount{ + { + Token: evmToken.Address(), + Amount: big.NewInt(5e18), // send 5 LINK + }, + }} + + baseOpts := []ccipclient.SendReqOpts{ + ccipclient.WithSourceChain(sourceChain), + ccipclient.WithDestChain(destChain), + ccipclient.WithTestRouter(false), + ccipclient.WithMessage(msg), + } + + _, err := testhelpers.SendRequest(e.Env, state, baseOpts...) + require.Error(t, err) + require.Contains(t, err.Error(), "execution reverted") + t.Log("Expected error: ", err) + }) +} func Test_CCIPTokenTransfer_EVM2SUI_BurnMintTokenPool(t *testing.T) { e, sourceChain, destChain, deployerSourceChain, suiTokenBytes, suiAddr := testSetupHelperEvm2Sui(t) diff --git a/integration-tests/smoke/ccip/ccip_sui_upgrade_test.go b/integration-tests/smoke/ccip/ccip_sui_upgrade_test.go index 0471d8a099e..8bec6bb26f4 100644 --- a/integration-tests/smoke/ccip/ccip_sui_upgrade_test.go +++ b/integration-tests/smoke/ccip/ccip_sui_upgrade_test.go @@ -574,10 +574,11 @@ func upgradeSuiOffRamp(ctx context.Context, t *testing.T, e testhelpers.Deployed "mcms": state.SuiChains[sourceChain].MCMSPackageID, "mcms_owner": "0x1", - "latest_ccip_pkg": state.SuiChains[sourceChain].CCIPMockV2PackageId, - "original_offramp_pkg": state.SuiChains[sourceChain].OffRampAddress, - "upgrade_cap": state.SuiChains[sourceChain].OffRampUpgradeCapId, - "signer": signerAddr, + "latest_ccip_pkg": state.SuiChains[sourceChain].CCIPMockV2PackageId, + "original_ccip_offramp_pkg": state.SuiChains[sourceChain].OffRampAddress, + "original_offramp_pkg": state.SuiChains[sourceChain].OffRampAddress, + "upgrade_cap": state.SuiChains[sourceChain].OffRampUpgradeCapId, + "signer": signerAddr, }, true, suiChain.URL) require.NoError(t, err) @@ -731,7 +732,7 @@ func upgradeCCIP(ctx context.Context, t *testing.T, e testhelpers.DeployedEnv, s }) require.NoError(t, err) - require.Equal(t, "FeeQuoter 1.6.1", typeAndVersion) + require.Equal(t, "FeeQuoter 1.6.2", typeAndVersion) // save the new pkgId to addressbook typeAndVersionCCIPMockV2 := cldf.NewTypeAndVersion(deployment.SuiCCIPMockV2, deployment.Version1_0_0) diff --git a/plugins/plugins.public.yaml b/plugins/plugins.public.yaml index e0b53817230..0dccf2830eb 100644 --- a/plugins/plugins.public.yaml +++ b/plugins/plugins.public.yaml @@ -17,7 +17,7 @@ plugins: - moduleURI: "github.com/smartcontractkit/chainlink-sui" # IMP: consult chainlink-sui team before updating this version # current version is v0.0.0-20260303203615-9d8cc32a70e7 - gitRef: "v0.0.0-20260304150206-c64e48eb0cb0" + gitRef: "v0.0.0-20260324212333-a62f88f2e99e" installPath: "./relayer/cmd/chainlink-sui" cosmos: diff --git a/system-tests/lib/go.mod b/system-tests/lib/go.mod index dffa938c526..d70b2ed317f 100644 --- a/system-tests/lib/go.mod +++ b/system-tests/lib/go.mod @@ -477,7 +477,7 @@ require ( github.com/smartcontractkit/chainlink-protos/storage-service v0.3.0 // indirect github.com/smartcontractkit/chainlink-protos/svr v1.1.1-0.20260203131522-bb8bc5c423b3 // indirect github.com/smartcontractkit/chainlink-solana/contracts v0.0.0-20260217175957-8f1af02c5075 // indirect - github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 // indirect + github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e // indirect github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 // indirect github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect github.com/smartcontractkit/chainlink-ton v0.0.0-20260318210736-c3f360fd19a8 // indirect diff --git a/system-tests/lib/go.sum b/system-tests/lib/go.sum index 37990b09e51..84572ac6c4d 100644 --- a/system-tests/lib/go.sum +++ b/system-tests/lib/go.sum @@ -1665,8 +1665,8 @@ github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7/go.mod h1:tHAxfvRGFtttKFw4YnMwRLgawWLNWVfPbL0Wl07wuP8= github.com/smartcontractkit/chainlink-solana/contracts v0.0.0-20260217175957-8f1af02c5075 h1:PcR7Zdh+Z+Dh/S4lQ1xDbnFrb6He70KW9O5+9DtgloE= github.com/smartcontractkit/chainlink-solana/contracts v0.0.0-20260217175957-8f1af02c5075/go.mod h1:APCV5fIW/a+JGM+Cz9yb6XyGt8ht5hISEYfpG/k4Z+k= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 h1:4mGJySR1GAJAAFRwEo6YiSKM2zSHzYT5b/FSmrpNUGI= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e h1:AmoHzSiCy8d9x6bgeoPPeemvTGmCoVTnAVtiP8D2izU= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 h1:5NdsaclAfx+p8lZUZ3WIqMW3M9Cze1ZVPENOQhha1pk= github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:IfeW6t5Yc5293H5ixuooAft+wYBMSFQWKjbBTwYiKr4= github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.5 h1:WFYdcfkqQx3qsaY3MdPU/yASmLxRn0MUAW1wh/vskrg= diff --git a/system-tests/tests/go.mod b/system-tests/tests/go.mod index c57054ecabf..b8e14c0559d 100644 --- a/system-tests/tests/go.mod +++ b/system-tests/tests/go.mod @@ -598,7 +598,7 @@ require ( github.com/smartcontractkit/chainlink-protos/rmn/v1.6/go v0.0.0-20250131130834-15e0d4cde2a6 // indirect github.com/smartcontractkit/chainlink-protos/storage-service v0.3.0 // indirect github.com/smartcontractkit/chainlink-protos/svr v1.1.1-0.20260203131522-bb8bc5c423b3 // indirect - github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 // indirect + github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e // indirect github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 // indirect github.com/smartcontractkit/chainlink-testing-framework/framework/components/dockercompose v0.1.18 github.com/smartcontractkit/chainlink-testing-framework/lib/grafana v1.50.0 // indirect diff --git a/system-tests/tests/go.sum b/system-tests/tests/go.sum index 29d9a8ace38..b6458dba6c4 100644 --- a/system-tests/tests/go.sum +++ b/system-tests/tests/go.sum @@ -1849,8 +1849,8 @@ github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260320011913-f2205f8506c7/go.mod h1:tHAxfvRGFtttKFw4YnMwRLgawWLNWVfPbL0Wl07wuP8= github.com/smartcontractkit/chainlink-solana/contracts v0.0.0-20260217175957-8f1af02c5075 h1:PcR7Zdh+Z+Dh/S4lQ1xDbnFrb6He70KW9O5+9DtgloE= github.com/smartcontractkit/chainlink-solana/contracts v0.0.0-20260217175957-8f1af02c5075/go.mod h1:APCV5fIW/a+JGM+Cz9yb6XyGt8ht5hISEYfpG/k4Z+k= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0 h1:4mGJySR1GAJAAFRwEo6YiSKM2zSHzYT5b/FSmrpNUGI= -github.com/smartcontractkit/chainlink-sui v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e h1:AmoHzSiCy8d9x6bgeoPPeemvTGmCoVTnAVtiP8D2izU= +github.com/smartcontractkit/chainlink-sui v0.0.0-20260324212333-a62f88f2e99e/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 h1:5NdsaclAfx+p8lZUZ3WIqMW3M9Cze1ZVPENOQhha1pk= github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:IfeW6t5Yc5293H5ixuooAft+wYBMSFQWKjbBTwYiKr4= github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.5 h1:WFYdcfkqQx3qsaY3MdPU/yASmLxRn0MUAW1wh/vskrg=