Skip to content

Commit

Permalink
Set chiado and xdai Merge.SecondsPerSlot=5 (#4880)
Browse files Browse the repository at this point in the history
* Set chiado `Merge.SecondsPerSlot=5`

* Update xdai configs with `Merge.SecondsPerSlot=5`

This commit is not relevant before the merge.
  • Loading branch information
jmederosalvarado authored and kamilchodola committed Nov 14, 2022
1 parent 380bf9c commit c1e61c5
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 12 deletions.
5 changes: 4 additions & 1 deletion src/Nethermind/Nethermind.Runner/configs/chiado.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"PivotTotalDifficulty": "173544007129678616366321049790201787508836548",
"FastSyncCatchUpHeightDelta": "10000000000"
},
"Merge": {
"SecondsPerSlot": 5
},
"Aura": {
"TxPriorityContractAddress": "0x4100000000000000000000000000000000000000",
"ForceSealing": true
Expand All @@ -35,4 +38,4 @@
16
]
}
}
}
4 changes: 2 additions & 2 deletions src/Nethermind/Nethermind.Runner/configs/chiado_archive.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"ForceSealing": true
},
"Merge": {
"Enabled": false
"SecondsPerSlot": 5
},
"AuRaMerge": {
"Enabled": false
Expand All @@ -36,4 +36,4 @@
16
]
}
}
}
5 changes: 4 additions & 1 deletion src/Nethermind/Nethermind.Runner/configs/xdai.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"UseGethLimitsInFastBlocks": false,
"FastSyncCatchUpHeightDelta": 10000000000
},
"Merge": {
"SecondsPerSlot": 5
},
"Mining": {
"MinGasPrice": "1000000000"
},
Expand All @@ -31,4 +34,4 @@
16
]
}
}
}
5 changes: 4 additions & 1 deletion src/Nethermind/Nethermind.Runner/configs/xdai_aa.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"AccountAbstraction"
]
},
"Merge": {
"SecondsPerSlot": 5
},
"AccountAbstraction": {
"Enabled": true,
"EntryPointContractAddresses": "0xD3ebD80aFf10B54795708Ece1d6D3253e3258A05"
Expand Down Expand Up @@ -45,4 +48,4 @@
16
]
}
}
}
3 changes: 3 additions & 0 deletions src/Nethermind/Nethermind.Runner/configs/xdai_archive.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"Mining": {
"MinGasPrice": "1000000000"
},
"Merge": {
"SecondsPerSlot": 5
},
"EthStats": {
"Name": "Nethermind xDai"
},
Expand Down
5 changes: 4 additions & 1 deletion src/Nethermind/Nethermind.Runner/configs/xdai_mev.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"UseGethLimitsInFastBlocks": false,
"FastSyncCatchUpHeightDelta": 10000000000
},
"Merge": {
"SecondsPerSlot": 5
},
"Mining": {
"MinGasPrice": "1000000000"
},
Expand All @@ -35,4 +38,4 @@
"Enabled": true,
"MaxMergedBundles": 3
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Init": {
"Init": {
"IsMining": true,
"ChainSpecPath": "chainspec/xdai_nethermind_testnet.json",
"GenesisHash": "0x0ae5a04b393944ed5c796c8a8c7bf49e163b4073c52e53d7aed7390842d0077c",
Expand Down Expand Up @@ -33,6 +33,9 @@
"UseGethLimitsInFastBlocks": false,
"FastSyncCatchUpHeightDelta": 10000000000
},
"Merge": {
"SecondsPerSlot": 5
},
"Mining": {
"MinGasPrice": "1000000000"
},
Expand Down
7 changes: 5 additions & 2 deletions src/Nethermind/Nethermind.Runner/configs/xdai_testnet.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Init": {
"Init": {
"ChainSpecPath": "chainspec/xdai_testnet.json",
"GenesisHash": "0xe3a527b7597f94a4c5ffd7808d2542b011c6c21c7e8df6f7564deb7614e89fe7",
"BaseDbPath": "nethermind_db/xdai_testnet",
Expand Down Expand Up @@ -41,13 +41,16 @@
"Secret": "NCVJlJOl4Z",
"Contact": "security@poanetwork.com"
},
"Merge": {
"SecondsPerSlot": 5
},
"Metrics": {
"NodeName": "Validator4 on xdaitestnet",
"Enabled": true,
"PushGatewayUrl": "https://metrics.nethermind.io/metrics/validators-Ifa0eigee0deigah8doo5aisaeNa8huichahk5baip2daitholaeh4xiey0iec1vai6Nahxae1aeregul5Diehae7aeThengei7X",
"IntervalSeconds": 30
},
"Aura": {
"Aura": {
"TxPriorityContractAddress": "0x4100000000000000000000000000000000000000"
},
"Mining": {
Expand Down
3 changes: 3 additions & 0 deletions src/Nethermind/Nethermind.Runner/configs/xdai_themerge.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
"Secret": "secret",
"Contact": "hello@nethermind.io"
},
"Merge": {
"SecondsPerSlot": 5
},
"Metrics": {
"NodeName": "xDai TheMerge",
"Enabled": false,
Expand Down
9 changes: 6 additions & 3 deletions src/Nethermind/Nethermind.Runner/configs/xdai_validator.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Init": {
"Init": {
"StoreReceipts" : false,
"IsMining": true,
"ChainSpecPath": "chainspec/xdai.json",
Expand All @@ -10,7 +10,7 @@
},
"Sync": {
"FastSync": true,
"DownloadReceiptsInFastSync": false,
"DownloadReceiptsInFastSync": false,
"PivotNumber" : 8000000,
"PivotHash" : "0xb27a82d1cd3cdbfd5cdb276bfb46bc4fd71776b47045081f83c732e78e3e1089",
"PivotTotalDifficulty" : "2722258935367507707706996859000000000000000000",
Expand All @@ -24,10 +24,13 @@
"EthStats": {
"Name": "Nethermind xDai"
},
"Merge": {
"SecondsPerSlot": 5
},
"Metrics": {
"NodeName": "xDai Validator"
},
"Bloom": {
"Index" : false
}
}
}

0 comments on commit c1e61c5

Please sign in to comment.