mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-13 07:45:39 +00:00
bump nim-web3 to get updated Pectra GetPayloadV4 types (#6191)
This commit is contained in:
parent
1bf4058e22
commit
e7dede344a
@ -841,11 +841,9 @@ proc getPayloadFromSingleEL(
|
|||||||
await engine_api.getPayload(rpcClient, ExecutionPayloadV1, payloadId)
|
await engine_api.getPayload(rpcClient, ExecutionPayloadV1, payloadId)
|
||||||
return BellatrixExecutionPayloadWithValue(
|
return BellatrixExecutionPayloadWithValue(
|
||||||
executionPayload: payload, blockValue: Wei.zero)
|
executionPayload: payload, blockValue: Wei.zero)
|
||||||
elif GetPayloadResponseType is engine_api.GetPayloadV4Response:
|
|
||||||
debugRaiseAssert "foo"
|
|
||||||
return default(engine_api.GetPayloadV4Response)
|
|
||||||
else:
|
else:
|
||||||
return await engine_api.getPayload(rpcClient, GetPayloadResponseType, payloadId)
|
return await engine_api.getPayload(
|
||||||
|
rpcClient, GetPayloadResponseType, payloadId)
|
||||||
|
|
||||||
func cmpGetPayloadResponses(lhs, rhs: SomeEnginePayloadWithValue): int =
|
func cmpGetPayloadResponses(lhs, rhs: SomeEnginePayloadWithValue): int =
|
||||||
cmp(distinctBase lhs.blockValue, distinctBase rhs.blockValue)
|
cmp(distinctBase lhs.blockValue, distinctBase rhs.blockValue)
|
||||||
|
2
vendor/nim-web3
vendored
2
vendor/nim-web3
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 85e34e8ab2767f3da1d5c166d695666d42ff0c96
|
Subproject commit a31bc63448d8259255a00c130af68d6e558c60f5
|
Loading…
x
Reference in New Issue
Block a user