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

State: refactor common root functions #8630

Merged
merged 4 commits into from
Mar 18, 2021

Conversation

terencechain
Copy link
Member

@terencechain terencechain commented Mar 18, 2021

What type of PR is this?

Refactor

What does this PR do? Why is it needed?

This PR refactors out the common compute root functions for eth1Data, pendingAttestation and validator. The reason to extract these functions into stateutil pkg so they can be reused later for the hard fork 1 beacon state

Which issues(s) does this PR fix?

Part of #8584

Other notes for review

Tested on my 10 validators set up on Pyrmont

@terencechain terencechain merged commit 799a4d8 into develop Mar 18, 2021
@delete-merged-branch delete-merged-branch bot deleted the refactor-common-root-functions branch March 18, 2021 23:29
@terencechain terencechain mentioned this pull request Mar 21, 2021
62 tasks
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.

2 participants