@@ -19,7 +19,7 @@ import (
1919 "github.com/smartcontractkit/chainlink-testing-framework/lib/k8s/environment"
2020 "github.com/smartcontractkit/chainlink-testing-framework/lib/k8s/pkg/helm/chainlink"
2121 mock_adapter "github.com/smartcontractkit/chainlink-testing-framework/lib/k8s/pkg/helm/mock-adapter"
22- "github.com/smartcontractkit/chainlink/integration-tests/client "
22+ "github.com/smartcontractkit/chainlink/deployment/environment/nodeclient "
2323 "github.com/smartcontractkit/chainlink/integration-tests/docker/test_env"
2424 "github.com/smartcontractkit/chainlink/v2/core/services/job"
2525
@@ -197,8 +197,8 @@ func (c *Common) TearDownLocalEnvironment(t *testing.T) {
197197 log .Info ().Msg ("Tear down local stack complete." )
198198}
199199
200- func (c * Common ) CreateNodeKeysBundle (nodes []* client .ChainlinkClient ) ([]client .NodeKeysBundle , error ) {
201- nkb := make ([]client .NodeKeysBundle , 0 )
200+ func (c * Common ) CreateNodeKeysBundle (nodes []* nodeclient .ChainlinkClient ) ([]nodeclient .NodeKeysBundle , error ) {
201+ nkb := make ([]nodeclient .NodeKeysBundle , 0 )
202202 for _ , n := range nodes {
203203 p2pkeys , err := n .MustReadP2PKeys ()
204204 if err != nil {
@@ -215,7 +215,7 @@ func (c *Common) CreateNodeKeysBundle(nodes []*client.ChainlinkClient) ([]client
215215 return nil , err
216216 }
217217
218- nkb = append (nkb , client .NodeKeysBundle {
218+ nkb = append (nkb , nodeclient .NodeKeysBundle {
219219 PeerID : peerID ,
220220 OCR2Key : * ocrKey ,
221221 TXKey : * txKey ,
@@ -227,7 +227,7 @@ func (c *Common) CreateNodeKeysBundle(nodes []*client.ChainlinkClient) ([]client
227227// CreateJobsForContract Creates and sets up the boostrap jobs as well as OCR jobs
228228func (c * Common ) CreateJobsForContract (cc * ChainlinkClient , observationSource string , juelsPerFeeCoinSource string , ocrControllerAddress string , accountAddresses []string ) error {
229229 // Define node[0] as bootstrap node
230- cc .bootstrapPeers = []client .P2PData {
230+ cc .bootstrapPeers = []nodeclient .P2PData {
231231 {
232232 InternalIP : cc .ChainlinkNodes [0 ].InternalIP (),
233233 InternalPort : c .RPCDetails .P2PPort ,
@@ -249,7 +249,7 @@ func (c *Common) CreateJobsForContract(cc *ChainlinkClient, observationSource st
249249 ContractConfigConfirmations : 1 , // don't wait for confirmation on devnet
250250 }
251251 // Setting up bootstrap node
252- jobSpec := & client .OCR2TaskJobSpec {
252+ jobSpec := & nodeclient .OCR2TaskJobSpec {
253253 Name : fmt .Sprintf ("starknet-OCRv2-%s-%s" , "bootstrap" , uuid .New ().String ()),
254254 JobType : "bootstrap" ,
255255 OCR2OracleSpec : oracleSpec ,
@@ -265,7 +265,7 @@ func (c *Common) CreateJobsForContract(cc *ChainlinkClient, observationSource st
265265 p2pBootstrappers = append (p2pBootstrappers , cc .bootstrapPeers [i ].P2PV2Bootstrapper ())
266266 }
267267
268- sourceValueBridge := & client .BridgeTypeAttributes {
268+ sourceValueBridge := & nodeclient .BridgeTypeAttributes {
269269 Name : "mockserver-bridge" ,
270270 URL : c .RPCDetails .MockServerEndpoint + "/" + strings .TrimPrefix (c .RPCDetails .MockServerURL , "/" ),
271271 }
@@ -299,7 +299,7 @@ func (c *Common) CreateJobsForContract(cc *ChainlinkClient, observationSource st
299299 },
300300 }
301301
302- jobSpec = & client .OCR2TaskJobSpec {
302+ jobSpec = & nodeclient .OCR2TaskJobSpec {
303303 Name : fmt .Sprintf ("starknet-OCRv2-%d-%s" , nIdx , uuid .New ().String ()),
304304 JobType : "offchainreporting2" ,
305305 OCR2OracleSpec : oracleSpec ,
0 commit comments