mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-17 08:56:45 +00:00
bump nim-web3 to adjust engine API field names for alpha.5 (#3166)
This commit is contained in:
parent
3f6b7ec8f1
commit
aeb90a1585
@ -425,7 +425,7 @@ proc forkchoiceUpdated*(p: Web3DataProviderRef,
|
|||||||
headBlock, finalizedBlock: Eth2Digest,
|
headBlock, finalizedBlock: Eth2Digest,
|
||||||
timestamp: uint64,
|
timestamp: uint64,
|
||||||
randomData: array[32, byte],
|
randomData: array[32, byte],
|
||||||
feeRecipient: Eth1Address):
|
suggestedFeeRecipient: Eth1Address):
|
||||||
Future[engine_api.ForkchoiceUpdatedResponse] =
|
Future[engine_api.ForkchoiceUpdatedResponse] =
|
||||||
p.web3.provider.engine_forkchoiceUpdatedV1(
|
p.web3.provider.engine_forkchoiceUpdatedV1(
|
||||||
ForkchoiceStateV1(
|
ForkchoiceStateV1(
|
||||||
@ -440,7 +440,7 @@ proc forkchoiceUpdated*(p: Web3DataProviderRef,
|
|||||||
some(engine_api.PayloadAttributesV1(
|
some(engine_api.PayloadAttributesV1(
|
||||||
timestamp: Quantity timestamp,
|
timestamp: Quantity timestamp,
|
||||||
random: FixedBytes[32] randomData,
|
random: FixedBytes[32] randomData,
|
||||||
feeRecipient: feeRecipient)))
|
suggestedFeeRecipient: suggestedFeeRecipient)))
|
||||||
|
|
||||||
template readJsonField(j: JsonNode, fieldName: string, ValueType: type): untyped =
|
template readJsonField(j: JsonNode, fieldName: string, ValueType: type): untyped =
|
||||||
var res: ValueType
|
var res: ValueType
|
||||||
|
2
vendor/nim-web3
vendored
2
vendor/nim-web3
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 41fc21595c1882ee4aaa92217f9d8d950864f9f2
|
Subproject commit fe0674be9c37fef05adea94bf78771409c2a71ce
|
Loading…
x
Reference in New Issue
Block a user