diff --git a/eth/common/eth_types.nim b/eth/common/eth_types.nim index d10c0819..e0f7d7f9 100644 --- a/eth/common/eth_types.nim +++ b/eth/common/eth_types.nim @@ -100,7 +100,7 @@ type index* : uint64 validatorIndex*: uint64 address* : EthAddress - amount* : UInt256 + amount* : uint64 BlockHeader* = object parentHash*: Hash256 diff --git a/tests/rlp/test_common.nim b/tests/rlp/test_common.nim index 7e274591..05ecf232 100644 --- a/tests/rlp/test_common.nim +++ b/tests/rlp/test_common.nim @@ -86,7 +86,7 @@ proc suite1() = address: EthAddress [ 0.byte, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], - amount: 4.u256 * 1_000_000_000.u256) + amount: 4) let abytes = rlp.encode(a) let aa = rlp.decode(abytes, Withdrawal)