ethereum-optimism / superchain-registry

An index of chains which serves as the source of truth for who’s in the Superchain Ecosystem
MIT License
79 stars 92 forks source link

validation: detect and verify alt-da provider #406

Open geoknee opened 3 months ago

geoknee commented 3 months ago

If DA mode is not Ethereum

tessr commented 3 months ago

The idea here is to handle the blue part of the Alt-DA validation check tree:

image

We could display it like this:

superchain/configs/mainnet/lyra.toml

name = "Lyra Chain"
chain_id = 957
public_rpc = "https://rpc.lyra.finance"
sequencer_rpc = "https://rpc.lyra.finance"
explorer = "https://explorer.lyra.finance"
superchain_level = 1
standard_chain_candidate = false
data_availability_type = "eth-da" # covered in 410
data_availability_provider = "celestia" # this is the field to add and validate

I am also open to this being an enum.