From 890ffecd86fcdbfcb103b1abd2e09d5c29514d66 Mon Sep 17 00:00:00 2001 From: Ian Norden Date: Tue, 5 May 2020 15:15:08 -0500 Subject: [PATCH] add guard to backend to get remaining tests passing; temporary while we set EIP1559 params by CLI --- eth/backend.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eth/backend.go b/eth/backend.go index 90ca22f5e..f310d12f8 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -145,6 +145,9 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) { if _, ok := genesisErr.(*params.ConfigCompatError); genesisErr != nil && !ok { return nil, genesisErr } + if chainConfig.EIP1559 == nil { + chainConfig.EIP1559 = params.DefaultEIP1559Config + } log.Info("Initialised chain configuration", "config", chainConfig) eth := &Ethereum{