bump nimbus-eth2 and web3 (#1360)

- nimbus-eth2 exposes new callbacks in LightClient
- web3 exposes createAccessList call
This commit is contained in:
KonradStaniec 2022-12-09 18:00:45 +01:00 committed by GitHub
parent c5ecba83cd
commit 1cc6fc5cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 5 deletions

View File

@ -30,7 +30,7 @@ proc getTestForkDigests*(): ForkDigests =
altair: ForkDigest([0'u8, 0, 0, 2]), altair: ForkDigest([0'u8, 0, 0, 2]),
bellatrix: ForkDigest([0'u8, 0, 0, 3]), bellatrix: ForkDigest([0'u8, 0, 0, 3]),
capella: ForkDigest([0'u8, 0, 0, 4]), capella: ForkDigest([0'u8, 0, 0, 4]),
sharding: ForkDigest([0'u8, 0, 0, 5]) eip4844: ForkDigest([0'u8, 0, 0, 5])
) )
proc newLCNode*( proc newLCNode*(

View File

@ -14,6 +14,7 @@ import
eth/common/eth_types_rlp, eth/common/eth_types_rlp,
beacon_chain/spec/forks, beacon_chain/spec/forks,
beacon_chain/spec/datatypes/altair, beacon_chain/spec/datatypes/altair,
beacon_chain/spec/helpers,
beacon_chain/beacon_clock, beacon_chain/beacon_clock,
beacon_chain/conf, beacon_chain/conf,
../../network/wire/[portal_protocol, portal_stream], ../../network/wire/[portal_protocol, portal_stream],

View File

@ -21,7 +21,7 @@ suite "Test light client contentEncodings":
forks.altair = ForkDigest([0'u8, 0, 0, 2]) forks.altair = ForkDigest([0'u8, 0, 0, 2])
forks.bellatrix = ForkDigest([0'u8, 0, 0, 3]) forks.bellatrix = ForkDigest([0'u8, 0, 0, 3])
forks.capella = ForkDigest([0'u8, 0, 0, 4]) 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": test "Light client bootstrap correct":
let let

View File

@ -189,7 +189,8 @@ proc run() {.raises: [Exception, Defect].} =
isBehind = not shouldSyncOptimistically(slot) isBehind = not shouldSyncOptimistically(slot)
targetGossipState = getTargetGossipState( 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 template currentGossipState(): auto = blocksGossipState
if currentGossipState == targetGossipState: if currentGossipState == targetGossipState:

2
vendor/nim-web3 vendored

@ -1 +1 @@
Subproject commit 1e2e2e6d16a22cfc33f475b293c3ffbce8c46409 Subproject commit df2ef09c63f43eb9a2597bdb3e832ddbf1461871

2
vendor/nimbus-eth2 vendored

@ -1 +1 @@
Subproject commit 4e71e77da78d2ee1849facc140fcd06be4248a28 Subproject commit 6b5682df70714ab6f8b91206840176d16e02db0c