-
Notifications
You must be signed in to change notification settings - Fork 781
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
client: Implement withdrawals via engine api #2401
Conversation
Codecov Report
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. |
Uh, this spawns a lot of libraries. Interesting. 🤔 🙂 |
4685445
to
199c5c5
Compare
e49ac66
to
2b9cb54
Compare
seems like need to add some more coverage, but should be good for some review feedback! |
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.
Some change requests and questions, generally this looks totally awesome!!! 😀 🔥 ❤️
|
||
async getPayloadV2(params: [string]) { | ||
return this.getPayload(params) | ||
} | ||
/** | ||
* Compare transition configuration parameters. | ||
* |
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.
Comment for the whole file:
can't completely oversee for now so just to make sure: are these error cases for newPayloadV2
and fcuV2
from here https://github.com/ethereum/execution-apis/pull/195/files#diff-571851156237b81c20006ce9d7a70b3421f19540cead91f45955316c52fe94c0R367 (e.g.) integrated?
So the checks on the withdrawal functionality being activated or not together with the INVALID
responses?
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.
would like to do a followup PR on the same (and merge this first) if thats ok? 🙂
88fe0e5
to
6f8dd71
Compare
@g11tech you'll let us know when this will be ready for a final review, right? |
yes, just need to add the vm test 🙂 |
d8e1d00
to
81d9187
Compare
@holgerd77 this should be merge ready |
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.
Ok, I am taking a bit of a risk here and not doing an as-in-depth-review-as-might-desired, since I am still so side tracked with all this roadmap (and Hack Exchange) stuff, but Gajinder needs this for Shandong, so it's good if we get this over the finish line.
Had some final look, I guess there are no security sensitive parts (no tx changes e.g., but also nothing apparent in Block) touched here, and the lower-level API changes and additions - in particular in Block and Util and Common - seems solid.
So I will approve here, thanks a lot Gajinder, great great work, really wonderful to see this getting into the main code base. 🥳
Implement :ethereum/execution-apis#195
i.e produce/process/respond withdrawals enabled blocks
Followup of