Skip to content

Commit 56da74d

Browse files
committed
withdrawals amount in uint64 gwei: ethereum/execution-apis#354
1 parent 0807378 commit 56da74d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eth/common/eth_types.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ type
100100
index* : uint64
101101
validatorIndex*: uint64
102102
address* : EthAddress
103-
amount* : UInt256
103+
amount* : uint64
104104

105105
BlockHeader* = object
106106
parentHash*: Hash256

tests/rlp/test_common.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ proc suite1() =
8686
address: EthAddress [
8787
0.byte, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
8888
11, 12, 13, 14, 15, 16, 17, 18, 19],
89-
amount: 4.u256 * 1_000_000_000.u256)
89+
amount: 4)
9090

9191
let abytes = rlp.encode(a)
9292
let aa = rlp.decode(abytes, Withdrawal)

0 commit comments

Comments
 (0)