Skip to content

Commit

Permalink
minor improvements on the config (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaubennassar authored Oct 31, 2024
1 parent 7a84588 commit 8481a35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
12 changes: 5 additions & 7 deletions config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package config
const DefaultMandatoryVars = `
L1URL = "http://localhost:8545"
L2URL = "http://localhost:8123"
L1AggOracleURL = "http://test-aggoracle-l1:8545"
L2AggOracleURL = "http://test-aggoracle-l2:8545"
AggLayerURL = "https://agglayer-dev.polygon.technology"
ForkId = 9
Expand Down Expand Up @@ -219,18 +217,18 @@ GlobalExitRootAddr="{{NetworkConfig.L1.GlobalExitRootManagerAddr}}"
RollupManagerAddr = "{{NetworkConfig.L1.RollupManagerAddr}}"
SyncBlockChunkSize=10
BlockFinality="LatestBlock"
URLRPCL1="{{L1AggOracleURL}}"
URLRPCL1="{{L1URL}}"
WaitForNewBlocksPeriod="100ms"
InitialBlock=0
[AggOracle]
TargetChainType="EVM"
URLRPCL1="{{L1AggOracleURL}}"
URLRPCL1="{{L1URL}}"
BlockFinality="FinalizedBlock"
WaitPeriodNextGER="100ms"
[AggOracle.EVMSender]
GlobalExitRootL2="{{L2Config.GlobalExitRootAddr}}"
URLRPCL2="{{L2AggOracleURL}}"
URLRPCL2="{{L2URL}}"
ChainIDL2=1337
GasOffset=0
WaitPeriodMonitorTx="100ms"
Expand All @@ -251,7 +249,7 @@ WaitPeriodNextGER="100ms"
SafeStatusL1NumberOfBlocks = 5
FinalizedStatusL1NumberOfBlocks = 10
[AggOracle.EVMSender.EthTxManager.Etherman]
URL = "{{L2AggOracleURL}}"
URL = "{{L2URL}}"
MultiGasProvider = false
L1ChainID = {{NetworkConfig.L1.L1ChainID}}
HTTPHeaders = []
Expand Down Expand Up @@ -290,7 +288,7 @@ GasOffset = 0
SafeStatusL1NumberOfBlocks = 5
FinalizedStatusL1NumberOfBlocks = 10
[ClaimSponsor.EthTxManager.Etherman]
URL = "{{L2AggOracleURL}}"
URL = "{{L2URL}}"
MultiGasProvider = false
L1ChainID = {{NetworkConfig.L1.L1ChainID}}
HTTPHeaders = []
Expand Down
1 change: 1 addition & 0 deletions logerror
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ok github.com/0xPolygon/cdk/l1infotreesync 2.438s
2 changes: 0 additions & 2 deletions test/config/kurtosis-cdk-node-config.toml.template
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PathRWData = "{{.path_rw_data}}/"
L1URL="{{.l1_rpc_url}}"
L2URL="http://{{.l2_rpc_name}}{{.deployment_suffix}}:{{.zkevm_rpc_http_port}}"
L1AggOracleURL = "http://test-aggoracle-l1:8545"
L2AggOracleURL = "http://test-aggoracle-l2:8545"
AggLayerURL="{{.agglayer_url}}"

ForkId = {{.zkevm_rollup_fork_id}}
Expand Down

0 comments on commit 8481a35

Please sign in to comment.