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

Add CONFIG_NAME to configs #2784

Merged
merged 1 commit into from
Jan 11, 2022
Merged

Add CONFIG_NAME to configs #2784

merged 1 commit into from
Jan 11, 2022

Conversation

arnetheduck
Copy link
Contributor

Runtime configurations apply to a certain network and the name of that
network is useful for humans such that they can talk about it.

Some of the existing configs already include a CONFIG_NAME toggle -
might as well add it here as well and avoid some confusion - this name
above all becomes useful in the beacon API.

By extension, the CONFIG_NAME config will appear in the beacon api as
a result of being defined here.

Runtime configurations apply to a certain network and the name of that
network is useful for humans such that they can talk about it.

Some of the existing configs already include a `CONFIG_NAME` toggle -
might as well add it here as well and avoid some confusion - this name
above all becomes useful in the beacon API.

By extension, the `CONFIG_NAME` config will appear in the beacon api as
a result of being defined here.
Copy link
Contributor

@hwwhww hwwhww left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was removed when we had config file per fork per network, e.g., mainnet/phase0.yaml, mainnet/altair.yaml, etc. (#2332)

I think it's okay to add it back since now we only have one config file per network, but let's leave this issue open for a couple days in case there is any objection.

@ajsutton
Copy link
Contributor

ajsutton commented Jan 1, 2022

I think Teku has added this to all our network config files anyway to preserve backwards compatibility of the config REST API endpoint.

@djrtwo djrtwo merged commit a1719f9 into ethereum:dev Jan 11, 2022
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

Successfully merging this pull request may close these issues.

5 participants