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

Hardcoded GenesisValidatorsRoot #14365

Merged
merged 15 commits into from
Aug 26, 2024

Conversation

Redidacove
Copy link
Contributor

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

@prestonvanloon
Copy link
Member

I added a test for sanity check on the mainnet value

@Redidacove
Copy link
Contributor Author

I added a test for sanity check on the mainnet value

Can you share the command to run these tests my vscode test extension is not working for this

@Redidacove
Copy link
Contributor Author

I added a test for sanity check on the mainnet value

Thanks 🫡

@prestonvanloon
Copy link
Member

Thanks for this PR! It resolves part of #14364. Will you be sending another PR that uses this config value?

@prestonvanloon
Copy link
Member

I added a test for sanity check on the mainnet value

Can you share the command to run these tests my vscode test extension is not working for this

https://docs.prylabs.network/docs/contribute/contribution-guidelines#running-bazel-tests

@prestonvanloon prestonvanloon added this pull request to the merge queue Aug 26, 2024
Merged via the queue into prysmaticlabs:develop with commit 2399451 Aug 26, 2024
18 checks passed
@Redidacove
Copy link
Contributor Author

Thanks for this PR! It resolves part of #14364. Will you be sending another PR that uses this config value?

I can try for sure

james-prysm pushed a commit that referenced this pull request Sep 6, 2024
* 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]>
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.

4 participants