Skip to content

Commit

Permalink
Fixing RPC issue
Browse files Browse the repository at this point in the history
  • Loading branch information
smickovskid committed Jun 10, 2024
1 parent 666a77f commit 015aefa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/common/test_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ func (m *OCRv2TestState) DeployCluster() {

m.Common.RPCDetails.RPCL2External = m.Common.Env.URLs["starknet-dev"][0]

if m.Common.Env.WillUseRemoteRunner() {
// Checking whether we are running in a remote runner since the forwarding is not working there and we need the public IP
if m.Common.RPCDetails.RPCL2External == "127.0.0.1:0" {
m.Common.RPCDetails.RPCL2External = m.Common.Env.URLs["starknet-dev"][1]
}

// Setting RPC details

if *m.Common.TestConfig.Common.Network == "testnet" {
m.Common.RPCDetails.RPCL2External = *m.Common.TestConfig.Common.L2RPCUrl
m.Common.RPCDetails.RPCL2Internal = *m.Common.TestConfig.Common.L2RPCUrl
Expand Down

0 comments on commit 015aefa

Please sign in to comment.