Skip to content

feat(node-scripts): use CHAIN slug for Bera-Reth v1.4.1+#416

Merged
camembera merged 2 commits into
mainfrom
feat/node-scripts-chain-slug
Jun 23, 2026
Merged

feat(node-scripts): use CHAIN slug for Bera-Reth v1.4.1+#416
camembera merged 2 commits into
mainfrom
feat/node-scripts-chain-slug

Conversation

@camembera

Copy link
Copy Markdown
Contributor

Summary

  • Operators set CHAIN to mainnet or bepolia in env.sh
  • run-reth.sh and setup-reth.sh pass --chain $CHAIN (no genesis path, no bootnodes)
  • fetch-berachain-params.sh downloads CL files only, pinned to beacon-kit v1.4.1
  • fetch-berachain-snapshot.js accepts --network mainnet|bepolia

Test plan

  • source env.sh with CHAIN=mainnet and CHAIN=bepolia; invalid values exit 1
  • ./fetch-berachain-params.sh — seed dir has CL files only
  • ./setup-reth.sh with bera-reth v1.4.1+ on PATH
  • ./run-reth.sh invokes bera-reth node --chain mainnet|bepolia without --bootnodes

Operators set CHAIN to mainnet or bepolia. EL init and node use the
built-in chain spec; fetch params downloads CL files pinned to v1.4.1.
@camembera camembera merged commit 60ce4e2 into main Jun 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant