From bfc634dc8cbd2539dc97759b1104fc443f3f33e2 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Thu, 24 Nov 2022 15:10:25 +0100 Subject: [PATCH] Amount is Wei in EL world / Gwei in CL --- tests/core/pyspec/eth2spec/test/helpers/execution_payload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/pyspec/eth2spec/test/helpers/execution_payload.py b/tests/core/pyspec/eth2spec/test/helpers/execution_payload.py index 2d63b8ed4..68a1001fb 100644 --- a/tests/core/pyspec/eth2spec/test/helpers/execution_payload.py +++ b/tests/core/pyspec/eth2spec/test/helpers/execution_payload.py @@ -104,7 +104,7 @@ def get_withdrawal_rlp(withdrawal): # address (Binary(20, 20), withdrawal.address), # amount - (big_endian_int, withdrawal.amount) + (big_endian_int, withdrawal.amount * (10**9)) ] sedes = List([schema for schema, _ in withdrawal_rlp])