paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
4.01k stars 1.24k forks source link

Support for OP/Base Sepolia #5653

Closed quickchase closed 11 months ago

quickchase commented 12 months ago

Describe the feature

Can you add op_sepolia and base_sepolia to the list of built in supported chains?

Additional context

Both Optimism and Base have Sepolia testnets and Goerli is "EoL"

mattsse commented 12 months ago

@clabby I believe this is already the case?

clabby commented 12 months ago

Support is there, but built-in chainspecs are not.

clabby commented 12 months ago

For anyone that may take up this issue, genesis files can be found within the superchain-registry

yash-atreya commented 12 months ago

@clabby @mattsse Willing to take this up. Just need some guidance on where I should add the ChainSpecs. If you could guide me on where the current op/base mainnet specs are implemented, I'll just follow that implementation.

mattsse commented 12 months ago

for chainspec ptal at the OP chainspecs:

https://github.com/paradigmxyz/reth/blob/6f7d6d50160e0dbb84de5b74f9794e14cc04406b/crates/primitives/src/chain/spec.rs#L245-L245

Chomtana commented 11 months ago

Hi @mattsse , I have added base sepolia support on pull request #5697

It would be very pleasure if you can review that

Sorry for frontrunning @yash-atreya as I need to sync base sepolia node to be sync asap