From 3e7da146671a6b56939c379d4ac780963bdd1c85 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Thu, 18 Aug 2022 19:27:46 +0300 Subject: [PATCH] Constants shared between nimbus-eth1 and nimbus-eth2 --- eth/common/eth_types.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eth/common/eth_types.nim b/eth/common/eth_types.nim index 39c6ffd..06cba4b 100644 --- a/eth/common/eth_types.nim +++ b/eth/common/eth_types.nim @@ -201,6 +201,9 @@ const Eip2930Receipt* = TxEip2930 Eip1559Receipt* = TxEip1559 + BLANK_ROOT_HASH* = "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421".toDigest + EMPTY_UNCLE_HASH* = "1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347".toDigest + when BlockNumber is int64: ## The goal of these templates is to make it easier to switch ## the block number type to a different representation