Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
joanestebanr committed Jan 26, 2024
1 parent e9a240b commit aaee292
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
14 changes: 8 additions & 6 deletions config/cardonagenesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ package config
// CardonaNetworkConfigJSON is the hardcoded network configuration to be used for the official mainnet setup
const CardonaNetworkConfigJSON = `
{
"l1Config" : {
"chainId": 11155111,
"polygonZkEVMAddress": "0x32d33D5137a7cFFb54c5Bf8371172bcEc5f310ff",
"maticTokenAddress": "0x1850Dd35dE878238fb1dBa7aF7f929303AB6e8E4",
"polygonZkEVMGlobalExitRootAddress": "0xAd1490c248c5d3CbAE399Fd529b79B42984277DF"
"l1Config": {
"polygonZkEVMAddress": "0xA13Ddb14437A8F34897131367ad3ca78416d6bCa",
"polygonZkEVMBridgeAddress": "0x528e26b25a34a4A5d0dbDa1d57D318153d2ED582",
"polygonZkEVMGlobalExitRootAddress": "0xAd1490c248c5d3CbAE399Fd529b79B42984277DF",
"polTokenAddress": "0x6a7c3F4B0651d6DA389AD1d11D962ea458cDCA70",
"polygonRollupManagerAddress": "0x32d33D5137a7cFFb54c5Bf8371172bcEc5f310ff",
"chainId": 11155111,
},
"root": "0x91dfcdeb628dfdc51f3a2ee38cb17c78581e4e7ff91bcc2e327d24a9dfa46982",
"genesisBlockNumber": 4789190,
"root": "0x91dfcdeb628dfdc51f3a2ee38cb17c78581e4e7ff91bcc2e327d24a9dfa46982",
"genesis": [
{
"contractName": "PolygonZkEVMDeployer",
Expand Down
6 changes: 5 additions & 1 deletion config/environments/cardona/node.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Outputs = ["stderr"]
MaxArithmetics = 236585
MaxBinaries = 473170
MaxSteps = 7570538
MaxSHA256Hashes = 1596

[Pool]
IntervalToRefreshBlockedAddresses = "5m"
Expand Down Expand Up @@ -57,6 +58,7 @@ Port = 8545
ReadTimeout = "60s"
WriteTimeout = "60s"
MaxRequestsPerIPAndSecond = 5000
SequencerNodeURI = "https://rpc.devnet.zkevm-rpc.com"
EnableL2SuggestedGasPricePolling = false
[RPC.WebSockets]
Enabled = true
Expand All @@ -65,6 +67,8 @@ EnableL2SuggestedGasPricePolling = false
[Synchronizer]
SyncInterval = "2s"
SyncChunkSize = 100
TrustedSequencerURL = "" # If it is empty or not specified, then the value is read from the smc
L1SynchronizationMode = "sequential"

[MTClient]
URI = "zkevm-prover:50061"
Expand All @@ -90,4 +94,4 @@ Name = "prover_db"
Host = "zkevm-state-db"
Port = "5432"
EnableLog = false
MaxConns = 200
MaxConns = 200
3 changes: 2 additions & 1 deletion config/environments/mainnet/node.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ EnableL2SuggestedGasPricePolling = false
SyncInterval = "2s"
SyncChunkSize = 100
TrustedSequencerURL = "" # If it is empty or not specified, then the value is read from the smc
L1SynchronizationMode = "sequential"

[MTClient]
URI = "zkevm-prover:50061"
Expand All @@ -91,4 +92,4 @@ Name = "prover_db"
Host = "zkevm-state-db"
Port = "5432"
EnableLog = false
MaxConns = 200
MaxConns = 200
4 changes: 3 additions & 1 deletion config/environments/testnet/node.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ EnableL2SuggestedGasPricePolling = false
[Synchronizer]
SyncInterval = "2s"
SyncChunkSize = 100
TrustedSequencerURL = "" # If it is empty or not specified, then the value is read from the smc
L1SynchronizationMode = "sequential"

[MTClient]
URI = "zkevm-prover:50061"
Expand All @@ -92,4 +94,4 @@ Name = "prover_db"
Host = "zkevm-state-db"
Port = "5432"
EnableLog = false
MaxConns = 200
MaxConns = 200

0 comments on commit aaee292

Please sign in to comment.