bump nim-web3 to adjust engine API field names for alpha.5 (#3166)

This commit is contained in:
tersec 2021-12-07 14:30:16 +00:00 committed by GitHub
parent 3f6b7ec8f1
commit aeb90a1585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -425,7 +425,7 @@ proc forkchoiceUpdated*(p: Web3DataProviderRef,
headBlock, finalizedBlock: Eth2Digest,
timestamp: uint64,
randomData: array[32, byte],
feeRecipient: Eth1Address):
suggestedFeeRecipient: Eth1Address):
Future[engine_api.ForkchoiceUpdatedResponse] =
p.web3.provider.engine_forkchoiceUpdatedV1(
ForkchoiceStateV1(
@ -440,7 +440,7 @@ proc forkchoiceUpdated*(p: Web3DataProviderRef,
some(engine_api.PayloadAttributesV1(
timestamp: Quantity timestamp,
random: FixedBytes[32] randomData,
feeRecipient: feeRecipient)))
suggestedFeeRecipient: suggestedFeeRecipient)))
template readJsonField(j: JsonNode, fieldName: string, ValueType: type): untyped =
var res: ValueType

2
vendor/nim-web3 vendored

@ -1 +1 @@
Subproject commit 41fc21595c1882ee4aaa92217f9d8d950864f9f2
Subproject commit fe0674be9c37fef05adea94bf78771409c2a71ce