-
Notifications
You must be signed in to change notification settings - Fork 985
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
Hardcoded GenesisValidatorsRoot #14365
Hardcoded GenesisValidatorsRoot #14365
Conversation
f1199d8
to
efa5e0c
Compare
I added a test for sanity check on the mainnet value |
524dec0
to
19e545a
Compare
Can you share the command to run these tests my vscode test extension is not working for this |
Thanks 🫡 |
Thanks for this PR! It resolves part of #14364. Will you be sending another PR that uses this config value? |
https://docs.prylabs.network/docs/contribute/contribution-guidelines#running-bazel-tests |
I can try for sure |
* hardcoded GenesisValidatorsRoot * added in mainnet.config * updated desc * added it in all testnets * minor change * added roots instead of empty and fn to compute byte32 from hex * added in e2e testnet_config * fixed test * minor fix * removed fn and added bytes output directly * Add test for genesis validator root mainnet value * removed root from minimal and testnet * removed root * Update CHANGELOG.md * Fix bazel package visiblity --------- Co-authored-by: Preston Van Loon <[email protected]> Co-authored-by: Preston Van Loon <[email protected]>
What type of PR is this?
Issue fix
What does this PR do? Why is it needed?
Adds GenesisValidatorRoot in config for using in all the places because it is always constant and it is cumbersome to fetch it from the state always.
Which issues(s) does this PR fix?
Just fixing issue #14364