From 731de1fa5ed8c39f316764907d951d75ab95733f Mon Sep 17 00:00:00 2001 From: Nick Corin Date: Wed, 10 Jul 2024 00:42:57 +0200 Subject: [PATCH] common: Fix broken reference to network const --- integration-tests/common/client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/common/client.go b/integration-tests/common/client.go index 912ee084..9582c555 100644 --- a/integration-tests/common/client.go +++ b/integration-tests/common/client.go @@ -11,10 +11,10 @@ import ( "github.com/rs/zerolog/log" "gopkg.in/guregu/null.v4" - "github.com/smartcontractkit/chainlink-common/pkg/types" "github.com/smartcontractkit/chainlink-testing-framework/k8s/environment" "github.com/smartcontractkit/chainlink/integration-tests/client" "github.com/smartcontractkit/chainlink/v2/core/services/job" + "github.com/smartcontractkit/chainlink/v2/core/services/relay" "github.com/smartcontractkit/chainlink-cosmos/pkg/cosmos/params" ) @@ -114,7 +114,7 @@ func (cc *ChainlinkClient) CreateJobsForContract(chainId, nodeName, p2pPort, moc oracleSpec := job.OCR2OracleSpec{ ContractID: ocrControllerAddress, - Relay: types.NetworkCosmos, + Relay: relay.NetworkCosmos, RelayConfig: bootstrapRelayConfig, ContractConfigConfirmations: 1, // don't wait for confirmation on devnet } @@ -158,7 +158,7 @@ func (cc *ChainlinkClient) CreateJobsForContract(chainId, nodeName, p2pPort, moc oracleSpec = job.OCR2OracleSpec{ ContractID: ocrControllerAddress, - Relay: types.NetworkCosmos, + Relay: relay.NetworkCosmos, RelayConfig: relayConfig, PluginType: "median", OCRKeyBundleID: null.StringFrom(cc.NodeKeys[nIdx].OCR2Key.Data.ID),