Skip to content
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

validation: detect and verify alt-da provider #406

Open
geoknee opened this issue Jul 19, 2024 · 1 comment
Open

validation: detect and verify alt-da provider #406

geoknee opened this issue Jul 19, 2024 · 1 comment
Assignees

Comments

@geoknee
Copy link
Collaborator

geoknee commented Jul 19, 2024

If DA mode is not Ethereum

  • create new file that stores mapping of alt-da byte to provider name
  • add-chain: env-var to specify alt-da byte
  • validation: check alt-da byte and verify it matches location where data is posted.
@bitwiseguy bitwiseguy changed the title detect and validate DA provider validatidation: detect and verify alt-da provider Jul 24, 2024
@bitwiseguy bitwiseguy changed the title validatidation: detect and verify alt-da provider validation: detect and verify alt-da provider Jul 24, 2024
@tessr
Copy link
Contributor

tessr commented Jul 25, 2024

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.

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

No branches or pull requests

3 participants