bump nim-web3 for random -> prevRandao rename (#3435)
This commit is contained in:
parent
05bc61b712
commit
fef71a78a0
|
@ -310,7 +310,7 @@ func asConsensusExecutionPayload*(rpcExecutionPayload: ExecutionPayloadV1):
|
|||
state_root: rpcExecutionPayload.stateRoot.asEth2Digest,
|
||||
receipts_root: rpcExecutionPayload.receiptsRoot.asEth2Digest,
|
||||
logs_bloom: BloomLogs(data: rpcExecutionPayload.logsBloom.distinctBase),
|
||||
random: rpcExecutionPayload.random.asEth2Digest,
|
||||
random: rpcExecutionPayload.prevRandao.asEth2Digest,
|
||||
block_number: rpcExecutionPayload.blockNumber.uint64,
|
||||
gas_limit: rpcExecutionPayload.gasLimit.uint64,
|
||||
gas_used: rpcExecutionPayload.gasUsed.uint64,
|
||||
|
@ -336,7 +336,7 @@ func asEngineExecutionPayload*(executionPayload: bellatrix.ExecutionPayload):
|
|||
receiptsRoot: executionPayload.receipts_root.asBlockHash,
|
||||
logsBloom:
|
||||
FixedBytes[BYTES_PER_LOGS_BLOOM](executionPayload.logs_bloom.data),
|
||||
random: executionPayload.random.asBlockHash,
|
||||
prevRandao: executionPayload.random.asBlockHash,
|
||||
blockNumber: Quantity(executionPayload.block_number),
|
||||
gasLimit: Quantity(executionPayload.gas_limit),
|
||||
gasUsed: Quantity(executionPayload.gas_used),
|
||||
|
@ -483,7 +483,7 @@ proc forkchoiceUpdated*(p: Web3DataProviderRef,
|
|||
finalizedBlockHash: finalizedBlock.asBlockHash),
|
||||
some(engine_api.PayloadAttributesV1(
|
||||
timestamp: Quantity timestamp,
|
||||
random: FixedBytes[32] randomData,
|
||||
prevRandao: FixedBytes[32] randomData,
|
||||
suggestedFeeRecipient: suggestedFeeRecipient)))
|
||||
|
||||
template readJsonField(j: JsonNode, fieldName: string, ValueType: type): untyped =
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 719fb4813aa6e31f3b8774b52b35d8535fb828e6
|
||||
Subproject commit 91c998a0d488cef011e84d8a1ef3d4f83d963111
|
Loading…
Reference in New Issue