From fb7fa0870a1bc30779ca75ed7efd929ffb61b468 Mon Sep 17 00:00:00 2001 From: Damjan Smickovski Date: Wed, 28 Feb 2024 14:39:22 +0100 Subject: [PATCH] Added sepolia --- integration-tests/common/common.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integration-tests/common/common.go b/integration-tests/common/common.go index 757034b96..fdfa2ceeb 100644 --- a/integration-tests/common/common.go +++ b/integration-tests/common/common.go @@ -34,7 +34,8 @@ import ( var ( chainName = "starknet" - chainId = "SN_GOERLI" + chainIdLocalNet = "SN_GOERLI" + chainIdTestnet = "SN_SEPOLIA" DefaultL2RPCInternal = "http://starknet-dev:5000" ) @@ -71,6 +72,7 @@ type RPCDetails struct { func New(testConfig *testconfig.TestConfig) *Common { var c *Common l2RpcUrl := DefaultL2RPCInternal + chainId := chainIdLocalNet duration, err := time.ParseDuration(*testConfig.OCR2.TestDuration) if err != nil { @@ -79,6 +81,7 @@ func New(testConfig *testconfig.TestConfig) *Common { if *testConfig.Common.Network == "testnet" { l2RpcUrl = *testConfig.Common.L2RPCUrl + chainId = chainIdTestnet } c = &Common{