rename random -> prevRandao

This commit is contained in:
Dustin Brody 2022-02-24 15:10:06 +00:00
parent 719fb4813a
commit 91c998a0d4
No known key found for this signature in database
GPG Key ID: 3D7A11A0156519DC
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ type
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.7/src/engine/specification.md#payloadattributesv1
PayloadAttributesV1* = object
timestamp*: Quantity
random*: FixedBytes[32]
prevRandao*: FixedBytes[32]
suggestedFeeRecipient*: Address
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.7/src/engine/specification.md#payloadstatusv1

View File

@ -210,7 +210,7 @@ type
stateRoot*: BlockHash
receiptsRoot*: BlockHash
logsBloom*: FixedBytes[256]
random*: FixedBytes[32]
prevRandao*: FixedBytes[32]
blockNumber*: Quantity
gasLimit*: Quantity
gasUsed*: Quantity