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

Constant handling in ChainSpec #5631

Open
realbigsean opened this issue Apr 23, 2024 · 0 comments
Open

Constant handling in ChainSpec #5631

realbigsean opened this issue Apr 23, 2024 · 0 comments

Comments

@realbigsean
Copy link
Member

realbigsean commented Apr 23, 2024

Description

ChainSpec is made up of the "Configs" and "Presets" from the consensus spec, with some, but not all "Constants". Should we consolidate constants? I'd propose moving them to consensus/types/consts.rs. We could potentially avoid passing ChainSpec around places we shouldn't need it.

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

1 participant