Skip to content

Commit

Permalink
Added sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
smickovskid committed Feb 28, 2024
1 parent 2fb4e96 commit fb7fa08
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integration-tests/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ import (

var (
chainName = "starknet"
chainId = "SN_GOERLI"
chainIdLocalNet = "SN_GOERLI"
chainIdTestnet = "SN_SEPOLIA"
DefaultL2RPCInternal = "http://starknet-dev:5000"
)

Expand Down Expand Up @@ -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 {
Expand All @@ -79,6 +81,7 @@ func New(testConfig *testconfig.TestConfig) *Common {

if *testConfig.Common.Network == "testnet" {
l2RpcUrl = *testConfig.Common.L2RPCUrl
chainId = chainIdTestnet
}

c = &Common{
Expand Down

0 comments on commit fb7fa08

Please sign in to comment.