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

fix: manually override certain chainconfig fields for adminNodeInfo #8874

Merged
merged 1 commit into from
Jun 16, 2024

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Jun 16, 2024

adminNodeInfo should return the genesis' chainconfig object which is usually missing but has a few fields that are emitted,
this ensures we include the proper chain id and ttd info, but ideally this should be solved for the constants as well like modifying the genesis jsons we use for parsing:

genesis: serde_json::from_str(include_str!("../../res/genesis/holesky.json"))
.expect("Can't deserialize Holesky genesis json"),

@mattsse mattsse requested a review from Rjected as a code owner June 16, 2024 17:48
@mattsse mattsse added C-bug An unexpected or incorrect behavior A-rpc Related to the RPC implementation labels Jun 16, 2024
@mattsse mattsse added this pull request to the merge queue Jun 16, 2024
Merged via the queue into main with commit ce0559d Jun 16, 2024
30 checks passed
@mattsse mattsse deleted the matt/set-a-few-chainconfig-fields-correctly branch June 16, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rpc Related to the RPC implementation C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants