diff --git a/web3/engine_api_types.nim b/web3/engine_api_types.nim index 7c82642..777b687 100644 --- a/web3/engine_api_types.nim +++ b/web3/engine_api_types.nim @@ -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 diff --git a/web3/ethtypes.nim b/web3/ethtypes.nim index c8e2cb1..8f1cc34 100644 --- a/web3/ethtypes.nim +++ b/web3/ethtypes.nim @@ -210,7 +210,7 @@ type stateRoot*: BlockHash receiptsRoot*: BlockHash logsBloom*: FixedBytes[256] - random*: FixedBytes[32] + prevRandao*: FixedBytes[32] blockNumber*: Quantity gasLimit*: Quantity gasUsed*: Quantity