From 93e3dba4436126f959d78111dd671f3ae3b339c3 Mon Sep 17 00:00:00 2001 From: Arijit Das Date: Tue, 18 Jan 2022 23:08:11 +0530 Subject: [PATCH] Code cleanup. --- pkg/validator/config.go | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pkg/validator/config.go b/pkg/validator/config.go index 58f7427..9275df6 100644 --- a/pkg/validator/config.go +++ b/pkg/validator/config.go @@ -10,7 +10,22 @@ import ( "github.com/spf13/viper" ) -var testChainConfig = ¶ms.ChainConfig{ChainID: big.NewInt(1), HomesteadBlock: big.NewInt(0), EIP150Block: big.NewInt(0), EIP155Block: big.NewInt(0), EIP158Block: big.NewInt(0), ByzantiumBlock: big.NewInt(0), ConstantinopleBlock: big.NewInt(0), PetersburgBlock: big.NewInt(0), IstanbulBlock: big.NewInt(0), MuirGlacierBlock: big.NewInt(0), BerlinBlock: big.NewInt(0), LondonBlock: big.NewInt(100), ArrowGlacierBlock: big.NewInt(0), Ethash: new(params.EthashConfig)} +var testChainConfig = ¶ms.ChainConfig{ + ChainID: big.NewInt(1), + HomesteadBlock: big.NewInt(0), + EIP150Block: big.NewInt(0), + EIP155Block: big.NewInt(0), + EIP158Block: big.NewInt(0), + ByzantiumBlock: big.NewInt(0), + ConstantinopleBlock: big.NewInt(0), + PetersburgBlock: big.NewInt(0), + IstanbulBlock: big.NewInt(0), + MuirGlacierBlock: big.NewInt(0), + BerlinBlock: big.NewInt(0), + LondonBlock: big.NewInt(100), + ArrowGlacierBlock: big.NewInt(0), + Ethash: new(params.EthashConfig), +} type Config struct { dbParams postgres.ConnectionParams