Withdrawals: Standardizing wei --> gwei between the EL and CL #4920
Labels
EIP
Ethereum Improvement Proposal
mainnet
TeamGroot
GH issues worked on by Groot Team
TeamRevenant
GH issues worked on by Revenant Team
https://notes.ethereum.org/@ralexstokes/withdrawals-in-gwei
Need to update the Engine Spec and work on EIP-4895 to use Gwei (which the CL uses) vs Wei that we use now. See the above spec changes.
Spec changes of note:
Engine API - the
amount
value is represented on the beacon chain as a little-endian value in units of Gwei, whereas theamount
in this structure MUST be converted to a big-endian value in units of Gwei.Withdrawals POC - "4. a nonzero
amount
of ether given in Gwei (1e9 wei) as auint64
value.Recall that the
amount
is given in units of Gwei so a conversion to units of wei must be performed when working with account balances in the execution state."The text was updated successfully, but these errors were encountered: