bump nim-web3 to get updated Pectra GetPayloadV4 types (#6191)

This commit is contained in:
tersec 2024-04-10 09:38:38 +00:00 committed by GitHub
parent 1bf4058e22
commit e7dede344a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -841,11 +841,9 @@ proc getPayloadFromSingleEL(
await engine_api.getPayload(rpcClient, ExecutionPayloadV1, payloadId)
return BellatrixExecutionPayloadWithValue(
executionPayload: payload, blockValue: Wei.zero)
elif GetPayloadResponseType is engine_api.GetPayloadV4Response:
debugRaiseAssert "foo"
return default(engine_api.GetPayloadV4Response)
else:
return await engine_api.getPayload(rpcClient, GetPayloadResponseType, payloadId)
return await engine_api.getPayload(
rpcClient, GetPayloadResponseType, payloadId)
func cmpGetPayloadResponses(lhs, rhs: SomeEnginePayloadWithValue): int =
cmp(distinctBase lhs.blockValue, distinctBase rhs.blockValue)

2
vendor/nim-web3 vendored

@ -1 +1 @@
Subproject commit 85e34e8ab2767f3da1d5c166d695666d42ff0c96
Subproject commit a31bc63448d8259255a00c130af68d6e558c60f5