From adaf90fab608a26eb014eaa9db7d081f8734d1c3 Mon Sep 17 00:00:00 2001 From: tuyennhv Date: Tue, 5 Oct 2021 13:14:22 +0700 Subject: [PATCH] hexEncoding.test.ts: add GENESIS_BASE_FEE_PER_GAS unit test (#3309) --- packages/lodestar/test/unit/eth1/hexEncoding.test.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/lodestar/test/unit/eth1/hexEncoding.test.ts b/packages/lodestar/test/unit/eth1/hexEncoding.test.ts index a29063774c1..a0c159e2683 100644 --- a/packages/lodestar/test/unit/eth1/hexEncoding.test.ts +++ b/packages/lodestar/test/unit/eth1/hexEncoding.test.ts @@ -35,6 +35,13 @@ describe("eth1 / hex encoding", () => { num: 0xff00, bigint: BigInt(0xff00), }, + // GENESIS_BASE_FEE_PER_GAS + { + quantity: "0x3b9aca00", + bytes: "00ca9a3b00000000000000000000000000000000000000000000000000000000", + num: 1000000000, + bigint: BigInt(1000000000), + }, { quantity: "0xaabb", bytes: "bbaa000000000000000000000000000000000000000000000000000000000000",