Skip to content

Commit

Permalink
common: Fix broken reference to network const
Browse files Browse the repository at this point in the history
  • Loading branch information
nickcorin committed Jul 9, 2024
1 parent 9e0af3d commit 731de1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration-tests/common/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 731de1f

Please sign in to comment.