-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update block Beacon APIs to Electra #14488
Conversation
Part of #14476 |
httputil.HandleError(w, err.Error(), http.StatusInternalServerError) | ||
return | ||
} | ||
httputil.WriteSsz(w, sszResp, "blindedDenebBlockContents.ssz") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this says blinded deneb
httputil.HandleError(w, err.Error(), http.StatusInternalServerError) | ||
return | ||
} | ||
httputil.WriteSsz(w, sszResp, "denebBlockContents.ssz") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this says deneb
proto/eth/v2/grpc.ssz.go
Outdated
@@ -1,5 +1,5 @@ | |||
// Code generated by fastssz. DO NOT EDIT. | |||
// Hash: bc8a0f7f6c8dadac6bcb0eaab2dea4888cc44c5b3f4fe9998a71e15f1a059399 | |||
// Hash: 972fffced75dd107ea15cf7ca6f49458de90b0e9ec83538fa0d106e85d5f60de |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will revert
@@ -136,7 +136,8 @@ ssz_electra_objs = [ | |||
"AggregateAttestationAndProofElectra", | |||
"AttestationElectra", | |||
"AttesterSlashingElectra", | |||
"BeaconBlockElectra", | |||
"BeaconBlockBodyElectra", | |||
"BeaconBlockContentsElectra", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is blinded block contents not needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because (weirdly) https://ethereum.github.io/beacon-APIs/?urls.primaryName=dev#/Validator/produceBlockV3 returns full contents for a non-blinded block and only the block in the blinded case.
# Conflicts: # CHANGELOG.md
we need to update the validator rest to use the new v3 endpoint right? |
Updates the following endpoints to Electra: