mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 21:04:11 +00:00
Fixes
This commit is contained in:
parent
117a9af31f
commit
cd6aee192c
@ -280,7 +280,7 @@ proc toBlockHeader*(bc: BlockObject): Header =
|
||||
excessBlobGas : maybeU64(bc.excessBlobGas),
|
||||
parentBeaconBlockRoot: bc.parentBeaconBlockRoot,
|
||||
requestsHash : bc.requestsHash,
|
||||
targetBlobsPerBlock: bc.targetBlobsPerBlock,
|
||||
targetBlobsPerBlock: maybeU64(bc.targetBlobsPerBlock),
|
||||
)
|
||||
|
||||
func vHashes(x: Opt[seq[Hash32]]): seq[VersionedHash] =
|
||||
|
@ -212,7 +212,7 @@ proc populateBlockObject*(blockHash: eth_types.Hash32,
|
||||
result.blobGasUsed = w3Qty(header.blobGasUsed)
|
||||
result.excessBlobGas = w3Qty(header.excessBlobGas)
|
||||
result.requestsHash = header.requestsHash
|
||||
result.targetBlobsPerBlock = header.targetBlobsPerBlock
|
||||
result.targetBlobsPerBlock = w3Qty(header.targetBlobsPerBlock)
|
||||
|
||||
proc populateReceipt*(receipt: Receipt, gasUsed: GasInt, tx: Transaction,
|
||||
txIndex: uint64, header: Header): ReceiptObject =
|
||||
|
@ -146,7 +146,7 @@ proc run*(
|
||||
executionPayload(payload.asEngineExecutionPayload()),
|
||||
parentBeaconBlockRoot = Opt.none(Hash32),
|
||||
requestsHash = Opt.none(Hash32),
|
||||
targetBlobsPerBlock = Opt.none(Quantity)
|
||||
targetBlobsPerBlock = Opt.none(Quantity),
|
||||
)
|
||||
blockCache.add(populateBlockObject(blk.header.rlpHash, blk, 0.u256, true))
|
||||
except RlpError as exc:
|
||||
|
Loading…
x
Reference in New Issue
Block a user