Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wish for clarification if "config" field in genesis files can be used #901

Open
cakevm opened this issue Feb 20, 2025 · 0 comments
Open

Comments

@cakevm
Copy link

cakevm commented Feb 20, 2025

Most Genesis JSON files have null as config, but Unichain, for example, has a populated field. I came across #763 but am unsure if this "inconsistency" is intended and what the expected behavior will be in the future. Will only new chains have this config section, or will all Genesis files be adapted?

File: superchain/extra/genesis/mainnet/base.json.zst:

{
  "config": null,
  ...
}

File: superchain/extra/genesis/mainnet/unichain.json.zst:

{
  "config": {
    "chainId": 130,
    "homesteadBlock": 0,  
  ...
  }
  ..
}

ref: Working currently on parsing those files in reth here: paradigmxyz/reth#14562

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant