Skip to content

Commit 4a18348

Browse files
committed
adjust to new eip changes
1 parent b107eb9 commit 4a18348

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

web3/eth_api_types.nim

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -279,19 +279,14 @@ type
279279
activationTime*: Quantity
280280
blobSchedule*: BlobScheduleObject
281281
chainId*: UInt256
282+
forkId*: Bytes4
282283
precompiles*: seq[PrecompilePair]
283284
systemContracts*: seq[SystemContractPair]
284285

285286
EthConfigObject* = ref object
286287
current*: ConfigObject
287-
currentHash*: Hash32
288-
currentForkId*: Bytes4
289288
next*: Opt[ConfigObject]
290-
nextHash*: Opt[Hash32]
291-
nextForkId*: Opt[Bytes4]
292289
last*: Opt[ConfigObject]
293-
lastHash*: Opt[Hash32]
294-
lastForkId*: Opt[Bytes4]
295290

296291
func blockId*(n: uint64): RtBlockIdentifier =
297292
RtBlockIdentifier(kind: bidNumber, number: Quantity n)

0 commit comments

Comments
 (0)