Skip to content

Commit e872756

Browse files
ensi321lightclient
andauthored
Add EIP-7251 to Prague (#532)
* Add amount to ExitV1 * Wording * engine/prague: use quantity instead of data for amount --------- Co-authored-by: lightclient <[email protected]>
1 parent 90a46e9 commit e872756

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/engine/openrpc/schemas/payload.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,14 @@ ExitV1:
380380
required:
381381
- sourceAddress
382382
- validatorPublicKey
383+
- amount
383384
properties:
384385
sourceAddress:
385386
title: Source address
386387
$ref: '#/components/schemas/address'
387388
validatorPublicKey:
388389
title: Validator public key
389390
$ref: '#/components/schemas/bytes48'
391+
amount:
392+
title: Withdraw amount
393+
$ref: '#/components/schemas/uint64'

src/engine/prague.md

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ The fields are encoded as follows:
4848

4949
- `sourceAddress`: `DATA`, 20 Bytes
5050
- `validatorPublicKey`: `DATA`, 48 Bytes
51+
- `amount`: `QUANTITY`, 64 Bits
52+
53+
*Note:* The `amount` value is represented in Gwei.
5154

5255
### ExecutionPayloadV4
5356

0 commit comments

Comments
 (0)