Skip to content

Commit

Permalink
Auto-update fast sync settings (#7613)
Browse files Browse the repository at this point in the history
Co-authored-by: Kamil Chodoła <43241881+kamilchodola@users.noreply.github.com>
Co-authored-by: kamilchodola <kamilchodola@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 16, 2024
1 parent 5ce06bd commit 4f0e596
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-fast-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
uses: actions/checkout@v4
- name: Install dependencies
run: |
pip3 install setuptools
pip3 install emoji
pip3 install setuptools --break-system-packages
pip3 install emoji --break-system-packages
- name: Update config files
run: python3 scripts/syncSettings.py ${{ secrets.ETHERSCAN_API_KEY }}
- name: Create GitHub app token
Expand Down
4 changes: 2 additions & 2 deletions src/Nethermind/Nethermind.Runner/configs/base-mainnet.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"AncientBodiesBarrier": 105235063,
"AncientReceiptsBarrier": 105235063,
"FastSyncCatchUpHeightDelta": "10000000000",
"PivotNumber": 20680000,
"PivotHash": "0xf6a3f8571f1641e83c531e264dd1a805f8a1ecfe974a5d6cdf211fe16d35fad4",
"PivotNumber": 21130000,
"PivotHash": "0x3e1cdb3a013b113ba7c413feea14028dac20f6a367e4eb6c5b93ba2406b62755",
"PivotTotalDifficulty": "0",
"MaxAttemptsToUpdatePivot": 0
},
Expand Down
4 changes: 2 additions & 2 deletions src/Nethermind/Nethermind.Runner/configs/base-sepolia.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"FastSync": true,
"SnapSync": true,
"FastSyncCatchUpHeightDelta": "10000000000",
"PivotNumber": 16190000,
"PivotHash": "0x8a04494563509fbd72ca62cc947b265d3bfa8803a0dc4d1450672853efbc6817",
"PivotNumber": 16640000,
"PivotHash": "0x826380d1472683f54980776743190b268c3d7da94ff775f61997fc7dbc5919c1",
"PivotTotalDifficulty": "0",
"MaxAttemptsToUpdatePivot": 0
},
Expand Down
4 changes: 2 additions & 2 deletions src/Nethermind/Nethermind.Runner/configs/chiado.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"Sync": {
"FastSync": true,
"SnapSync": true,
"PivotNumber": 12130000,
"PivotHash": "0x906cdf95d8d77c3bca1cca7c6f832cf15b3b39da3bb9c2c9308c79e4f5bde2cf",
"PivotNumber": 12310000,
"PivotHash": "0xc358086245b073027dbe0640c3647b446a5431d2fbcaeeaa51a204d62f5bfb47",
"PivotTotalDifficulty": "231708131825107706987652208063906496124457284",
"FastSyncCatchUpHeightDelta": "10000000000",
"UseGethLimitsInFastBlocks": false
Expand Down
6 changes: 3 additions & 3 deletions src/Nethermind/Nethermind.Runner/configs/energyweb.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
},
"Sync": {
"FastSync": true,
"PivotNumber": 32180000,
"PivotHash": "0xc962101318876bc4728b6c491a0a29117dfce9c2d27800008bd3d74d11fd1aa5",
"PivotTotalDifficulty": "10950286567515799754251394867154301044276410309",
"PivotNumber": 32340000,
"PivotHash": "0xc0a0cb30d591c3263fa0d317e3839e45f62d99cb096757e54fe9af65f5bd80ae",
"PivotTotalDifficulty": "11004731746223149908405534804343383958109034440",
"UseGethLimitsInFastBlocks": false,
"FastSyncCatchUpHeightDelta": 10000000000
},
Expand Down
6 changes: 3 additions & 3 deletions src/Nethermind/Nethermind.Runner/configs/exosama.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
},
"Sync": {
"FastSync": true,
"PivotNumber": 12340000,
"PivotHash": "0xab44a093519fd72562c9a93fe5cdaaa8d5f171b90edeca811003324eff6964a3",
"PivotTotalDifficulty": "4199084407804380639138042655708019729009213285",
"PivotNumber": 12520000,
"PivotHash": "0x662472aa84289ecb5fd53369f4f0c0f088199b3df4223599257bcf7d92ddf543",
"PivotTotalDifficulty": "4260335233850149562561450085045738007070933285",
"UseGethLimitsInFastBlocks": false,
"FastSyncCatchUpHeightDelta": 10000000000
},
Expand Down
4 changes: 2 additions & 2 deletions src/Nethermind/Nethermind.Runner/configs/gnosis.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"Sync": {
"FastSync": true,
"SnapSync": true,
"PivotNumber": 36340000,
"PivotHash": "0x9fefe19997f398430c979a36b70d734997db87461b24084f303444430a7d99ac",
"PivotNumber": 36520000,
"PivotHash": "0x380d77ea4f36e3ef2f9d3536772b43ceaa23c64ff4013492f23e90be2402ef68",
"PivotTotalDifficulty": "8626000110427538733349499292577475819600160930",
"UseGethLimitsInFastBlocks": false,
"FastSyncCatchUpHeightDelta": 10000000000
Expand Down
6 changes: 3 additions & 3 deletions src/Nethermind/Nethermind.Runner/configs/joc-mainnet.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"Sync": {
"FastSync": true,
"SnapSync": true,
"PivotNumber": 13710000,
"PivotHash": "0x10c7117af99c830c485c9dee83fea59ef8bc9fe74fe93ce393ef1ae06e8ddb50",
"PivotTotalDifficulty": "27138394"
"PivotNumber": 13890000,
"PivotHash": "0x1ed87295c8a93a1cb14f5871363452edd1c34561964b6cfd1c59184a1187c4cd",
"PivotTotalDifficulty": "27453101"
},
"Metrics": {
"NodeName": "JOC-Mainnet"
Expand Down
6 changes: 3 additions & 3 deletions src/Nethermind/Nethermind.Runner/configs/joc-testnet.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"Sync": {
"FastSync": true,
"SnapSync": true,
"PivotNumber": 7310000,
"PivotHash": "0xe277d991a85ff41c7f1c45940a871a00ded49407b446ce6ab337b4820f6c903a",
"PivotTotalDifficulty": "13535348"
"PivotNumber": 7490000,
"PivotHash": "0x2b4e6a42a6b559fee61f21110fcd88f7f9c0c30e9d7704d27638f95237e7a85e",
"PivotTotalDifficulty": "13782418"
},
"Metrics": {
"NodeName": "JOC-Testnet"
Expand Down
4 changes: 2 additions & 2 deletions src/Nethermind/Nethermind.Runner/configs/mainnet.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"Sync": {
"FastSync": true,
"SnapSync": true,
"PivotNumber": 20901000,
"PivotHash": "0xfe2488ddbad3900b2e647598014b1eb5d3389e8ad7111cb612573a8a3bc1e834",
"PivotNumber": 20976000,
"PivotHash": "0x7841f9f6b15a11c4d7e3a291ced640f2a3d7ff55de9ab51883e3f5396bd240db",
"PivotTotalDifficulty": "58750003716598352816469",
"FastSyncCatchUpHeightDelta": "10000000000"
},
Expand Down
8 changes: 4 additions & 4 deletions src/Nethermind/Nethermind.Runner/configs/op-mainnet.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"AncientBodiesBarrier": 105235063,
"AncientReceiptsBarrier": 105235063,
"FastSyncCatchUpHeightDelta": "10000000000",
"PivotNumber": 126270000,
"PivotHash": "0xd3404c9404e47cbbcd688c1620119495cad1dab37631b556cbbb6d4ce0cea54f",
"PivotTotalDifficulty": "210470125",
"PivotNumber": 126730000,
"PivotHash": "0x09e633ab9904950f6830196b9141b625aa70df43a3b619927aa1017060e39978",
"PivotTotalDifficulty": "0",
"MaxAttemptsToUpdatePivot": 0
},
"Discovery": {
Expand All @@ -42,4 +42,4 @@
"Optimism": {
"SequencerUrl": "https://mainnet-sequencer.optimism.io"
}
}
}
4 changes: 2 additions & 2 deletions src/Nethermind/Nethermind.Runner/configs/op-sepolia.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"FastSync": true,
"SnapSync": true,
"FastSyncCatchUpHeightDelta": "10000000000",
"PivotNumber": 18170000,
"PivotHash": "0xd006b425a97e05178570f69ec445e513ed076e07bdc7f929c0ccbef0ac6981ac",
"PivotNumber": 18630000,
"PivotHash": "0x8a77b55ae1ef0792f070c048cee04d830e5463f14b7f9a3e685890e97e8d0ed1",
"PivotTotalDifficulty": "0",
"MaxAttemptsToUpdatePivot": 0
},
Expand Down
4 changes: 2 additions & 2 deletions src/Nethermind/Nethermind.Runner/configs/sepolia.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"FastSync": true,
"SnapSync": true,
"UseGethLimitsInFastBlocks": true,
"PivotNumber": 6821000,
"PivotHash": "0x7c5a0544e9eb44f09d977808fef54a3c7bdcd3d88105117f70cc890bcb32f723",
"PivotNumber": 6885000,
"PivotHash": "0x4444447abec31fe6d9db967ede00e778b80a895933d7b6c8f321fb9d533d54db",
"PivotTotalDifficulty": "17000018015853232",
"FastSyncCatchUpHeightDelta": "10000000000"
},
Expand Down
6 changes: 3 additions & 3 deletions src/Nethermind/Nethermind.Runner/configs/volta.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
},
"Sync": {
"FastSync": true,
"PivotNumber": 29530000,
"PivotHash": "0xd4c57f73fbea59f81e88d3325afe1c8f09e095e477b901c92fad7ea6beb9c595",
"PivotTotalDifficulty": "10048538295175312826073452157460115283920659540",
"PivotNumber": 29640000,
"PivotHash": "0x0d82a28c3ff2df03f03fc27e5dd70ca1d2f10dd0f9e283f7ebb9823253f3b053",
"PivotTotalDifficulty": "10085969355536616057054423364277609787180535520",
"UseGethLimitsInFastBlocks": false,
"FastSyncCatchUpHeightDelta": 10000000000
},
Expand Down

0 comments on commit 4f0e596

Please sign in to comment.