From 0450e47a7af2ff6cbc8a42bca3a6fb890e8f4fe7 Mon Sep 17 00:00:00 2001 From: AnieeG Date: Mon, 9 Dec 2024 14:42:33 -0800 Subject: [PATCH] go mod --- deployment/ccip/changeset/test_environment.go | 1 + integration-tests/go.mod | 2 +- integration-tests/testsetups/ccip/test_helpers.go | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deployment/ccip/changeset/test_environment.go b/deployment/ccip/changeset/test_environment.go index d5b79eb90b5..4b71da2f13c 100644 --- a/deployment/ccip/changeset/test_environment.go +++ b/deployment/ccip/changeset/test_environment.go @@ -244,6 +244,7 @@ func NewMemoryEnvironment(t *testing.T, opts ...TestOps) DeployedEnv { for _, opt := range opts { opt(testCfg) } + require.NoError(t, testCfg.Validate(), "invalid test config") env := &MemoryEnvironment{} if testCfg.CreateJobAndContracts { return NewEnvironmentWithJobsAndContracts(t, testCfg, env) diff --git a/integration-tests/go.mod b/integration-tests/go.mod index 58b2a6fa1c4..ae4b843ea1b 100644 --- a/integration-tests/go.mod +++ b/integration-tests/go.mod @@ -37,7 +37,6 @@ require ( github.com/segmentio/ksuid v1.0.4 github.com/shopspring/decimal v1.4.0 github.com/slack-go/slack v0.15.0 - github.com/smartcontractkit/ccip-owner-contracts v0.0.0-20240926212305-a6deabdfce86 github.com/smartcontractkit/chain-selectors v1.0.34 github.com/smartcontractkit/chainlink-automation v0.8.1 github.com/smartcontractkit/chainlink-ccip v0.0.0-20241204015713-8956bb614e9e @@ -419,6 +418,7 @@ require ( github.com/shirou/gopsutil/v3 v3.24.3 // indirect github.com/shoenig/go-m1cpu v0.1.6 // indirect github.com/sirupsen/logrus v1.9.3 // indirect + github.com/smartcontractkit/ccip-owner-contracts v0.0.0-20240926212305-a6deabdfce86 // indirect github.com/smartcontractkit/chainlink-cosmos v0.5.2-0.20241202195413-82468150ac1e // indirect github.com/smartcontractkit/chainlink-data-streams v0.1.1-0.20241202141438-a90db35252db // indirect github.com/smartcontractkit/chainlink-feeds v0.1.1 // indirect diff --git a/integration-tests/testsetups/ccip/test_helpers.go b/integration-tests/testsetups/ccip/test_helpers.go index 268cf28e805..fb27b9913cb 100644 --- a/integration-tests/testsetups/ccip/test_helpers.go +++ b/integration-tests/testsetups/ccip/test_helpers.go @@ -134,6 +134,7 @@ func NewIntegrationEnvironment(t *testing.T, opts ...changeset.TestOps) (changes for _, opt := range opts { opt(testCfg) } + require.NoError(t, testCfg.Validate(), "invalid test config") switch testCfg.Type { case changeset.Memory: memEnv := changeset.NewMemoryEnvironment(t, opts...)