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

Capella State Detection #11862

Merged
merged 16 commits into from
Jan 13, 2023
Merged

Capella State Detection #11862

merged 16 commits into from
Jan 13, 2023

Conversation

kasey
Copy link
Contributor

@kasey kasey commented Jan 11, 2023

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

Adds support for starting from capella genesis. Unfortunately we have to add some new code for each fork, because deriving the beacon block from the state is version dependent, and there is a switch in the version detection code that needs to be updated.

Other notes for review
This PR also cherry picks some changes that were committed directly to the capella branch, and replicates some other changes that are in that branch but not in develop, so there will be some conflicts when we pick the changes over to capella. I can manage picking those changes over.

@kasey kasey requested review from potuz and terencechain January 11, 2023 20:45
@kasey kasey requested a review from a team as a code owner January 11, 2023 20:45
@kasey kasey requested a review from nisdas January 11, 2023 20:45
terencechain
terencechain previously approved these changes Jan 11, 2023
terencechain
terencechain previously approved these changes Jan 12, 2023
Co-authored-by: terencechain <terence@prysmaticlabs.com>
@prylabs-bulldozer prylabs-bulldozer bot merged commit 9328e9a into develop Jan 13, 2023
@delete-merged-branch delete-merged-branch bot deleted the capella-ssz-detect branch January 13, 2023 04:04
kasey added a commit that referenced this pull request Jan 13, 2023
* capella state version detection bug fix

* add capella to yaml "template"

* changes for capella state detection

* lint

* don't set capella fork version == altair!!!

* less brittle test for fork schedule rpc

* fix assertions that use wrong field name

* don't test capella/sharding fv against upstream

* hat tip Terence for sanity check

* Update config/params/loader_test.go

Co-authored-by: terencechain <terence@prysmaticlabs.com>

Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: terencechain <terence@prysmaticlabs.com>
@potuz potuz mentioned this pull request Jan 13, 2023
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