From 3611acb4ac5095a0e5eb4ae8a03afdfc9dd22a55 Mon Sep 17 00:00:00 2001 From: Joao Vasques Date: Mon, 14 Jul 2025 12:44:45 +0200 Subject: [PATCH 01/11] Update references to chainwriter to use the new config package --- .../changeset/testhelpers/test_helpers.go | 9 +++--- .../changeset/testhelpers/test_sui_helpers.go | 30 +++++++++---------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/deployment/ccip/changeset/testhelpers/test_helpers.go b/deployment/ccip/changeset/testhelpers/test_helpers.go index 251dcf27624..f1e2f3881bd 100644 --- a/deployment/ccip/changeset/testhelpers/test_helpers.go +++ b/deployment/ccip/changeset/testhelpers/test_helpers.go @@ -91,12 +91,13 @@ import ( sui_ops "github.com/smartcontractkit/chainlink-sui/ops" lockreleasetokenpoolops "github.com/smartcontractkit/chainlink-sui/ops/ccip_lock_release_token_pool" + chainwriter "github.com/smartcontractkit/chainlink-sui/relayer/chainwriter" + cwConfig "github.com/smartcontractkit/chainlink-sui/relayer/chainwriter/config" rel "github.com/smartcontractkit/chainlink-sui/relayer/signer" suideps "github.com/smartcontractkit/chainlink/deployment/ccip/changeset/sui" sui_query "github.com/smartcontractkit/chainlink-common/pkg/types/query" "github.com/smartcontractkit/chainlink-sui/relayer/chainreader" - "github.com/smartcontractkit/chainlink-sui/relayer/chainwriter" "github.com/smartcontractkit/chainlink-sui/relayer/keystore" chain_reader_types "github.com/smartcontractkit/chainlink-common/pkg/types" @@ -1064,7 +1065,7 @@ func SendSuiRequestViaChainWriter(e cldf.Environment, cfg *CCIPSendReqConfig) (* var ( LockReleaseTP string LockReleaseState string - ptbArgs chainwriter.Arguments + ptbArgs cwConfig.Arguments ) if len(msg.TokenAmounts) > 0 { // Build PTB for token transfer @@ -1110,7 +1111,7 @@ func SendSuiRequestViaChainWriter(e cldf.Environment, cfg *CCIPSendReqConfig) (* return &AnyMsgSentEvent{}, fmt.Errorf("Failed to create SuiTxm: %v", err) } - var chainWriterConfig chainwriter.ChainWriterConfig + var chainWriterConfig cwConfig.ChainWriterConfig if LockReleaseTP != "" { chainWriterConfig = configureChainWriterForMultipleTokens(ccipPackageId, onRampPackageId, publicKeyBytes, LockReleaseTP) } else { @@ -1133,7 +1134,7 @@ func SendSuiRequestViaChainWriter(e cldf.Environment, cfg *CCIPSendReqConfig) (* txId := "ccip_send_test_arb_msg" err = chainWriter.SubmitTransaction(ctx, - chainwriter.PTBChainWriterModuleName, + cwConfig.PTBChainWriterModuleName, "ccip_send", &ptbArgs, txId, diff --git a/deployment/ccip/changeset/testhelpers/test_sui_helpers.go b/deployment/ccip/changeset/testhelpers/test_sui_helpers.go index d0c75831110..008b70df99c 100644 --- a/deployment/ccip/changeset/testhelpers/test_sui_helpers.go +++ b/deployment/ccip/changeset/testhelpers/test_sui_helpers.go @@ -6,7 +6,7 @@ import ( cldf "github.com/smartcontractkit/chainlink-deployments-framework/deployment" sui_bind "github.com/smartcontractkit/chainlink-sui/bindings/bind" sui_ops "github.com/smartcontractkit/chainlink-sui/ops" - "github.com/smartcontractkit/chainlink-sui/relayer/chainwriter" + cwConfig "github.com/smartcontractkit/chainlink-sui/relayer/chainwriter/config" suicodec "github.com/smartcontractkit/chainlink-sui/relayer/codec" rel "github.com/smartcontractkit/chainlink-sui/relayer/signer" "github.com/smartcontractkit/chainlink-sui/relayer/testutils" @@ -96,10 +96,10 @@ func NewSuiCtx(e cldf.Environment, src uint64) (*suiCtx, error) { func baseCCIPConfig( ccipPkg string, pubKey []byte, - extra []chainwriter.ChainWriterPTBCommand, -) chainwriter.ChainWriterConfig { + extra []cwConfig.ChainWriterPTBCommand, +) cwConfig.ChainWriterConfig { // common PTB command 0: create_token_params - cmds := []chainwriter.ChainWriterPTBCommand{{ + cmds := []cwConfig.ChainWriterPTBCommand{{ Type: suicodec.SuiPTBCommandMoveCall, PackageId: strPtr(ccipPkg), ModuleId: strPtr("dynamic_dispatcher"), @@ -113,12 +113,12 @@ func baseCCIPConfig( // append the variant commands cmds = append(cmds, extra...) - return chainwriter.ChainWriterConfig{ - Modules: map[string]*chainwriter.ChainWriterModule{ - chainwriter.PTBChainWriterModuleName: { - Name: chainwriter.PTBChainWriterModuleName, + return cwConfig.ChainWriterConfig{ + Modules: map[string]*cwConfig.ChainWriterModule{ + cwConfig.PTBChainWriterModuleName: { + Name: cwConfig.PTBChainWriterModuleName, ModuleID: "0x123", - Functions: map[string]*chainwriter.ChainWriterFunction{ + Functions: map[string]*cwConfig.ChainWriterFunction{ "ccip_send": { Name: "ccip_send", PublicKey: pubKey, @@ -135,8 +135,8 @@ func baseCCIPConfig( func configureChainWriterForMsg( ccipPkg, onRampPkg string, pubKey []byte, -) chainwriter.ChainWriterConfig { - extra := []chainwriter.ChainWriterPTBCommand{{ +) cwConfig.ChainWriterConfig { + extra := []cwConfig.ChainWriterPTBCommand{{ Type: suicodec.SuiPTBCommandMoveCall, PackageId: strPtr(onRampPkg), ModuleId: strPtr("onramp"), @@ -162,8 +162,8 @@ func configureChainWriterForMultipleTokens( ccipPkg, onRampPkg string, pubKey []byte, lockReleaseTokenPool string, -) chainwriter.ChainWriterConfig { - extra := []chainwriter.ChainWriterPTBCommand{ +) cwConfig.ChainWriterConfig { + extra := []cwConfig.ChainWriterPTBCommand{ // lock-or-burn command { Type: suicodec.SuiPTBCommandMoveCall, @@ -202,7 +202,7 @@ func configureChainWriterForMultipleTokens( return baseCCIPConfig(ccipPkg, pubKey, extra) } -func buildPTBArgs(baseArgs map[string]any, coinType string, extraArgs map[string]any) chainwriter.Arguments { +func buildPTBArgs(baseArgs map[string]any, coinType string, extraArgs map[string]any) cwConfig.Arguments { args := make(map[string]any, len(baseArgs)+len(extraArgs)) for k, v := range baseArgs { args[k] = v @@ -218,7 +218,7 @@ func buildPTBArgs(baseArgs map[string]any, coinType string, extraArgs map[string argTypes["c"] = coinType } - return chainwriter.Arguments{ + return cwConfig.Arguments{ Args: args, ArgTypes: argTypes, } From a6e5560c4d7364bebd7e9dcad7f9023916926fdb Mon Sep 17 00:00:00 2001 From: Joao Vasques Date: Tue, 15 Jul 2025 12:45:50 +0200 Subject: [PATCH 02/11] add prompt for AI agent to help on integration tests --- .ai/agent-integration-tests-prompt.md | 74 +++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 .ai/agent-integration-tests-prompt.md diff --git a/.ai/agent-integration-tests-prompt.md b/.ai/agent-integration-tests-prompt.md new file mode 100644 index 00000000000..146b82c646e --- /dev/null +++ b/.ai/agent-integration-tests-prompt.md @@ -0,0 +1,74 @@ +🧠 Cursor Agent Prompt: Chainlink CCIP Integration Test Troubleshooting Specialist + +You are a highly specialized debugging agent focused on Chainlink CCIP (Cross-Chain Interoperability Protocol) integration tests. Your job is to analyze failures by reading log files and understanding the expected behavior of end-to-end test scenarios that involve OCR-based commit and exec phases. + +🎯 Your Mission + +Given: + • A description of the failing test case (i.e., what it is trying to validate). + • One or more log files or output segments from a test run. + • (Optional) snippets of the test code or configuration. + +Your task is to: + 1. Identify what went wrong, where, and when. + 2. Understand how OCR commit and exec phases behaved in the logs. + 3. Determine if the issue is due to off-chain reporting, on-chain contract interaction, timing/messaging issues, or environment/config errors. + 4. Recommend concrete next steps toward resolution. + +⸻ + +🧬 Background Knowledge: Chainlink CCIP Context + • CCIP enables secure cross-chain messaging and token transfers. + • Each successful CCIP message involves: + 1. A commit phase handled via OCR (Off-chain Reporting) where validators observe and reach consensus on the event. + 2. An exec phase, also handled via OCR, which is responsible for executing the delivery of the message on the destination chain. + • Tests typically spin up simulated source and destination chains, with mock tokens, on-chain routers, and OCR processes running in Docker or in-memory environments. + • Failures might result from: + • OCR misconfigurations or timeouts + • Transaction reverts on either chain + • Race conditions between chains + • Gossip protocol delays or failures + • Contract state mismatches + +⸻ + +🧪 Integration Test Context You May Encounter + +Example test goals: + • Sending a token/message from Chain A to Chain B. + • Verifying that the commit report was accepted on Chain A. + • Verifying that the exec report was submitted and processed on Chain B. + • Ensuring proper delivery of tokens or messages at the destination. + +⸻ + +🛠️ Expected Agent Response Format + +🔍 **Issue Summary**: + + +📚 **Test Case Goal**: + + +🧩 **Relevant Log Events**: +- [timestamp] [component] message +- [timestamp] ocr2.commit: Aggregated report with digest ... +- [timestamp] ocr2.exec: Transaction failed with revert reason ... +- ... + +🧠 **Root Cause Analysis**: + + +🛠️ **Recommended Next Steps**: + + +❓ **If Inconclusive**: + + + +📝 Additional Instructions + • Favor signal over noise—summarize logs, don’t repeat them verbatim unless essential. + • Cross-reference OCR phase logs with test intentions to catch phase-specific failures (e.g., commit success but exec failed). + • Be strict about temporal ordering of events—many bugs are time-sensitive. + • If OCR rounds are involved, verify if consensus was reached and correctly propagated on-chain. + • Surface revert reasons, gas estimation errors, or unexpected nil pointers if visible in logs. From 9222ce12b03967339d436634cdf2d505bf486b48 Mon Sep 17 00:00:00 2001 From: faisal-link Date: Tue, 15 Jul 2025 15:53:30 +0400 Subject: [PATCH 03/11] use arm image by default in Sui --- deployment/environment/memory/sui_chains.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deployment/environment/memory/sui_chains.go b/deployment/environment/memory/sui_chains.go index d7b41cec8cc..a7bcbfb3032 100644 --- a/deployment/environment/memory/sui_chains.go +++ b/deployment/environment/memory/sui_chains.go @@ -74,9 +74,11 @@ func suiChain(t *testing.T, chainID string) (string, string, ed25519.PrivateKey, // reserve all the ports we need explicitly to avoid port conflicts in other tests ports := freeport.GetN(t, 2) + imagePlatform := "linux/arm64/v8" bcInput := &blockchain.Input{ - Image: "", // filled out by defaultSui function - Type: "sui", + Image: "mysten/sui-tools:devnet-arm64", // filled out by defaultSui function + ImagePlatform: &imagePlatform, + Type: "sui", // TODO: this is unused, can it be applied? ChainID: chainID, CustomPorts: []string{fmt.Sprintf("%d:8080", ports[0]), fmt.Sprintf("%d:8081", ports[1])}, From 5096c60a17166a8cec1769840eb3bf7df641a4f4 Mon Sep 17 00:00:00 2001 From: faisal-link Date: Tue, 15 Jul 2025 19:31:00 +0400 Subject: [PATCH 04/11] update private gitRef for Sui relayer --- .../ccip/configs/sui/contract_reader.go | 8 ++++---- .../ccip/changeset/testhelpers/test_helpers.go | 13 +++++++------ plugins/plugins.private.yaml | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/core/capabilities/ccip/configs/sui/contract_reader.go b/core/capabilities/ccip/configs/sui/contract_reader.go index 4d8c32cfc01..6019f8ce194 100644 --- a/core/capabilities/ccip/configs/sui/contract_reader.go +++ b/core/capabilities/ccip/configs/sui/contract_reader.go @@ -6,7 +6,7 @@ import ( "time" "github.com/smartcontractkit/chainlink-ccip/pkg/consts" - "github.com/smartcontractkit/chainlink-sui/relayer/chainreader" + chainreaderConfig "github.com/smartcontractkit/chainlink-sui/relayer/chainreader/config" "github.com/smartcontractkit/chainlink-sui/relayer/client" "github.com/smartcontractkit/chainlink-sui/relayer/codec" "github.com/smartcontractkit/chainlink/v2/core/services/keystore/keys/suikey" @@ -111,7 +111,7 @@ func GetChainReaderConfig(pubKeyStr string) (map[string]any, error) { }, "offramp": map[string]any{ "Name": "offramp", - "Functions": map[string]*chainreader.ChainReaderFunction{ + "Functions": map[string]*chainreaderConfig.ChainReaderFunction{ consts.MethodNameOffRampLatestConfigDetails: { Name: "latest_config_details", SignerAddress: fromAddress, @@ -314,7 +314,7 @@ func GetChainReaderConfig(pubKeyStr string) (map[string]any, error) { }, "OnRamp": map[string]any{ "Name": "onramp", - "Functions": map[string]*chainreader.ChainReaderFunction{ + "Functions": map[string]*chainreaderConfig.ChainReaderFunction{ "OnRampGetDynamicConfig": { Name: "get_dynamic_config", SignerAddress: fromAddress, @@ -375,7 +375,7 @@ func GetChainReaderConfig(pubKeyStr string) (map[string]any, error) { }, }, }, - "Events": map[string]*chainreader.ChainReaderEvent{ + "Events": map[string]*chainreaderConfig.ChainReaderEvent{ "CCIPMessageSent": { Name: "CCIPMessageSent", EventType: "CCIPMessageSent", diff --git a/deployment/ccip/changeset/testhelpers/test_helpers.go b/deployment/ccip/changeset/testhelpers/test_helpers.go index f1e2f3881bd..2493e971fd2 100644 --- a/deployment/ccip/changeset/testhelpers/test_helpers.go +++ b/deployment/ccip/changeset/testhelpers/test_helpers.go @@ -97,7 +97,8 @@ import ( suideps "github.com/smartcontractkit/chainlink/deployment/ccip/changeset/sui" sui_query "github.com/smartcontractkit/chainlink-common/pkg/types/query" - "github.com/smartcontractkit/chainlink-sui/relayer/chainreader" + chainreaderConfig "github.com/smartcontractkit/chainlink-sui/relayer/chainreader/config" + chainreader "github.com/smartcontractkit/chainlink-sui/relayer/chainreader/reader" "github.com/smartcontractkit/chainlink-sui/relayer/keystore" chain_reader_types "github.com/smartcontractkit/chainlink-common/pkg/types" @@ -1159,20 +1160,20 @@ func SendSuiRequestViaChainWriter(e cldf.Environment, cfg *CCIPSendReqConfig) (* chainWriter.Close() // Query the CCIPSend Event via chainReader - chainReaderConfig := chainreader.ChainReaderConfig{ + chainReaderConfig := chainreaderConfig.ChainReaderConfig{ IsLoopPlugin: false, - EventsIndexer: chainreader.EventsIndexerConfig{ + EventsIndexer: chainreaderConfig.EventsIndexerConfig{ PollingInterval: 10 * time.Second, SyncTimeout: 10 * time.Second, }, - TransactionsIndexer: chainreader.TransactionsIndexerConfig{ + TransactionsIndexer: chainreaderConfig.TransactionsIndexerConfig{ PollingInterval: 10 * time.Second, SyncTimeout: 10 * time.Second, }, - Modules: map[string]*chainreader.ChainReaderModule{ + Modules: map[string]*chainreaderConfig.ChainReaderModule{ "onramp": { Name: "onramp", - Events: map[string]*chainreader.ChainReaderEvent{ + Events: map[string]*chainreaderConfig.ChainReaderEvent{ "CCIPMessageSent": { Name: "CCIPMessageSent", EventType: "CCIPMessageSent", diff --git a/plugins/plugins.private.yaml b/plugins/plugins.private.yaml index c8c90466735..d729243aed0 100644 --- a/plugins/plugins.private.yaml +++ b/plugins/plugins.private.yaml @@ -10,7 +10,7 @@ defaults: plugins: sui: - moduleURI: "github.com/smartcontractkit/chainlink-sui" - gitRef: "8e588ade17f77a025b7df7175b8516ee21a20933" + gitRef: "bc26efd744dfaf2e717e69a52da80051f1d19589" installPath: "github.com/smartcontractkit/chainlink-sui/relayer/cmd/chainlink-sui" cron: - moduleURI: "github.com/smartcontractkit/capabilities/cron" From 4ae8f812cbcb7c350c7e746f2675d80e43f76f60 Mon Sep 17 00:00:00 2001 From: faisal-link Date: Tue, 15 Jul 2025 19:31:22 +0400 Subject: [PATCH 05/11] go mod tidy --- core/scripts/go.mod | 12 ++++++------ core/scripts/go.sum | 18 ++++++++---------- deployment/go.mod | 14 +++++++------- deployment/go.sum | 16 ++++++++-------- go.mod | 2 +- go.sum | 2 -- integration-tests/go.mod | 14 +++++++------- integration-tests/go.sum | 18 ++++++++---------- integration-tests/load/go.mod | 12 ++++++------ integration-tests/load/go.sum | 18 ++++++++---------- system-tests/lib/go.mod | 10 +++++----- system-tests/lib/go.sum | 18 ++++++++---------- system-tests/tests/go.mod | 10 +++++----- system-tests/tests/go.sum | 3 +++ 14 files changed, 80 insertions(+), 87 deletions(-) diff --git a/core/scripts/go.mod b/core/scripts/go.mod index 9f2c6f0d73f..c3d4f295ed2 100644 --- a/core/scripts/go.mod +++ b/core/scripts/go.mod @@ -9,7 +9,7 @@ replace github.com/smartcontractkit/chainlink/v2 => ../../ replace github.com/smartcontractkit/chainlink/system-tests/lib => ../../system-tests/lib -// replace github.com/smartcontractkit/chainlink-sui => ../../../chainlink-sui +replace github.com/smartcontractkit/chainlink-sui => ../../../chainlink-sui // replace github.com/smartcontractkit/chainlink-deployments-framework => ../../../chainlink-deployments-framework @@ -22,7 +22,7 @@ require ( require ( github.com/BurntSushi/toml v1.4.0 - github.com/Masterminds/semver/v3 v3.3.1 + github.com/Masterminds/semver/v3 v3.4.0 github.com/docker/docker v28.0.4+incompatible github.com/docker/go-connections v0.5.0 github.com/ethereum/go-ethereum v1.15.11 @@ -36,7 +36,7 @@ require ( github.com/manyminds/api2go v0.0.0-20171030193247-e7b693844a6f github.com/montanaflynn/stats v0.7.1 github.com/olekukonko/tablewriter v0.0.5 - github.com/pelletier/go-toml/v2 v2.2.3 + github.com/pelletier/go-toml/v2 v2.2.4 github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.22.0 github.com/rs/zerolog v1.33.0 @@ -47,9 +47,9 @@ require ( github.com/smartcontractkit/chainlink-common v0.7.1-0.20250710062234-1e64a19122f6 github.com/smartcontractkit/chainlink-common/pkg/values v0.0.0-20250709160835-3dbd1ee373a2 github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae - github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 + github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 - github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 + github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 github.com/smartcontractkit/chainlink-testing-framework/framework/components/dockercompose v0.1.2 github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.4 github.com/smartcontractkit/chainlink-testing-framework/seth v1.51.2 @@ -467,7 +467,7 @@ require ( github.com/smartcontractkit/chainlink-protos/svr v1.1.0 // indirect github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c // indirect github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 // indirect - github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 // indirect + github.com/smartcontractkit/chainlink-sui v0.0.0-20250715072936-945108d48bda // indirect github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250701132001-f8be142155b6 // indirect github.com/smartcontractkit/freeport v0.1.1 // indirect diff --git a/core/scripts/go.sum b/core/scripts/go.sum index 7dbd7f781ec..1143a4f854a 100644 --- a/core/scripts/go.sum +++ b/core/scripts/go.sum @@ -92,8 +92,8 @@ github.com/Khan/genqlient v0.7.0/go.mod h1:HNyy3wZvuYwmW3Y7mkoQLZsa/R5n5yIRajS1k github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ= github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4= -github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= +github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0= +github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= github.com/Microsoft/hcsshim v0.12.9 h1:2zJy5KA+l0loz1HzEGqyNnjd3fyZA31ZBCGKacp6lLg= @@ -1327,8 +1327,8 @@ github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCko github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= -github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= -github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= +github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= +github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 h1:oYW+YCJ1pachXTQmzR3rNLYGGz4g/UgFcjb28p/viDM= @@ -1519,8 +1519,8 @@ github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-2025 github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-20250709160835-3dbd1ee373a2/go.mod h1:0B4c6GEcnm67Q/E8vwpxTpdjL8elQkh8pVzxGhXkVsM= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae h1:BmqiIDbA9FB/uOCOHi/shgL7P0XmjFxhfRtJHdKPLE4= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae/go.mod h1:2MggrMtbhqr0u4U2pcYa21lvAtvaeSawjxdIy1ytHWE= -github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 h1:DRuKVoC8WTsr7F/COnNL0ksUnQJTN0PxtACrTnwDd8A= -github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= +github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 h1:zOh6ievxXQwRzNJ9S6mFS75ioDHWakGb75dzndw2kW0= +github.com/smartcontractkit/chainlink-deployments-framework v0.17.3/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 h1:fbFfEg+XLua6I2zzB+NXfqVMYtviO5bMEnqZQo06w7I= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19/go.mod h1:FYO2DGcOpSsrTkK5S+2BT7i0rODi7NO5N9kTYxE6FdY= github.com/smartcontractkit/chainlink-feeds v0.1.2-0.20250227211209-7cd000095135 h1:8u9xUrC+yHrTDexOKDd+jrA6LCzFFHeX1G82oj2fsSI= @@ -1547,10 +1547,8 @@ github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901- github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c/go.mod h1:HIpGvF6nKCdtZ30xhdkKWGM9+4Z4CVqJH8ZBL1FTEiY= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 h1:Wdvd12kqRWIauMp+Lz1KRpqRJ/SVtmzdTJ7mCywJXI8= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4/go.mod h1:UqygC5z2W+fdkkgQEe6tbUfa8yhcvAQhcm4vKJMvoGw= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 h1:xGkIWrAxtuuDPWGI2GXZTh/xczXnA5j/GaWSLiFM1Bc= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7/go.mod h1:JnCocOIqRjN3IR9J+SRqmJabPTjhf/7wykKuVWRj1hw= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 h1:haG6hdwUp987TL6UKk6ygeW3hisnGAQXSI+NIh199Kw= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7/go.mod h1:q99H9vcMJDs6T+zsSI8XJZd6PUkZnyG3iaRbrYNUCTk= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 h1:MopuYT5IFlcitX1IvZ7H9agwuxsMwFsG/4Pt7jN+6r0= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3/go.mod h1:47sm4C5wBxR8VBAZoDRGSt5wJwDJN3vVeE36l5vQs1g= github.com/smartcontractkit/chainlink-testing-framework/framework/components/dockercompose v0.1.2 h1:uqe6xg+fMb/BRMzEJuzSjXpHnzksk8dlCAvOd1DrQ9k= github.com/smartcontractkit/chainlink-testing-framework/framework/components/dockercompose v0.1.2/go.mod h1:yZukGfDjLHynPQgPX/XcwjnYCGt6NCmQ+qavePrrYeQ= github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.4 h1:gbQqdsF8mVRgh4h4KRi+8b00OT3Wp/6zrN0uXr0i/J0= diff --git a/deployment/go.mod b/deployment/go.mod index 00fee076618..254dcaaaed0 100644 --- a/deployment/go.mod +++ b/deployment/go.mod @@ -9,15 +9,15 @@ replace github.com/smartcontractkit/chainlink/v2 => ../ // creating potential merge conflicts. require github.com/smartcontractkit/chainlink/v2 v2.22.1-por-beta.5.0.20250430150202-611699e34308 -// replace github.com/smartcontractkit/chainlink-sui => ../../chainlink-sui +replace github.com/smartcontractkit/chainlink-sui => ../../chainlink-sui -// replace github.com/smartcontractkit/chainlink-deployments-framework => ../../chainlink-deployments-framework +//replace github.com/smartcontractkit/chainlink-deployments-framework => ../../chainlink-deployments-framework require ( dario.cat/mergo v1.0.1 github.com/AlekSi/pointer v1.1.0 github.com/Khan/genqlient v0.7.0 - github.com/Masterminds/semver/v3 v3.3.1 + github.com/Masterminds/semver/v3 v3.4.0 github.com/aptos-labs/aptos-go-sdk v1.9.1-0.20250613185448-581cb03acb8f github.com/aws/aws-sdk-go v1.55.7 github.com/block-vision/sui-go-sdk v1.0.9 @@ -31,7 +31,7 @@ require ( github.com/jmoiron/sqlx v1.4.0 github.com/mr-tron/base58 v1.2.0 github.com/pelletier/go-toml v1.9.5 - github.com/pelletier/go-toml/v2 v2.2.3 + github.com/pelletier/go-toml/v2 v2.2.4 github.com/rs/zerolog v1.33.0 github.com/scylladb/go-reflectx v1.0.1 github.com/sethvargo/go-retry v0.2.4 @@ -42,14 +42,14 @@ require ( github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250704143810-ee587a6c0562 github.com/smartcontractkit/chainlink-common v0.7.1-0.20250710062234-1e64a19122f6 github.com/smartcontractkit/chainlink-common/pkg/values v0.0.0-20250709160835-3dbd1ee373a2 - github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 + github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 github.com/smartcontractkit/chainlink-framework/multinode v0.0.0-20250522110034-65c54665034a github.com/smartcontractkit/chainlink-protos/job-distributor v0.13.0 github.com/smartcontractkit/chainlink-protos/orchestrator v0.8.1 github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 - github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 - github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 + github.com/smartcontractkit/chainlink-sui v0.0.0-20250715135906-48156204741b + github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 github.com/smartcontractkit/chainlink-testing-framework/lib v1.52.4 github.com/smartcontractkit/freeport v0.1.1 github.com/smartcontractkit/libocr v0.0.0-20250604151357-2fe8c61bbf2e diff --git a/deployment/go.sum b/deployment/go.sum index 8fd7e973780..f696ca58563 100644 --- a/deployment/go.sum +++ b/deployment/go.sum @@ -86,8 +86,8 @@ github.com/Khan/genqlient v0.7.0/go.mod h1:HNyy3wZvuYwmW3Y7mkoQLZsa/R5n5yIRajS1k github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ= github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4= -github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= +github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0= +github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= github.com/NethermindEth/juno v0.12.5 h1:a+KYQg8MxzNJIbbqGHq+vU9nTyuWu3acbyXxcUPUDOY= @@ -1103,8 +1103,8 @@ github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTK github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= -github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= +github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= +github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 h1:oYW+YCJ1pachXTQmzR3rNLYGGz4g/UgFcjb28p/viDM= @@ -1273,6 +1273,8 @@ github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae/go.mod h1:2MggrMtbhqr0u4U2pcYa21lvAtvaeSawjxdIy1ytHWE= github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 h1:DRuKVoC8WTsr7F/COnNL0ksUnQJTN0PxtACrTnwDd8A= github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= +github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 h1:zOh6ievxXQwRzNJ9S6mFS75ioDHWakGb75dzndw2kW0= +github.com/smartcontractkit/chainlink-deployments-framework v0.17.3/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 h1:fbFfEg+XLua6I2zzB+NXfqVMYtviO5bMEnqZQo06w7I= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19/go.mod h1:FYO2DGcOpSsrTkK5S+2BT7i0rODi7NO5N9kTYxE6FdY= github.com/smartcontractkit/chainlink-feeds v0.1.2-0.20250227211209-7cd000095135 h1:8u9xUrC+yHrTDexOKDd+jrA6LCzFFHeX1G82oj2fsSI= @@ -1299,10 +1301,8 @@ github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901- github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c/go.mod h1:HIpGvF6nKCdtZ30xhdkKWGM9+4Z4CVqJH8ZBL1FTEiY= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 h1:Wdvd12kqRWIauMp+Lz1KRpqRJ/SVtmzdTJ7mCywJXI8= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4/go.mod h1:UqygC5z2W+fdkkgQEe6tbUfa8yhcvAQhcm4vKJMvoGw= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 h1:xGkIWrAxtuuDPWGI2GXZTh/xczXnA5j/GaWSLiFM1Bc= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7/go.mod h1:JnCocOIqRjN3IR9J+SRqmJabPTjhf/7wykKuVWRj1hw= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 h1:haG6hdwUp987TL6UKk6ygeW3hisnGAQXSI+NIh199Kw= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7/go.mod h1:q99H9vcMJDs6T+zsSI8XJZd6PUkZnyG3iaRbrYNUCTk= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 h1:MopuYT5IFlcitX1IvZ7H9agwuxsMwFsG/4Pt7jN+6r0= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3/go.mod h1:47sm4C5wBxR8VBAZoDRGSt5wJwDJN3vVeE36l5vQs1g= github.com/smartcontractkit/chainlink-testing-framework/lib v1.52.4 h1:+kwLuO9kcq1+ZbRUQjxX1SQmzlL2M6ZP6+L0xQMtmkU= github.com/smartcontractkit/chainlink-testing-framework/lib v1.52.4/go.mod h1:orWoMb61wz6RwW++jIOXVmCoVuLIAoowtgrCvLGNBLQ= github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 h1:cWUHB6QETyKbmh0B988f5AKIKb3aBDWugfrZ04jAUUY= diff --git a/go.mod b/go.mod index 8d6ee24a8e6..6c4c57e7db9 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/smartcontractkit/chainlink/v2 go 1.24.4 -// replace github.com/smartcontractkit/chainlink-sui => ../chainlink-sui +replace github.com/smartcontractkit/chainlink-sui => ../chainlink-sui // replace github.com/smartcontractkit/chainlink-deployments-framework => ../chainlink-deployments-framework diff --git a/go.sum b/go.sum index 5569d087b3f..876cce79e47 100644 --- a/go.sum +++ b/go.sum @@ -1144,8 +1144,6 @@ github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901- github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c/go.mod h1:HIpGvF6nKCdtZ30xhdkKWGM9+4Z4CVqJH8ZBL1FTEiY= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 h1:Wdvd12kqRWIauMp+Lz1KRpqRJ/SVtmzdTJ7mCywJXI8= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4/go.mod h1:UqygC5z2W+fdkkgQEe6tbUfa8yhcvAQhcm4vKJMvoGw= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 h1:xGkIWrAxtuuDPWGI2GXZTh/xczXnA5j/GaWSLiFM1Bc= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7/go.mod h1:JnCocOIqRjN3IR9J+SRqmJabPTjhf/7wykKuVWRj1hw= github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250701132001-f8be142155b6 h1:RU3MWARa8aeEop6WmIBvXTLe3QruFzBWE0ugz4hB+3I= github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250701132001-f8be142155b6/go.mod h1:EQl7VcrSvpSNOL8qWkc2CV/2cOII5CIkKTeIqzqCWKk= github.com/smartcontractkit/chainlink-tron/relayer/gotron-sdk v0.0.5-0.20250528121202-292529af39df h1:36e3ROIZyV/qE8SvFOACXtXfMOMd9vG4+zY2v2ScXkI= diff --git a/integration-tests/go.mod b/integration-tests/go.mod index 3d92b6b8f59..4d65816fc0b 100644 --- a/integration-tests/go.mod +++ b/integration-tests/go.mod @@ -7,9 +7,9 @@ replace github.com/smartcontractkit/chainlink/v2 => ../ replace github.com/smartcontractkit/chainlink/deployment => ../deployment -// replace github.com/smartcontractkit/chainlink-sui => ../../chainlink-sui +replace github.com/smartcontractkit/chainlink-sui => ../../chainlink-sui -// replace github.com/smartcontractkit/chainlink-deployments-framework => ../../chainlink-deployments-framework +//replace github.com/smartcontractkit/chainlink-deployments-framework => ../../chainlink-deployments-framework // Using a separate `require` here to avoid surrounding line changes // creating potential merge conflicts. @@ -21,7 +21,7 @@ require ( require ( dario.cat/mergo v1.0.1 github.com/AlekSi/pointer v1.1.0 - github.com/Masterminds/semver/v3 v3.3.1 + github.com/Masterminds/semver/v3 v3.4.0 github.com/avast/retry-go v3.0.0+incompatible github.com/avast/retry-go/v4 v4.6.1 github.com/barkimedes/go-deepcopy v0.0.0-20220514131651-17c30cfc62df @@ -39,7 +39,7 @@ require ( github.com/manifoldco/promptui v0.9.0 github.com/montanaflynn/stats v0.7.1 github.com/onsi/gomega v1.36.2 - github.com/pelletier/go-toml/v2 v2.2.3 + github.com/pelletier/go-toml/v2 v2.2.4 github.com/pkg/errors v0.9.1 github.com/prometheus/common v0.63.0 github.com/rs/zerolog v1.33.0 @@ -52,10 +52,10 @@ require ( github.com/smartcontractkit/chainlink-ccip v0.0.0-20250703172708-3dacb811e668 github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250704143810-ee587a6c0562 github.com/smartcontractkit/chainlink-common v0.7.1-0.20250710062234-1e64a19122f6 - github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 + github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 github.com/smartcontractkit/chainlink-protos/job-distributor v0.13.0 - github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 + github.com/smartcontractkit/chainlink-sui v0.0.0-20250715135906-48156204741b github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.5 github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.4 github.com/smartcontractkit/chainlink-testing-framework/lib/grafana v1.51.0 @@ -478,7 +478,7 @@ require ( github.com/smartcontractkit/chainlink-protos/svr v1.1.0 // indirect github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c // indirect github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 // indirect - github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 // indirect + github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 // indirect github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250701132001-f8be142155b6 // indirect github.com/smartcontractkit/freeport v0.1.1 // indirect github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7 // indirect diff --git a/integration-tests/go.sum b/integration-tests/go.sum index 92e93813668..04aa7bc809e 100644 --- a/integration-tests/go.sum +++ b/integration-tests/go.sum @@ -115,8 +115,8 @@ github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6 github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4= -github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= +github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0= +github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= github.com/Masterminds/sprig/v3 v3.3.0 h1:mQh0Yrg1XPo6vjYXgtf5OtijNAKJRNcTdOOGZe3tPhs= github.com/Masterminds/sprig/v3 v3.3.0/go.mod h1:Zy1iXRYNqNLUolqCpL4uhk6SHUMAOSCzdgBfDb35Lz0= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= @@ -1313,8 +1313,8 @@ github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTK github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= -github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= +github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= +github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 h1:oYW+YCJ1pachXTQmzR3rNLYGGz4g/UgFcjb28p/viDM= @@ -1496,8 +1496,8 @@ github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-2025 github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-20250709160835-3dbd1ee373a2/go.mod h1:0B4c6GEcnm67Q/E8vwpxTpdjL8elQkh8pVzxGhXkVsM= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae h1:BmqiIDbA9FB/uOCOHi/shgL7P0XmjFxhfRtJHdKPLE4= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae/go.mod h1:2MggrMtbhqr0u4U2pcYa21lvAtvaeSawjxdIy1ytHWE= -github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 h1:DRuKVoC8WTsr7F/COnNL0ksUnQJTN0PxtACrTnwDd8A= -github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= +github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 h1:zOh6ievxXQwRzNJ9S6mFS75ioDHWakGb75dzndw2kW0= +github.com/smartcontractkit/chainlink-deployments-framework v0.17.3/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 h1:fbFfEg+XLua6I2zzB+NXfqVMYtviO5bMEnqZQo06w7I= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19/go.mod h1:FYO2DGcOpSsrTkK5S+2BT7i0rODi7NO5N9kTYxE6FdY= github.com/smartcontractkit/chainlink-feeds v0.1.2-0.20250227211209-7cd000095135 h1:8u9xUrC+yHrTDexOKDd+jrA6LCzFFHeX1G82oj2fsSI= @@ -1524,10 +1524,8 @@ github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901- github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c/go.mod h1:HIpGvF6nKCdtZ30xhdkKWGM9+4Z4CVqJH8ZBL1FTEiY= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 h1:Wdvd12kqRWIauMp+Lz1KRpqRJ/SVtmzdTJ7mCywJXI8= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4/go.mod h1:UqygC5z2W+fdkkgQEe6tbUfa8yhcvAQhcm4vKJMvoGw= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 h1:xGkIWrAxtuuDPWGI2GXZTh/xczXnA5j/GaWSLiFM1Bc= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7/go.mod h1:JnCocOIqRjN3IR9J+SRqmJabPTjhf/7wykKuVWRj1hw= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 h1:haG6hdwUp987TL6UKk6ygeW3hisnGAQXSI+NIh199Kw= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7/go.mod h1:q99H9vcMJDs6T+zsSI8XJZd6PUkZnyG3iaRbrYNUCTk= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 h1:MopuYT5IFlcitX1IvZ7H9agwuxsMwFsG/4Pt7jN+6r0= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3/go.mod h1:47sm4C5wBxR8VBAZoDRGSt5wJwDJN3vVeE36l5vQs1g= github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.5 h1:S5HND0EDtlA+xp2E+mD11DlUTp2wD6uojwixye8ZB/k= github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.5/go.mod h1:SKBYQvtnl3OqOTr5aQyt9YbIckuNNn40LOJUCR0vlMo= github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.4 h1:gbQqdsF8mVRgh4h4KRi+8b00OT3Wp/6zrN0uXr0i/J0= diff --git a/integration-tests/load/go.mod b/integration-tests/load/go.mod index 69dd8fa56a2..0fcda23b14b 100644 --- a/integration-tests/load/go.mod +++ b/integration-tests/load/go.mod @@ -9,7 +9,7 @@ replace github.com/smartcontractkit/chainlink/deployment => ../../deployment replace github.com/smartcontractkit/chainlink/integration-tests => ../ -// replace github.com/smartcontractkit/chainlink-sui => ../../../chainlink-sui +replace github.com/smartcontractkit/chainlink-sui => ../../../chainlink-sui // replace github.com/smartcontractkit/chainlink-deployments-framework => ../../../chainlink-deployments-framework @@ -26,7 +26,7 @@ require ( github.com/ethereum/go-ethereum v1.15.7 github.com/gagliardetto/solana-go v1.12.0 github.com/go-resty/resty/v2 v2.16.3 - github.com/pelletier/go-toml/v2 v2.2.3 + github.com/pelletier/go-toml/v2 v2.2.4 github.com/pkg/errors v0.9.1 github.com/rs/zerolog v1.33.0 github.com/slack-go/slack v0.15.0 @@ -34,9 +34,9 @@ require ( github.com/smartcontractkit/chainlink-ccip v0.0.0-20250703172708-3dacb811e668 github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250704143810-ee587a6c0562 github.com/smartcontractkit/chainlink-common v0.7.1-0.20250710062234-1e64a19122f6 - github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 + github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 - github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 + github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.5 github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.4 github.com/smartcontractkit/chainlink-testing-framework/seth v1.51.2 @@ -80,7 +80,7 @@ require ( github.com/Khan/genqlient v0.7.0 // indirect github.com/MakeNowJust/heredoc v1.0.0 // indirect github.com/Masterminds/goutils v1.1.1 // indirect - github.com/Masterminds/semver/v3 v3.3.1 // indirect + github.com/Masterminds/semver/v3 v3.4.0 // indirect github.com/Masterminds/sprig/v3 v3.3.0 // indirect github.com/Microsoft/go-winio v0.6.2 // indirect github.com/NethermindEth/juno v0.12.5 // indirect @@ -466,7 +466,7 @@ require ( github.com/smartcontractkit/chainlink-protos/svr v1.1.0 // indirect github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c // indirect github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 // indirect - github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 // indirect + github.com/smartcontractkit/chainlink-sui v0.0.0-20250715072936-945108d48bda // indirect github.com/smartcontractkit/chainlink-testing-framework/lib/grafana v1.51.0 // indirect github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect github.com/smartcontractkit/chainlink-testing-framework/sentinel v0.1.2 // indirect diff --git a/integration-tests/load/go.sum b/integration-tests/load/go.sum index 56c045323f7..a7b4e6ae919 100644 --- a/integration-tests/load/go.sum +++ b/integration-tests/load/go.sum @@ -119,8 +119,8 @@ github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6 github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4= -github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= +github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0= +github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= github.com/Masterminds/sprig/v3 v3.3.0 h1:mQh0Yrg1XPo6vjYXgtf5OtijNAKJRNcTdOOGZe3tPhs= github.com/Masterminds/sprig/v3 v3.3.0/go.mod h1:Zy1iXRYNqNLUolqCpL4uhk6SHUMAOSCzdgBfDb35Lz0= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= @@ -1293,8 +1293,8 @@ github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTK github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= -github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= +github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= +github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 h1:oYW+YCJ1pachXTQmzR3rNLYGGz4g/UgFcjb28p/viDM= @@ -1478,8 +1478,8 @@ github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-2025 github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-20250709160835-3dbd1ee373a2/go.mod h1:0B4c6GEcnm67Q/E8vwpxTpdjL8elQkh8pVzxGhXkVsM= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae h1:BmqiIDbA9FB/uOCOHi/shgL7P0XmjFxhfRtJHdKPLE4= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae/go.mod h1:2MggrMtbhqr0u4U2pcYa21lvAtvaeSawjxdIy1ytHWE= -github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 h1:DRuKVoC8WTsr7F/COnNL0ksUnQJTN0PxtACrTnwDd8A= -github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= +github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 h1:zOh6ievxXQwRzNJ9S6mFS75ioDHWakGb75dzndw2kW0= +github.com/smartcontractkit/chainlink-deployments-framework v0.17.3/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 h1:fbFfEg+XLua6I2zzB+NXfqVMYtviO5bMEnqZQo06w7I= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19/go.mod h1:FYO2DGcOpSsrTkK5S+2BT7i0rODi7NO5N9kTYxE6FdY= github.com/smartcontractkit/chainlink-feeds v0.1.2-0.20250227211209-7cd000095135 h1:8u9xUrC+yHrTDexOKDd+jrA6LCzFFHeX1G82oj2fsSI= @@ -1506,10 +1506,8 @@ github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901- github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c/go.mod h1:HIpGvF6nKCdtZ30xhdkKWGM9+4Z4CVqJH8ZBL1FTEiY= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 h1:Wdvd12kqRWIauMp+Lz1KRpqRJ/SVtmzdTJ7mCywJXI8= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4/go.mod h1:UqygC5z2W+fdkkgQEe6tbUfa8yhcvAQhcm4vKJMvoGw= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 h1:xGkIWrAxtuuDPWGI2GXZTh/xczXnA5j/GaWSLiFM1Bc= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7/go.mod h1:JnCocOIqRjN3IR9J+SRqmJabPTjhf/7wykKuVWRj1hw= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 h1:haG6hdwUp987TL6UKk6ygeW3hisnGAQXSI+NIh199Kw= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7/go.mod h1:q99H9vcMJDs6T+zsSI8XJZd6PUkZnyG3iaRbrYNUCTk= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 h1:MopuYT5IFlcitX1IvZ7H9agwuxsMwFsG/4Pt7jN+6r0= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3/go.mod h1:47sm4C5wBxR8VBAZoDRGSt5wJwDJN3vVeE36l5vQs1g= github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.5 h1:S5HND0EDtlA+xp2E+mD11DlUTp2wD6uojwixye8ZB/k= github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.5/go.mod h1:SKBYQvtnl3OqOTr5aQyt9YbIckuNNn40LOJUCR0vlMo= github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.4 h1:gbQqdsF8mVRgh4h4KRi+8b00OT3Wp/6zrN0uXr0i/J0= diff --git a/system-tests/lib/go.mod b/system-tests/lib/go.mod index ce805c292a4..fd350b074a4 100644 --- a/system-tests/lib/go.mod +++ b/system-tests/lib/go.mod @@ -11,26 +11,26 @@ replace github.com/smartcontractkit/chainlink/v2 => ../../ replace github.com/smartcontractkit/chainlink/deployment => ../../deployment -// replace github.com/smartcontractkit/chainlink-sui => ../../../chainlink-sui +replace github.com/smartcontractkit/chainlink-sui => ../../../chainlink-sui // replace github.com/smartcontractkit/chainlink-deployments-framework => ../../../chainlink-deployments-framework require ( - github.com/Masterminds/semver/v3 v3.3.1 + github.com/Masterminds/semver/v3 v3.4.0 github.com/ethereum/go-ethereum v1.15.7 github.com/google/uuid v1.6.0 github.com/jmoiron/sqlx v1.4.0 - github.com/pelletier/go-toml/v2 v2.2.3 + github.com/pelletier/go-toml/v2 v2.2.4 github.com/pkg/errors v0.9.1 github.com/rs/zerolog v1.33.0 github.com/scylladb/go-reflectx v1.0.1 github.com/smartcontractkit/chain-selectors v1.0.62 github.com/smartcontractkit/chainlink-common v0.7.1-0.20250710062234-1e64a19122f6 github.com/smartcontractkit/chainlink-common/pkg/values v0.0.0-20250709160835-3dbd1ee373a2 - github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 + github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 github.com/smartcontractkit/chainlink-protos/job-distributor v0.13.0 - github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 + github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.3 github.com/smartcontractkit/chainlink-testing-framework/seth v1.51.2 github.com/smartcontractkit/chainlink/deployment v0.0.0-00010101000000-000000000000 diff --git a/system-tests/lib/go.sum b/system-tests/lib/go.sum index d76710b5b5e..8d8ba362a0a 100644 --- a/system-tests/lib/go.sum +++ b/system-tests/lib/go.sum @@ -86,8 +86,8 @@ github.com/Khan/genqlient v0.7.0/go.mod h1:HNyy3wZvuYwmW3Y7mkoQLZsa/R5n5yIRajS1k github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ= github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4= -github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= +github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0= +github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= github.com/NethermindEth/juno v0.12.5 h1:a+KYQg8MxzNJIbbqGHq+vU9nTyuWu3acbyXxcUPUDOY= @@ -1095,8 +1095,8 @@ github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTK github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= -github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= +github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= +github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 h1:oYW+YCJ1pachXTQmzR3rNLYGGz4g/UgFcjb28p/viDM= @@ -1263,8 +1263,8 @@ github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-2025 github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-20250709160835-3dbd1ee373a2/go.mod h1:0B4c6GEcnm67Q/E8vwpxTpdjL8elQkh8pVzxGhXkVsM= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae h1:BmqiIDbA9FB/uOCOHi/shgL7P0XmjFxhfRtJHdKPLE4= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae/go.mod h1:2MggrMtbhqr0u4U2pcYa21lvAtvaeSawjxdIy1ytHWE= -github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 h1:DRuKVoC8WTsr7F/COnNL0ksUnQJTN0PxtACrTnwDd8A= -github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= +github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 h1:zOh6ievxXQwRzNJ9S6mFS75ioDHWakGb75dzndw2kW0= +github.com/smartcontractkit/chainlink-deployments-framework v0.17.3/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 h1:fbFfEg+XLua6I2zzB+NXfqVMYtviO5bMEnqZQo06w7I= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19/go.mod h1:FYO2DGcOpSsrTkK5S+2BT7i0rODi7NO5N9kTYxE6FdY= github.com/smartcontractkit/chainlink-feeds v0.1.2-0.20250227211209-7cd000095135 h1:8u9xUrC+yHrTDexOKDd+jrA6LCzFFHeX1G82oj2fsSI= @@ -1291,10 +1291,8 @@ github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901- github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c/go.mod h1:HIpGvF6nKCdtZ30xhdkKWGM9+4Z4CVqJH8ZBL1FTEiY= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 h1:Wdvd12kqRWIauMp+Lz1KRpqRJ/SVtmzdTJ7mCywJXI8= github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4/go.mod h1:UqygC5z2W+fdkkgQEe6tbUfa8yhcvAQhcm4vKJMvoGw= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 h1:xGkIWrAxtuuDPWGI2GXZTh/xczXnA5j/GaWSLiFM1Bc= -github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7/go.mod h1:JnCocOIqRjN3IR9J+SRqmJabPTjhf/7wykKuVWRj1hw= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 h1:haG6hdwUp987TL6UKk6ygeW3hisnGAQXSI+NIh199Kw= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7/go.mod h1:q99H9vcMJDs6T+zsSI8XJZd6PUkZnyG3iaRbrYNUCTk= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 h1:MopuYT5IFlcitX1IvZ7H9agwuxsMwFsG/4Pt7jN+6r0= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3/go.mod h1:47sm4C5wBxR8VBAZoDRGSt5wJwDJN3vVeE36l5vQs1g= github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.3 h1:4Bned1rumiWB7A0WI4hcEVuOnBBHIoXpxagZYhPLFNw= github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.3/go.mod h1:dgwtcefGr+0i+C2S6V/Xgntzm7E5CPxXMyi2OnQvnHI= github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 h1:cWUHB6QETyKbmh0B988f5AKIKb3aBDWugfrZ04jAUUY= diff --git a/system-tests/tests/go.mod b/system-tests/tests/go.mod index 114367a7c16..58cc078a3a2 100644 --- a/system-tests/tests/go.mod +++ b/system-tests/tests/go.mod @@ -15,7 +15,7 @@ replace github.com/smartcontractkit/chainlink/system-tests/lib => ../lib replace github.com/smartcontractkit/chainlink-sui => ../../../chainlink-sui -replace github.com/smartcontractkit/chainlink-deployments-framework => ../../../chainlink-deployments-framework +//replace github.com/smartcontractkit/chainlink-deployments-framework => ../../../chainlink-deployments-framework require ( github.com/ethereum/go-ethereum v1.15.7 @@ -33,7 +33,7 @@ require ( github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 github.com/smartcontractkit/chainlink-protos/job-distributor v0.13.0 - github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 + github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.7 github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.4 github.com/smartcontractkit/chainlink-testing-framework/seth v1.51.2 @@ -74,7 +74,7 @@ require ( github.com/Khan/genqlient v0.7.0 // indirect github.com/MakeNowJust/heredoc v1.0.0 // indirect github.com/Masterminds/goutils v1.1.1 // indirect - github.com/Masterminds/semver/v3 v3.3.1 // indirect + github.com/Masterminds/semver/v3 v3.4.0 // indirect github.com/Masterminds/sprig/v3 v3.3.0 // indirect github.com/Microsoft/go-winio v0.6.2 // indirect github.com/NethermindEth/juno v0.12.5 // indirect @@ -396,7 +396,7 @@ require ( github.com/otiai10/mint v1.6.3 // indirect github.com/patrickmn/go-cache v2.1.0+incompatible // indirect github.com/pelletier/go-toml v1.9.5 // indirect - github.com/pelletier/go-toml/v2 v2.2.3 // indirect + github.com/pelletier/go-toml/v2 v2.2.4 // indirect github.com/peterbourgon/diskv v2.0.1+incompatible // indirect github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 // indirect github.com/pierrec/lz4/v4 v4.1.22 // indirect @@ -456,7 +456,7 @@ require ( github.com/smartcontractkit/chainlink-protos/svr v1.1.0 // indirect github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c // indirect github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 // indirect - github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 // indirect + github.com/smartcontractkit/chainlink-sui v0.0.0-20250715072936-945108d48bda // indirect github.com/smartcontractkit/chainlink-testing-framework/lib/grafana v1.50.0 // indirect github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250701132001-f8be142155b6 // indirect diff --git a/system-tests/tests/go.sum b/system-tests/tests/go.sum index be719d15379..e83a7b76046 100644 --- a/system-tests/tests/go.sum +++ b/system-tests/tests/go.sum @@ -117,6 +117,7 @@ github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy86 github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4= github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= +github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= github.com/Masterminds/sprig/v3 v3.3.0 h1:mQh0Yrg1XPo6vjYXgtf5OtijNAKJRNcTdOOGZe3tPhs= github.com/Masterminds/sprig/v3 v3.3.0/go.mod h1:Zy1iXRYNqNLUolqCpL4uhk6SHUMAOSCzdgBfDb35Lz0= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= @@ -1282,6 +1283,7 @@ github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3v github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= +github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 h1:oYW+YCJ1pachXTQmzR3rNLYGGz4g/UgFcjb28p/viDM= @@ -1487,6 +1489,7 @@ github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4/go.mod h1:UqygC5z2W+fdkkgQEe6tbUfa8yhcvAQhcm4vKJMvoGw= github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7 h1:haG6hdwUp987TL6UKk6ygeW3hisnGAQXSI+NIh199Kw= github.com/smartcontractkit/chainlink-testing-framework/framework v0.9.7/go.mod h1:q99H9vcMJDs6T+zsSI8XJZd6PUkZnyG3iaRbrYNUCTk= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3/go.mod h1:47sm4C5wBxR8VBAZoDRGSt5wJwDJN3vVeE36l5vQs1g= github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.7 h1:ANltXlvv6CbOXieasPD9erc4BewtCHm1tKDPAYvuWLw= github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.7/go.mod h1:QudZnOnwPb2G1EPYTeBA+O4AoTg9BxbBDEzl2sVB7hw= github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.4 h1:gbQqdsF8mVRgh4h4KRi+8b00OT3Wp/6zrN0uXr0i/J0= From c21b64e028e2cc6e9866c290c0b30032a3085184 Mon Sep 17 00:00:00 2001 From: Joao Vasques Date: Tue, 15 Jul 2025 20:21:32 +0200 Subject: [PATCH 06/11] fix chainreader imports --- .../ccip/configs/sui/contract_reader.go | 8 +++---- .../changeset/testhelpers/test_helpers.go | 22 ++++++++++++------- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/core/capabilities/ccip/configs/sui/contract_reader.go b/core/capabilities/ccip/configs/sui/contract_reader.go index 4d8c32cfc01..6019f8ce194 100644 --- a/core/capabilities/ccip/configs/sui/contract_reader.go +++ b/core/capabilities/ccip/configs/sui/contract_reader.go @@ -6,7 +6,7 @@ import ( "time" "github.com/smartcontractkit/chainlink-ccip/pkg/consts" - "github.com/smartcontractkit/chainlink-sui/relayer/chainreader" + chainreaderConfig "github.com/smartcontractkit/chainlink-sui/relayer/chainreader/config" "github.com/smartcontractkit/chainlink-sui/relayer/client" "github.com/smartcontractkit/chainlink-sui/relayer/codec" "github.com/smartcontractkit/chainlink/v2/core/services/keystore/keys/suikey" @@ -111,7 +111,7 @@ func GetChainReaderConfig(pubKeyStr string) (map[string]any, error) { }, "offramp": map[string]any{ "Name": "offramp", - "Functions": map[string]*chainreader.ChainReaderFunction{ + "Functions": map[string]*chainreaderConfig.ChainReaderFunction{ consts.MethodNameOffRampLatestConfigDetails: { Name: "latest_config_details", SignerAddress: fromAddress, @@ -314,7 +314,7 @@ func GetChainReaderConfig(pubKeyStr string) (map[string]any, error) { }, "OnRamp": map[string]any{ "Name": "onramp", - "Functions": map[string]*chainreader.ChainReaderFunction{ + "Functions": map[string]*chainreaderConfig.ChainReaderFunction{ "OnRampGetDynamicConfig": { Name: "get_dynamic_config", SignerAddress: fromAddress, @@ -375,7 +375,7 @@ func GetChainReaderConfig(pubKeyStr string) (map[string]any, error) { }, }, }, - "Events": map[string]*chainreader.ChainReaderEvent{ + "Events": map[string]*chainreaderConfig.ChainReaderEvent{ "CCIPMessageSent": { Name: "CCIPMessageSent", EventType: "CCIPMessageSent", diff --git a/deployment/ccip/changeset/testhelpers/test_helpers.go b/deployment/ccip/changeset/testhelpers/test_helpers.go index f1e2f3881bd..6ebc3521aa3 100644 --- a/deployment/ccip/changeset/testhelpers/test_helpers.go +++ b/deployment/ccip/changeset/testhelpers/test_helpers.go @@ -97,7 +97,8 @@ import ( suideps "github.com/smartcontractkit/chainlink/deployment/ccip/changeset/sui" sui_query "github.com/smartcontractkit/chainlink-common/pkg/types/query" - "github.com/smartcontractkit/chainlink-sui/relayer/chainreader" + crConfig "github.com/smartcontractkit/chainlink-sui/relayer/chainreader/config" + crReader "github.com/smartcontractkit/chainlink-sui/relayer/chainreader/reader" "github.com/smartcontractkit/chainlink-sui/relayer/keystore" chain_reader_types "github.com/smartcontractkit/chainlink-common/pkg/types" @@ -987,6 +988,11 @@ func SendSuiRequestViaChainWriter(e cldf.Environment, cfg *CCIPSendReqConfig) (* suiChains := e.BlockChains.SuiChains() suiChain := suiChains[cfg.SourceChain] + + e.Logger.Infof("Sending Sui request via ChainWriter for chain %d", cfg.SourceChain) + e.Logger.Infof("CCIP Send Request Config: %+v", cfg) + e.Logger.Infof("Onchain state: %+v", state) + suiSigner := rel.NewPrivateKeySigner(suiChain.DeployerKey) keyString := base64.StdEncoding.EncodeToString(suiChain.DeployerKey) @@ -1159,20 +1165,20 @@ func SendSuiRequestViaChainWriter(e cldf.Environment, cfg *CCIPSendReqConfig) (* chainWriter.Close() // Query the CCIPSend Event via chainReader - chainReaderConfig := chainreader.ChainReaderConfig{ + chainReaderConfig := crConfig.ChainReaderConfig{ IsLoopPlugin: false, - EventsIndexer: chainreader.EventsIndexerConfig{ + EventsIndexer: crConfig.EventsIndexerConfig{ PollingInterval: 10 * time.Second, SyncTimeout: 10 * time.Second, }, - TransactionsIndexer: chainreader.TransactionsIndexerConfig{ + TransactionsIndexer: crConfig.TransactionsIndexerConfig{ PollingInterval: 10 * time.Second, SyncTimeout: 10 * time.Second, }, - Modules: map[string]*chainreader.ChainReaderModule{ + Modules: map[string]*crConfig.ChainReaderModule{ "onramp": { Name: "onramp", - Events: map[string]*chainreader.ChainReaderEvent{ + Events: map[string]*crConfig.ChainReaderEvent{ "CCIPMessageSent": { Name: "CCIPMessageSent", EventType: "CCIPMessageSent", @@ -1207,7 +1213,7 @@ func SendSuiRequestViaChainWriter(e cldf.Environment, cfg *CCIPSendReqConfig) (* return &AnyMsgSentEvent{}, err } - chainReader, err := chainreader.NewChainReader(ctx, e.Logger, relayerClient, chainReaderConfig, db) + chainReader, err := crReader.NewChainReader(ctx, e.Logger, relayerClient, chainReaderConfig, db) if err != nil { return &AnyMsgSentEvent{}, err } @@ -1254,7 +1260,7 @@ func SendSuiRequestViaChainWriter(e cldf.Environment, cfg *CCIPSendReqConfig) (* return &AnyMsgSentEvent{}, fmt.Errorf("failed to fetch event sequence") } e.Logger.Debugw("Query results", "sequences", sequences) - rawevent := sequences[0].Data.(*CCIPMessageSent) + rawevent := sequences[3].Data.(*CCIPMessageSent) return &AnyMsgSentEvent{ SequenceNumber: rawevent.SequenceNumber, From 54b4759058b467145af26dd5083e11170c8288e3 Mon Sep 17 00:00:00 2001 From: faisal-link Date: Tue, 15 Jul 2025 22:26:44 +0400 Subject: [PATCH 07/11] checkpoint --- core/scripts/go.mod | 2 +- deployment/go.sum | 2 -- go.mod | 2 +- integration-tests/load/go.mod | 2 +- .../smoke/ccip/ccip_sui_source_messaging_test.go | 5 ++--- plugins/plugins.private.yaml | 2 +- system-tests/lib/go.mod | 2 +- system-tests/tests/go.mod | 4 ++-- system-tests/tests/go.sum | 1 + 9 files changed, 10 insertions(+), 12 deletions(-) diff --git a/core/scripts/go.mod b/core/scripts/go.mod index c3d4f295ed2..7a23b64a0e6 100644 --- a/core/scripts/go.mod +++ b/core/scripts/go.mod @@ -467,7 +467,7 @@ require ( github.com/smartcontractkit/chainlink-protos/svr v1.1.0 // indirect github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c // indirect github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 // indirect - github.com/smartcontractkit/chainlink-sui v0.0.0-20250715072936-945108d48bda // indirect + github.com/smartcontractkit/chainlink-sui v0.0.0-20250715135906-48156204741b // indirect github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250701132001-f8be142155b6 // indirect github.com/smartcontractkit/freeport v0.1.1 // indirect diff --git a/deployment/go.sum b/deployment/go.sum index f696ca58563..64f81f150c6 100644 --- a/deployment/go.sum +++ b/deployment/go.sum @@ -1271,8 +1271,6 @@ github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-2025 github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-20250709160835-3dbd1ee373a2/go.mod h1:0B4c6GEcnm67Q/E8vwpxTpdjL8elQkh8pVzxGhXkVsM= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae h1:BmqiIDbA9FB/uOCOHi/shgL7P0XmjFxhfRtJHdKPLE4= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae/go.mod h1:2MggrMtbhqr0u4U2pcYa21lvAtvaeSawjxdIy1ytHWE= -github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 h1:DRuKVoC8WTsr7F/COnNL0ksUnQJTN0PxtACrTnwDd8A= -github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 h1:zOh6ievxXQwRzNJ9S6mFS75ioDHWakGb75dzndw2kW0= github.com/smartcontractkit/chainlink-deployments-framework v0.17.3/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 h1:fbFfEg+XLua6I2zzB+NXfqVMYtviO5bMEnqZQo06w7I= diff --git a/go.mod b/go.mod index 6c4c57e7db9..723fd401c11 100644 --- a/go.mod +++ b/go.mod @@ -98,7 +98,7 @@ require ( github.com/smartcontractkit/chainlink-protos/orchestrator v0.8.1 github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 - github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 + github.com/smartcontractkit/chainlink-sui v0.0.0-20250715135906-48156204741b github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250701132001-f8be142155b6 github.com/smartcontractkit/cre-sdk-go v0.0.0-20250709203740-9197d929abcd github.com/smartcontractkit/cre-sdk-go/capabilities/networking/http v0.0.0-20250709203740-9197d929abcd diff --git a/integration-tests/load/go.mod b/integration-tests/load/go.mod index 0fcda23b14b..d5fb38e6c69 100644 --- a/integration-tests/load/go.mod +++ b/integration-tests/load/go.mod @@ -466,7 +466,7 @@ require ( github.com/smartcontractkit/chainlink-protos/svr v1.1.0 // indirect github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c // indirect github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 // indirect - github.com/smartcontractkit/chainlink-sui v0.0.0-20250715072936-945108d48bda // indirect + github.com/smartcontractkit/chainlink-sui v0.0.0-20250715135906-48156204741b // indirect github.com/smartcontractkit/chainlink-testing-framework/lib/grafana v1.51.0 // indirect github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect github.com/smartcontractkit/chainlink-testing-framework/sentinel v0.1.2 // indirect diff --git a/integration-tests/smoke/ccip/ccip_sui_source_messaging_test.go b/integration-tests/smoke/ccip/ccip_sui_source_messaging_test.go index 135d19e85d4..cce64dfa2b7 100644 --- a/integration-tests/smoke/ccip/ccip_sui_source_messaging_test.go +++ b/integration-tests/smoke/ccip/ccip_sui_source_messaging_test.go @@ -2,13 +2,11 @@ package ccip import ( "fmt" - "testing" - "github.com/ethereum/go-ethereum/common" chain_selectors "github.com/smartcontractkit/chain-selectors" "github.com/smartcontractkit/chainlink-deployments-framework/chain" - sui_ops "github.com/smartcontractkit/chainlink-sui/ops" suiutil "github.com/smartcontractkit/chainlink-sui/bindings/utils" + sui_ops "github.com/smartcontractkit/chainlink-sui/ops" linkops "github.com/smartcontractkit/chainlink-sui/ops/link" rel "github.com/smartcontractkit/chainlink-sui/relayer/signer" sui_cs "github.com/smartcontractkit/chainlink/deployment/ccip/changeset/sui" @@ -18,6 +16,7 @@ import ( commoncs "github.com/smartcontractkit/chainlink/deployment/common/changeset" testsetups "github.com/smartcontractkit/chainlink/integration-tests/testsetups/ccip" "github.com/stretchr/testify/require" + "testing" ) func Test_CCIPMessaging_Sui2EVM(t *testing.T) { diff --git a/plugins/plugins.private.yaml b/plugins/plugins.private.yaml index d729243aed0..fbafa5b3415 100644 --- a/plugins/plugins.private.yaml +++ b/plugins/plugins.private.yaml @@ -10,7 +10,7 @@ defaults: plugins: sui: - moduleURI: "github.com/smartcontractkit/chainlink-sui" - gitRef: "bc26efd744dfaf2e717e69a52da80051f1d19589" + gitRef: "fd1a4a84d852f9d73630f41e646cb3ba6c50c4de" installPath: "github.com/smartcontractkit/chainlink-sui/relayer/cmd/chainlink-sui" cron: - moduleURI: "github.com/smartcontractkit/capabilities/cron" diff --git a/system-tests/lib/go.mod b/system-tests/lib/go.mod index fd350b074a4..f497b20b2a4 100644 --- a/system-tests/lib/go.mod +++ b/system-tests/lib/go.mod @@ -381,7 +381,7 @@ require ( github.com/smartcontractkit/chainlink-protos/svr v1.1.0 // indirect github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c // indirect github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 // indirect - github.com/smartcontractkit/chainlink-sui v0.0.0-20250713062856-8e588ade17f7 // indirect + github.com/smartcontractkit/chainlink-sui v0.0.0-20250715135906-48156204741b // indirect github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250701132001-f8be142155b6 // indirect github.com/smartcontractkit/freeport v0.1.1 // indirect diff --git a/system-tests/tests/go.mod b/system-tests/tests/go.mod index 58cc078a3a2..12b6da549bc 100644 --- a/system-tests/tests/go.mod +++ b/system-tests/tests/go.mod @@ -30,7 +30,7 @@ require ( github.com/smartcontractkit/chainlink-common v0.7.1-0.20250710062234-1e64a19122f6 github.com/smartcontractkit/chainlink-common/pkg/values v0.0.0-20250709160835-3dbd1ee373a2 github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae - github.com/smartcontractkit/chainlink-deployments-framework v0.17.3-0.20250711225258-bceac2b92545 + github.com/smartcontractkit/chainlink-deployments-framework v0.17.3 github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 github.com/smartcontractkit/chainlink-protos/job-distributor v0.13.0 github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.3 @@ -456,7 +456,7 @@ require ( github.com/smartcontractkit/chainlink-protos/svr v1.1.0 // indirect github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250619160901-79b609b1021c // indirect github.com/smartcontractkit/chainlink-solana v1.1.2-0.20250708220600-853616d583f4 // indirect - github.com/smartcontractkit/chainlink-sui v0.0.0-20250715072936-945108d48bda // indirect + github.com/smartcontractkit/chainlink-sui v0.0.0-20250715135906-48156204741b // indirect github.com/smartcontractkit/chainlink-testing-framework/lib/grafana v1.50.0 // indirect github.com/smartcontractkit/chainlink-testing-framework/parrot v0.6.2 // indirect github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250701132001-f8be142155b6 // indirect diff --git a/system-tests/tests/go.sum b/system-tests/tests/go.sum index e83a7b76046..478459a7500 100644 --- a/system-tests/tests/go.sum +++ b/system-tests/tests/go.sum @@ -1461,6 +1461,7 @@ github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-2025 github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk/v2/pb v0.0.0-20250709160835-3dbd1ee373a2/go.mod h1:0B4c6GEcnm67Q/E8vwpxTpdjL8elQkh8pVzxGhXkVsM= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae h1:BmqiIDbA9FB/uOCOHi/shgL7P0XmjFxhfRtJHdKPLE4= github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20250604171706-a98fa6515eae/go.mod h1:2MggrMtbhqr0u4U2pcYa21lvAtvaeSawjxdIy1ytHWE= +github.com/smartcontractkit/chainlink-deployments-framework v0.17.3/go.mod h1:UBZsviBNPyQFi3iGvf+Zq+8Vn4Phpt+UrEk8eUIc/lM= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19 h1:fbFfEg+XLua6I2zzB+NXfqVMYtviO5bMEnqZQo06w7I= github.com/smartcontractkit/chainlink-evm v0.0.0-20250707140145-45280ea11f19/go.mod h1:FYO2DGcOpSsrTkK5S+2BT7i0rODi7NO5N9kTYxE6FdY= github.com/smartcontractkit/chainlink-feeds v0.1.2-0.20250227211209-7cd000095135 h1:8u9xUrC+yHrTDexOKDd+jrA6LCzFFHeX1G82oj2fsSI= From a1aace7bd8b760d21189971ca9c83fa9f237ae4f Mon Sep 17 00:00:00 2001 From: Joao Vasques Date: Wed, 16 Jul 2025 18:06:16 +0200 Subject: [PATCH 08/11] updates: - add in-memory keystore for the SUI test; - add missing data to the SUI node config (TXM section) --- .../ccip/changeset/testhelpers/test_helpers.go | 7 ++++++- deployment/environment/memory/sui_chains.go | 12 ++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/deployment/ccip/changeset/testhelpers/test_helpers.go b/deployment/ccip/changeset/testhelpers/test_helpers.go index 2493e971fd2..208e0c0c99d 100644 --- a/deployment/ccip/changeset/testhelpers/test_helpers.go +++ b/deployment/ccip/changeset/testhelpers/test_helpers.go @@ -1088,7 +1088,12 @@ func SendSuiRequestViaChainWriter(e cldf.Environment, cfg *CCIPSendReqConfig) (* } // Setup new PTB client - keystoreInstance, err := keystore.NewSuiKeystore(e.Logger, keyString) + keystoreInstance, err := keystore.NewInMemoryKeystore(e.Logger) + if err != nil { + return &AnyMsgSentEvent{}, err + } + + _, err = keystoreInstance.AddKey(keyString) if err != nil { return &AnyMsgSentEvent{}, err } diff --git a/deployment/environment/memory/sui_chains.go b/deployment/environment/memory/sui_chains.go index a7bcbfb3032..f4666621409 100644 --- a/deployment/environment/memory/sui_chains.go +++ b/deployment/environment/memory/sui_chains.go @@ -142,6 +142,18 @@ func createSuiChainConfig(chainID string, chain suichain.Chain) chainlink.RawCon "URL": chain.URL, }, } + chainConfig["TransactionManager"] = map[string]any{ + "BroadcastChanSize": 100, + "ConfirmPollSecs": 2, + "DefaultMaxGasAmount": 200000, + "MaxTxRetryAttempts": 5, + "RequestType": "WaitForEffectsCert", + "TransactionTimeout": "10s", + "MaxConcurrentRequests": 5, + } + chainConfig["BalanceMonitor"] = map[string]any{ + "BalancePollPeriod": "10s", + } return chainConfig } From cd902da7daf9e605e226980b1c2e3987583de2fa Mon Sep 17 00:00:00 2001 From: faisal-link Date: Wed, 16 Jul 2025 22:17:56 +0400 Subject: [PATCH 09/11] minor edit --- deployment/ccip/changeset/testhelpers/test_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/ccip/changeset/testhelpers/test_helpers.go b/deployment/ccip/changeset/testhelpers/test_helpers.go index 208e0c0c99d..991d6021bc2 100644 --- a/deployment/ccip/changeset/testhelpers/test_helpers.go +++ b/deployment/ccip/changeset/testhelpers/test_helpers.go @@ -1260,7 +1260,7 @@ func SendSuiRequestViaChainWriter(e cldf.Environment, cfg *CCIPSendReqConfig) (* return &AnyMsgSentEvent{}, fmt.Errorf("failed to fetch event sequence") } e.Logger.Debugw("Query results", "sequences", sequences) - rawevent := sequences[0].Data.(*CCIPMessageSent) + rawevent := sequences[3].Data.(*CCIPMessageSent) return &AnyMsgSentEvent{ SequenceNumber: rawevent.SequenceNumber, From 3e69c2dcc9ba194f7621cfc29cf8530c36a43604 Mon Sep 17 00:00:00 2001 From: faisal-link Date: Fri, 18 Jul 2025 14:31:05 +0400 Subject: [PATCH 10/11] add sui test to in-memory CI test gh task --- .github/integration-in-memory-tests.yml | 12 ++++ .../changeset/testhelpers/test_assertions.go | 68 ++++++++++++++++++- .../ccip/ccip_sui_source_messaging_test.go | 1 + .../ccip_sui_source_token_transfer_test.go | 2 + 4 files changed, 82 insertions(+), 1 deletion(-) diff --git a/.github/integration-in-memory-tests.yml b/.github/integration-in-memory-tests.yml index 08245585e09..d9d223ebe74 100644 --- a/.github/integration-in-memory-tests.yml +++ b/.github/integration-in-memory-tests.yml @@ -472,6 +472,18 @@ runner-test-matrix: aptos_cli_version: 7.2.0 install_plugins_public: true + # SUI tests + - id: smoke/ccip/ccip_sui_source_messaging_test.go:Test_CCIP_Messaging_Sui2EVM + path: integration-tests/smoke/ccip/ccip_sui_source_messaging_test.go + test_env_type: in-memory + runs_on: ubuntu-latest + triggers: + - PR Integration CCIP Tests + - Nightly Integration CCIP Tests + test_cmd: cd smoke/ccip && go test ccip_sui_source_messaging_test.go -run "Test_CCIP_Messaging_Sui2EVM" -timeout 20m -test.parallel=1 -count=1 -json + test_go_project_path: integration-tests + install_plugins_public: true + # TON tests - id: smoke/ccip/ccip_ton_messaging_test.go:* path: integration-tests/smoke/ccip/ccip_ton_messaging_test.go diff --git a/deployment/ccip/changeset/testhelpers/test_assertions.go b/deployment/ccip/changeset/testhelpers/test_assertions.go index 1a69149cf3d..a8703f7cecb 100644 --- a/deployment/ccip/changeset/testhelpers/test_assertions.go +++ b/deployment/ccip/changeset/testhelpers/test_assertions.go @@ -489,7 +489,7 @@ func ConfirmCommitWithExpectedSeqNumRange( } for iter.Next() { event := iter.Event - fmt.Printf("RECEIpVED COMMIT REPORt ACCEPTED: %v", *event) + fmt.Printf("RECEIVED COMMIT REPORT ACCEPTED: %v", *event) verified := verifyCommitReport(event) if verified { return event, nil @@ -862,6 +862,18 @@ func ConfirmExecWithSeqNrsForAll( if err != nil { return err } + //case chainsel.FamilySui: + // innerExecutionStates, err = ConfirmExecWithExpectedSeqNrsSui( + // t, + // srcChain, + // e.BlockChains.SuiChains()[dstChain], + // state.SuiChains[dstChain].CCIPAddress, + // startBlock, + // seqRange, + // ) + // if err != nil { + // return err + // } default: return fmt.Errorf("unsupported chain family; %v", family) } @@ -1063,6 +1075,60 @@ func ConfirmExecWithExpectedSeqNrsAptos( } } +func ConfirmExecWithExpectedSeqNrsSui( + t *testing.T, + srcSelector uint64, + dest cldf_aptos.Chain, + offRampAddress aptos.AccountAddress, + startVersion *uint64, + expectedSeqNrs []uint64, +) (executionStates map[uint64]int, err error) { + if len(expectedSeqNrs) == 0 { + return nil, errors.New("no expected sequence numbers provided") + } + boundOffRamp := aptos_ccip_offramp.Bind(offRampAddress, dest.Client) + offRampStateAddress, err := boundOffRamp.Offramp().GetStateAddress(nil) + require.NoError(t, err) + + done := make(chan any) + defer close(done) + sink, errChan := AptosEventEmitter[module_offramp.ExecutionStateChanged](t, dest.Client, offRampStateAddress, offRampAddress.StringLong()+"::offramp::OffRampState", "execution_state_changed_events", startVersion, done) + + executionStates = make(map[uint64]int) + seqNrsToWatch := make(map[uint64]bool) + for _, seqNr := range expectedSeqNrs { + seqNrsToWatch[seqNr] = true + } + + timeout := time.NewTimer(tests.WaitTimeout(t)) + defer timeout.Stop() + + for { + select { + case event := <-sink: + if seqNrsToWatch[event.Event.SequenceNumber] && event.Event.SourceChainSelector == srcSelector { + t.Logf("(Aptos) received ExecutionStateChanged (state %s) on chain %d (offramp %s) with expected sequence number %d (tx %d)", + executionStateToString(event.Event.State), dest.Selector, offRampAddress.String(), event.Event.SequenceNumber, event.Version, + ) + if event.Event.State == EXECUTION_STATE_INPROGRESS { + continue + } + executionStates[event.Event.SequenceNumber] = int(event.Event.State) + delete(seqNrsToWatch, event.Event.SequenceNumber) + if len(seqNrsToWatch) == 0 { + return executionStates, nil + } + } + + case err := <-errChan: + require.NoError(t, err) + case <-timeout.C: + return nil, fmt.Errorf("(Aptos) timed out waiting for ExecutionStateChanged on chain %d (offramp %s) from chain %d with expected sequence numbers %+v", + dest.Selector, offRampAddress.String(), srcSelector, expectedSeqNrs) + } + } +} + func ConfirmNoExecConsistentlyWithSeqNr( t *testing.T, sourceSelector uint64, diff --git a/integration-tests/smoke/ccip/ccip_sui_source_messaging_test.go b/integration-tests/smoke/ccip/ccip_sui_source_messaging_test.go index cce64dfa2b7..75e7c658815 100644 --- a/integration-tests/smoke/ccip/ccip_sui_source_messaging_test.go +++ b/integration-tests/smoke/ccip/ccip_sui_source_messaging_test.go @@ -39,6 +39,7 @@ func Test_CCIPMessaging_Sui2EVM(t *testing.T) { state, err := stateview.LoadOnchainState(e.Env) require.NoError(t, err) + t.Log("Onchain State: ", state) t.Log("Source chain (Sui): ", sourceChain, "Dest chain (EVM): ", destChain) testhelpers.AddLaneWithDefaultPricesAndFeeQuoterConfig(t, &e, state, sourceChain, destChain, false) diff --git a/integration-tests/smoke/ccip/ccip_sui_source_token_transfer_test.go b/integration-tests/smoke/ccip/ccip_sui_source_token_transfer_test.go index 72c0ef26c89..b53f099216a 100644 --- a/integration-tests/smoke/ccip/ccip_sui_source_token_transfer_test.go +++ b/integration-tests/smoke/ccip/ccip_sui_source_token_transfer_test.go @@ -106,6 +106,8 @@ func Test_CCIPTokenTransfer_Sui2EVM(t *testing.T) { ) require.NoError(t, err) + t.Log("Commits confirmed.") + execStates := testhelpers.ConfirmExecWithSeqNrsForAll( t, e.Env, From 85951cf6d91ce0dbd8e81b33fe6fa00a8d189787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Friedemann=20F=C3=BCrst?= <59653747+friedemannf@users.noreply.github.com> Date: Wed, 17 Sep 2025 22:58:21 +0200 Subject: [PATCH 11/11] Enable Sui CLI in in-memory e2e tests --- .github/integration-in-memory-tests.yml | 1 + .github/workflows/integration-in-memory-tests.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/integration-in-memory-tests.yml b/.github/integration-in-memory-tests.yml index d9d223ebe74..64c234fc788 100644 --- a/.github/integration-in-memory-tests.yml +++ b/.github/integration-in-memory-tests.yml @@ -483,6 +483,7 @@ runner-test-matrix: test_cmd: cd smoke/ccip && go test ccip_sui_source_messaging_test.go -run "Test_CCIP_Messaging_Sui2EVM" -timeout 20m -test.parallel=1 -count=1 -json test_go_project_path: integration-tests install_plugins_public: true + sui_cli_version: mainnet-v1.50.1 # TON tests - id: smoke/ccip/ccip_ton_messaging_test.go:* diff --git a/.github/workflows/integration-in-memory-tests.yml b/.github/workflows/integration-in-memory-tests.yml index 313251b41ce..1b3096538ee 100644 --- a/.github/workflows/integration-in-memory-tests.yml +++ b/.github/workflows/integration-in-memory-tests.yml @@ -82,7 +82,7 @@ jobs: contents: read needs: changes if: github.event_name == 'pull_request' && ( needs.changes.outputs.ccip_changes == 'true' || needs.changes.outputs.core_changes == 'true' || needs.changes.outputs.github_ci_changes == 'true') - uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@08494221eaae4aff37a01669818cff24a4f80b4c # 2025-06-20 + uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@ce42e0f4d4f108a242d9bd777c30aa24702a712a # Not merged yet with: workflow_name: Run CCIP Integration Tests For PR chainlink_version: ${{ inputs.cl_ref || github.sha }}