Change blockNumber to UIn256 to make interfacing with nimbus-eth1 easier
This commit is contained in:
parent
3a93265075
commit
484f607ae6
|
@ -35,3 +35,8 @@ type
|
|||
ForkChoiceUpdate* = object
|
||||
headBlockHash*: BlockHash
|
||||
finalizedBlockHash*: BlockHash
|
||||
|
||||
const
|
||||
# https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.2/src/engine/interop/specification.md
|
||||
UNKNOWN_HEADER* = 4
|
||||
UNKNOWN_PAYLOAD* = 5
|
||||
|
|
|
@ -206,7 +206,7 @@ type
|
|||
receiptRoot*: BlockHash
|
||||
logsBloom*: FixedBytes[256]
|
||||
random*: FixedBytes[32]
|
||||
blockNumber*: Quantity
|
||||
blockNumber*: UInt256
|
||||
gasLimit*: Quantity
|
||||
gasUsed*: Quantity
|
||||
timestamp*: Quantity
|
||||
|
|
Loading…
Reference in New Issue