mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-24 03:00:25 +00:00
bump nimbus-eth2 and web3 (#1360)
- nimbus-eth2 exposes new callbacks in LightClient - web3 exposes createAccessList call
This commit is contained in:
parent
c5ecba83cd
commit
1cc6fc5cff
@ -30,7 +30,7 @@ proc getTestForkDigests*(): ForkDigests =
|
||||
altair: ForkDigest([0'u8, 0, 0, 2]),
|
||||
bellatrix: ForkDigest([0'u8, 0, 0, 3]),
|
||||
capella: ForkDigest([0'u8, 0, 0, 4]),
|
||||
sharding: ForkDigest([0'u8, 0, 0, 5])
|
||||
eip4844: ForkDigest([0'u8, 0, 0, 5])
|
||||
)
|
||||
|
||||
proc newLCNode*(
|
||||
|
@ -14,6 +14,7 @@ import
|
||||
eth/common/eth_types_rlp,
|
||||
beacon_chain/spec/forks,
|
||||
beacon_chain/spec/datatypes/altair,
|
||||
beacon_chain/spec/helpers,
|
||||
beacon_chain/beacon_clock,
|
||||
beacon_chain/conf,
|
||||
../../network/wire/[portal_protocol, portal_stream],
|
||||
|
@ -21,7 +21,7 @@ suite "Test light client contentEncodings":
|
||||
forks.altair = ForkDigest([0'u8, 0, 0, 2])
|
||||
forks.bellatrix = ForkDigest([0'u8, 0, 0, 3])
|
||||
forks.capella = ForkDigest([0'u8, 0, 0, 4])
|
||||
forks.sharding = ForkDigest([0'u8, 0, 0, 5])
|
||||
forks.eip4844 = ForkDigest([0'u8, 0, 0, 5])
|
||||
|
||||
test "Light client bootstrap correct":
|
||||
let
|
||||
|
@ -189,7 +189,8 @@ proc run() {.raises: [Exception, Defect].} =
|
||||
isBehind = not shouldSyncOptimistically(slot)
|
||||
|
||||
targetGossipState = getTargetGossipState(
|
||||
slot.epoch, cfg.ALTAIR_FORK_EPOCH, cfg.BELLATRIX_FORK_EPOCH, isBehind)
|
||||
slot.epoch, cfg.ALTAIR_FORK_EPOCH, cfg.BELLATRIX_FORK_EPOCH,
|
||||
cfg.CAPELLA_FORK_EPOCH, cfg.EIP4844_FORK_EPOCH, isBehind)
|
||||
|
||||
template currentGossipState(): auto = blocksGossipState
|
||||
if currentGossipState == targetGossipState:
|
||||
|
2
vendor/nim-web3
vendored
2
vendor/nim-web3
vendored
@ -1 +1 @@
|
||||
Subproject commit 1e2e2e6d16a22cfc33f475b293c3ffbce8c46409
|
||||
Subproject commit df2ef09c63f43eb9a2597bdb3e832ddbf1461871
|
2
vendor/nimbus-eth2
vendored
2
vendor/nimbus-eth2
vendored
@ -1 +1 @@
|
||||
Subproject commit 4e71e77da78d2ee1849facc140fcd06be4248a28
|
||||
Subproject commit 6b5682df70714ab6f8b91206840176d16e02db0c
|
Loading…
x
Reference in New Issue
Block a user