diff --git a/tests/test_execution_types.nim b/tests/test_execution_types.nim index 070cff3..607d9a9 100644 --- a/tests/test_execution_types.nim +++ b/tests/test_execution_types.nim @@ -74,7 +74,7 @@ suite "Execution types tests": exit = WithdrawalRequestV1( sourceAddress: address(7), - validatorPublicKey: FixedBytes[48].conv(9) + validatorPubkey: FixedBytes[48].conv(9) ) test "payload version": diff --git a/web3/engine_api_types.nim b/web3/engine_api_types.nim index c3537b2..6b22851 100644 --- a/web3/engine_api_types.nim +++ b/web3/engine_api_types.nim @@ -36,10 +36,10 @@ type signature*: FixedBytes[96] index*: Quantity - # https://github.com/ethereum/execution-apis/blob/v1.0.0-beta.4/src/engine/prague.md#withdrawalrequestv1 + # https://github.com/nflaig/execution-apis/blob/update-withdrawal-request/src/engine/prague.md#withdrawalrequestv1 WithdrawalRequestV1* = object sourceAddress*: Address - validatorPublicKey*: FixedBytes[48] + validatorPubkey*: FixedBytes[48] amount*: Quantity # https://github.com/ethereum/execution-apis/blob/3ae3d29fc9900e5c48924c238dff7643fdc3680e/src/engine/prague.md#consolidationrequestv1