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

Electra e2e minimal #14842

Draft
wants to merge 16 commits into
base: develop
Choose a base branch
from
Draft

Electra e2e minimal #14842

wants to merge 16 commits into from

Conversation

james-prysm
Copy link
Contributor

@james-prysm james-prysm commented Jan 29, 2025

What type of PR is this?

Other

What does this PR do? Why is it needed?

  • enables Electra E2E on minimal
  • adds electra fork transition evaluator
  • sets electra fork to epoch 14
  • has a special check on validator participation during the electra fork epoch due to changing attestation types

Does not

  • does not enable Electra for all e2e tests ( mainnet(requires release), builder, web3signer, scenario tests are missing)
  • does not include special evaluators to send and check Electra request processing

Which issues(s) does this PR fix?

Fixes #

Other notes for review

Acknowledgements

@james-prysm james-prysm added E2E Tests End-To-End testing Electra electra hardfork labels Jan 29, 2025
@james-prysm james-prysm marked this pull request as ready for review January 29, 2025 23:10
@james-prysm james-prysm requested a review from a team as a code owner January 29, 2025 23:10
@james-prysm james-prysm changed the title Electra e2e Electra e2e minimal Jan 29, 2025
@james-prysm james-prysm marked this pull request as draft January 30, 2025 15:23
@james-prysm
Copy link
Contributor Author

james-prysm commented Jan 30, 2025

Let's not merge this yet because it replaces our geth with sina's geth version...

sina's branch has something changed for the backend making the output return nil ...

@james-prysm james-prysm added the Blocked Blocked by research or external factors label Jan 30, 2025
@@ -760,8 +760,9 @@ def prysm_deps():
patches = [
"//third_party:com_github_ethereum_go_ethereum_secp256k1.patch",
],
sum = "h1:8hl57x77HSUo+cXExrURjU/w1VhL+ShCTJrTwcCQSe4=",
version = "v1.14.12",
replace = "github.com/s1na/go-ethereum",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a proper release as we will use all the geth packages in production for prysm. Any reason we have to use a geth fork ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we should wait but i couldn't test yet I think since it may not have been released, will try to revert to 1.14.13 and try that

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i just tested 1.14.13 and it fails minimal e2e electra is not enabled there only on sina's branch

@@ -126,6 +126,11 @@ func validatorsParticipating(_ *types.EvaluationContext, conns ...*grpc.ClientCo
if e2eparams.TestParams.LighthouseBeaconNodeCount != 0 {
expected = float32(expectedMulticlientParticipation)
}
if participation.Epoch == params.BeaconConfig().ElectraForkEpoch {
// The first slot of Electra will be missed due to the switching of attestation types
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this by design ? Why aren't we fixing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked Blocked by research or external factors E2E Tests End-To-End testing Electra electra hardfork
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants