From d9ceb61dbd9e9763ba073b564eac7478e072f367 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Sun, 4 Sep 2022 19:44:43 +0200 Subject: [PATCH] eth: bump (#4062) --- beacon_chain/spec/helpers.nim | 6 +++--- vendor/nim-eth | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/beacon_chain/spec/helpers.nim b/beacon_chain/spec/helpers.nim index 3ab7d72a8..29c6b416f 100644 --- a/beacon_chain/spec/helpers.nim +++ b/beacon_chain/spec/helpers.nim @@ -18,7 +18,7 @@ import # Status libraries stew/[bitops2, byteutils, endians2, objects, saturation_arith], chronicles, - eth/eip1559, eth/common/eth_types, + eth/eip1559, eth/common/[eth_types, eth_types_rlp], # Internal ./datatypes/[phase0, altair, bellatrix], "."/[eth2_merkleization, forks, ssz_codec] @@ -353,7 +353,7 @@ proc emptyPayloadToBlockHeader*(payload: ExecutionPayload): ExecutionBlockHeader ommersHash : EMPTY_UNCLE_HASH, coinbase : EthAddress payload.fee_recipient.data, stateRoot : payload.state_root, - txRoot : BLANK_ROOT_HASH, + txRoot : EMPTY_ROOT_HASH, receiptRoot : payload.receipts_root, bloom : payload.logs_bloom.data, difficulty : default(DifficultyInt), @@ -381,7 +381,7 @@ func build_empty_execution_payload*(state: bellatrix.BeaconState): ExecutionPayl var payload = ExecutionPayload( parent_hash: latest.block_hash, state_root: latest.state_root, # no changes to the state - receipts_root: BLANK_ROOT_HASH, + receipts_root: EMPTY_ROOT_HASH, block_number: latest.block_number + 1, prev_randao: randao_mix, gas_limit: latest.gas_limit, # retain same limit diff --git a/vendor/nim-eth b/vendor/nim-eth index 4c7029388..d31abca01 160000 --- a/vendor/nim-eth +++ b/vendor/nim-eth @@ -1 +1 @@ -Subproject commit 4c702938834d492a96593ea97ec2c813b4a80044 +Subproject commit d31abca0104528dbca040e9fc1984edd280003c0