-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate Superchain Registry chain support #8105
Open
emlautarom1
wants to merge
35
commits into
master
Choose a base branch
from
feat/superchain-registry
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
1596721
Initial scripts
emlautarom1 9b40dfa
Remove `codeHashes` indirection
emlautarom1 372c69c
Use `BytesIO` instead of `StringIO` for binary data
emlautarom1 38efd5c
Merge into single script
emlautarom1 47c0c1e
Rename `folder` to `directory`
emlautarom1 80d6f33
Store downloads in temp folder
emlautarom1 577336f
Use tempdir for intermediate `.json` files
emlautarom1 b3eaa22
Import ordering
emlautarom1 91b38d9
Generate Nethermind runner configs
emlautarom1 706f51e
Use `listdir` instead of `walk`
emlautarom1 6f97b13
Initial Zstd-aware loader
emlautarom1 86642ec
Use `Limbo` logger
emlautarom1 d7fb8e3
Use file format aware loader everywhere
emlautarom1 d718e5e
Remove hardcoded `GenesisHash`
emlautarom1 215db37
Added copy generated files script
emlautarom1 4b70457
Generated files
emlautarom1 b83e942
Update bootnodes
emlautarom1 e3ff58a
Map `alloc` to `accounts`
emlautarom1 63abda3
Update autogen ChainSpec files
emlautarom1 af5520a
Remove `enr` entries
emlautarom1 785c1c6
Update autogen files
emlautarom1 3e63d56
Use provided serializer
emlautarom1 d47804f
Include `GenesisHash`
emlautarom1 f704108
Update autogen files
emlautarom1 700d891
Update autogen files
emlautarom1 486c486
Fix `genesis` fields
emlautarom1 cdf5d29
Use `4` spaces for Python files
emlautarom1 0328aec
Merge branch 'master' into feat/superchain-registry
emlautarom1 2124634
Cleanup script
emlautarom1 6b58743
Update autogen files
emlautarom1 238ae6d
Replace `zstd` with `zst`
emlautarom1 b855822
Formatting
emlautarom1 40baa40
Fix E2E tests
emlautarom1 1e8abec
Delete old `zstd` files
emlautarom1 ff0d242
Merge branch 'master' into feat/superchain-registry
emlautarom1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
cp output/chainspec/* ../src/Nethermind/Chains | ||
cp output/runner/* ../src/Nethermind/Nethermind.Runner/configs |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
src/Nethermind/Nethermind.Runner/configs/arena-z-mainnet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/NethermindEth/core-scripts/refs/heads/main/schemas/config.json", | ||
"Init": { | ||
"ChainSpecPath": "chainspec/arena-z-mainnet.json.zst", | ||
"GenesisHash": "0xbe7112a730b1fae8d94115271adc600559ebe87c75df1d2df9414bd7298eb7fb", | ||
"BaseDbPath": "nethermind_db/arena-z-mainnet", | ||
"LogFileName": "arena-z-mainnet.logs.txt" | ||
}, | ||
"TxPool": { | ||
"BlobsSupport": "Disabled" | ||
}, | ||
"Sync": { | ||
"FastSync": true, | ||
"SnapSync": true, | ||
"FastSyncCatchUpHeightDelta": "10000000000" | ||
}, | ||
"Discovery": { | ||
"DiscoveryVersion": "V5" | ||
}, | ||
"JsonRpc": { | ||
"Enabled": true, | ||
"Port": 8545, | ||
"EnginePort": 8551 | ||
}, | ||
"Pruning": { | ||
"PruningBoundary": 192 | ||
}, | ||
"Blocks": { | ||
"SecondsPerSlot": 2 | ||
}, | ||
"Merge": { | ||
"Enabled": true | ||
}, | ||
"Optimism": { | ||
"SequencerUrl": "https://rpc.arena-z.gg" | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
src/Nethermind/Nethermind.Runner/configs/automata-mainnet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/NethermindEth/core-scripts/refs/heads/main/schemas/config.json", | ||
"Init": { | ||
"ChainSpecPath": "chainspec/automata-mainnet.json.zst", | ||
"GenesisHash": "0x11bb44203634fd85571a9971e6f09d633cbf22826681f809283081ff4e1b5192", | ||
"BaseDbPath": "nethermind_db/automata-mainnet", | ||
"LogFileName": "automata-mainnet.logs.txt" | ||
}, | ||
"TxPool": { | ||
"BlobsSupport": "Disabled" | ||
}, | ||
"Sync": { | ||
"FastSync": true, | ||
"SnapSync": true, | ||
"FastSyncCatchUpHeightDelta": "10000000000" | ||
}, | ||
"Discovery": { | ||
"DiscoveryVersion": "V5" | ||
}, | ||
"JsonRpc": { | ||
"Enabled": true, | ||
"Port": 8545, | ||
"EnginePort": 8551 | ||
}, | ||
"Pruning": { | ||
"PruningBoundary": 192 | ||
}, | ||
"Blocks": { | ||
"SecondsPerSlot": 2 | ||
}, | ||
"Merge": { | ||
"Enabled": true | ||
}, | ||
"Optimism": { | ||
"SequencerUrl": "https://automata-mainnet.alt.technology/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the missing file header: