Skip to content

Commit

Permalink
Update networks (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcauchi authored Sep 11, 2024
1 parent 84ab1ed commit e356557
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions lib/networks/known_networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,8 @@ var (
Timeout: blockchain.StrDuration{Duration: 3 * time.Minute},
MinimumConfirmations: 1,
GasEstimationBuffer: 0,
FinalityDepth: 400,
DefaultGasLimit: 6000000,
}

ScrollMainnet = blockchain.EVMNetwork{
Expand All @@ -524,6 +526,8 @@ var (
Timeout: blockchain.StrDuration{Duration: 3 * time.Minute},
MinimumConfirmations: 1,
GasEstimationBuffer: 0,
FinalityDepth: 400,
DefaultGasLimit: 6000000,
}

CeloAlfajores = blockchain.EVMNetwork{
Expand Down Expand Up @@ -615,6 +619,8 @@ var (
Timeout: blockchain.StrDuration{Duration: 3 * time.Minute},
MinimumConfirmations: 0,
GasEstimationBuffer: 1000,
FinalityDepth: 200,
DefaultGasLimit: 6000000,
}

LineaMainnet blockchain.EVMNetwork = blockchain.EVMNetwork{
Expand All @@ -627,6 +633,8 @@ var (
Timeout: blockchain.StrDuration{Duration: 3 * time.Minute},
MinimumConfirmations: 1,
GasEstimationBuffer: 1000,
FinalityDepth: 200,
DefaultGasLimit: 6000000,
}

PolygonZkEvmGoerli = blockchain.EVMNetwork{
Expand All @@ -651,6 +659,8 @@ var (
Timeout: blockchain.StrDuration{Duration: time.Minute},
MinimumConfirmations: 0,
GasEstimationBuffer: 1000,
FinalityTag: true,
DefaultGasLimit: 8000000,
}

PolygonZkEvmCardona = blockchain.EVMNetwork{
Expand All @@ -663,6 +673,8 @@ var (
Timeout: blockchain.StrDuration{Duration: time.Minute},
MinimumConfirmations: 0,
GasEstimationBuffer: 1000,
FinalityTag: true,
DefaultGasLimit: 8000000,
}

WeMixTestnet blockchain.EVMNetwork = blockchain.EVMNetwork{
Expand Down Expand Up @@ -964,6 +976,7 @@ var (
Timeout: blockchain.StrDuration{Duration: 3 * time.Minute},
MinimumConfirmations: 1,
GasEstimationBuffer: 10000,
FinalityTag: true,
DefaultGasLimit: 6000000,
}

Expand All @@ -977,6 +990,7 @@ var (
Timeout: blockchain.StrDuration{Duration: 3 * time.Minute},
MinimumConfirmations: 1,
GasEstimationBuffer: 10000,
FinalityTag: true,
DefaultGasLimit: 6000000,
}

Expand Down Expand Up @@ -1059,8 +1073,8 @@ var (
"ASTAR_SHIBUYA": AstarShibuya,
"ASTAR_MAINNET": AstarMainnet,
"HEDERA_TESTNET": HederaTestnet,
"X_LAYER_SEPOLIA": XLayerSepolia,
"X_LAYER_MAINNET": XLayerMainnet,
"XLAYER_SEPOLIA": XLayerSepolia,
"XLAYER_MAINNET": XLayerMainnet,
"TREASURE_RUBY": TreasureRuby,
}
)
Expand Down

0 comments on commit e356557

Please sign in to comment.