Constants shared between nimbus-eth1 and nimbus-eth2

This commit is contained in:
Zahary Karadjov 2022-08-18 19:27:46 +03:00
parent 6e04cbeb88
commit 3e7da14667
No known key found for this signature in database
GPG Key ID: C1F42EAFF38D570F
1 changed files with 3 additions and 0 deletions

View File

@ -201,6 +201,9 @@ const
Eip2930Receipt* = TxEip2930 Eip2930Receipt* = TxEip2930
Eip1559Receipt* = TxEip1559 Eip1559Receipt* = TxEip1559
BLANK_ROOT_HASH* = "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421".toDigest
EMPTY_UNCLE_HASH* = "1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347".toDigest
when BlockNumber is int64: when BlockNumber is int64:
## The goal of these templates is to make it easier to switch ## The goal of these templates is to make it easier to switch
## the block number type to a different representation ## the block number type to a different representation