mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 22:36:01 +00:00
eth: bump (#4062)
This commit is contained in:
parent
8936212f93
commit
d9ceb61dbd
@ -18,7 +18,7 @@ import
|
|||||||
# Status libraries
|
# Status libraries
|
||||||
stew/[bitops2, byteutils, endians2, objects, saturation_arith],
|
stew/[bitops2, byteutils, endians2, objects, saturation_arith],
|
||||||
chronicles,
|
chronicles,
|
||||||
eth/eip1559, eth/common/eth_types,
|
eth/eip1559, eth/common/[eth_types, eth_types_rlp],
|
||||||
# Internal
|
# Internal
|
||||||
./datatypes/[phase0, altair, bellatrix],
|
./datatypes/[phase0, altair, bellatrix],
|
||||||
"."/[eth2_merkleization, forks, ssz_codec]
|
"."/[eth2_merkleization, forks, ssz_codec]
|
||||||
@ -353,7 +353,7 @@ proc emptyPayloadToBlockHeader*(payload: ExecutionPayload): ExecutionBlockHeader
|
|||||||
ommersHash : EMPTY_UNCLE_HASH,
|
ommersHash : EMPTY_UNCLE_HASH,
|
||||||
coinbase : EthAddress payload.fee_recipient.data,
|
coinbase : EthAddress payload.fee_recipient.data,
|
||||||
stateRoot : payload.state_root,
|
stateRoot : payload.state_root,
|
||||||
txRoot : BLANK_ROOT_HASH,
|
txRoot : EMPTY_ROOT_HASH,
|
||||||
receiptRoot : payload.receipts_root,
|
receiptRoot : payload.receipts_root,
|
||||||
bloom : payload.logs_bloom.data,
|
bloom : payload.logs_bloom.data,
|
||||||
difficulty : default(DifficultyInt),
|
difficulty : default(DifficultyInt),
|
||||||
@ -381,7 +381,7 @@ func build_empty_execution_payload*(state: bellatrix.BeaconState): ExecutionPayl
|
|||||||
var payload = ExecutionPayload(
|
var payload = ExecutionPayload(
|
||||||
parent_hash: latest.block_hash,
|
parent_hash: latest.block_hash,
|
||||||
state_root: latest.state_root, # no changes to the state
|
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,
|
block_number: latest.block_number + 1,
|
||||||
prev_randao: randao_mix,
|
prev_randao: randao_mix,
|
||||||
gas_limit: latest.gas_limit, # retain same limit
|
gas_limit: latest.gas_limit, # retain same limit
|
||||||
|
2
vendor/nim-eth
vendored
2
vendor/nim-eth
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 4c702938834d492a96593ea97ec2c813b4a80044
|
Subproject commit d31abca0104528dbca040e9fc1984edd280003c0
|
Loading…
x
Reference in New Issue
Block a user