-
Notifications
You must be signed in to change notification settings - Fork 773
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: Implement withdrawals via engine api (#2401)
* client: Implement v2 versions for execution api supporting withdrawals * create v2 endpoints and proxy them to main handlers * refac withdrawals to have a correct withdrawal object * fix lint * add v2 versions and withdrawal validator * extract out withdrawals as separate class * use withdrawal in newpayload * fix the v2 binding for fcu * add withdrawals to block building * add withdrawals to shanghai * fully working withdrawals feature * add withdrawals data in eth getBlock response * check genesis annoucement * fix and test empty withdrawals * add static helpers for trie roots * clean up trie roots * fix withdrawals root to match with other clients * skeleton improv + withdrawal root check * add the failing withdrawal root mismatch testcase * fix the stateroot mismatch * skip withdrawal reward if 0 on runblock too * fix spec * restore the buildblock's trieroot method * rename gen root methods * improve the jsdocs * genesis handling at skeleton sethead * cleanup skeleton * cleanup bigint literal * remove extra typecasting * add comments for spec vec source * withdrawal spec vector in test * improve var name * refactor withdrawal and enhance spec test * add zero amount withdrawal test case for vm block run * add spec test for buildblock with withdrawals
- Loading branch information
Showing
24 changed files
with
1,011 additions
and
317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.