We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c47403 + bf6b494 commit bc7eed7Copy full SHA for bc7eed7
1 file changed
src/ethereum/forks/amsterdam/stateless_ssz.py
@@ -65,7 +65,7 @@ class SszWithdrawal(Container):
65
index: uint64
66
validator_index: uint64
67
address: ByteVector[20]
68
- amount: uint256
+ amount: uint64
69
70
71
class SszExecutionPayload(Container):
@@ -181,7 +181,7 @@ def _withdrawal_to_ssz(w: Withdrawal) -> SszWithdrawal:
181
index=uint64(int(w.index)),
182
validator_index=uint64(int(w.validator_index)),
183
address=ByteVector[20](bytes(w.address)),
184
- amount=uint256(int(w.amount)),
+ amount=uint64(int(w.amount)),
185
)
186
187
0 commit comments