From df9c73cf98aaf98af292fd0e704a95eaaeb39545 Mon Sep 17 00:00:00 2001 From: jangko Date: Fri, 18 Aug 2023 14:49:11 +0700 Subject: [PATCH] fix test_merge --- tests/test_merge.nim | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/test_merge.nim b/tests/test_merge.nim index 5496bf2f9..1c57d8dd3 100644 --- a/tests/test_merge.nim +++ b/tests/test_merge.nim @@ -151,13 +151,16 @@ proc testEngineApiSupport() = suite "Test engine api support": test "test payload queue": - api.put(id1, ep1) - api.put(id2, ep2) + api.put(id1, 123.u256, ep1) + api.put(id2, 456.u256, ep2) var eep1, eep2: ExecutionPayloadV1 - check api.get(id1, eep1) - check api.get(id2, eep2) + var bv1, bv2: UInt256 + check api.get(id1, bv1, eep1) + check api.get(id2, bv2, eep2) check eep1.gasLimit == ep1.gasLimit check eep2.gasLimit == ep2.gasLimit + check bv1 == 123.u256 + check bv2 == 456.u256 test "test header queue": api.put(hash1, hdr1)