From 91c998a0d488cef011e84d8a1ef3d4f83d963111 Mon Sep 17 00:00:00 2001 From: Dustin Brody Date: Thu, 24 Feb 2022 15:10:06 +0000 Subject: [PATCH] rename random -> prevRandao --- web3/engine_api_types.nim | 2 +- web3/ethtypes.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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