From a85addd30b287b6f4d5e703e5e67eec05ebb5e48 Mon Sep 17 00:00:00 2001 From: marcello33 Date: Tue, 13 Jun 2023 13:02:35 +0200 Subject: [PATCH] dev: chg: apply changes to NewParallelBlockChain --- eth/backend.go | 3 +-- eth/ethconfig/config.go | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/eth/backend.go b/eth/backend.go index 80cf7f01b2..ae4e89eb04 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -234,8 +234,7 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) { // check if Parallel EVM is enabled // if enabled, use parallel state processor if config.ParallelEVM.Enable { - // TODO marcello fix NewParallelBlockChain - ethereum.blockchain, err = core.NewParallelBlockChain(chainDb, cacheConfig, config.Genesis, ethereum.engine, vmConfig, ethereum.shouldPreserve, &config.TxLookupLimit, checker) + ethereum.blockchain, err = core.NewParallelBlockChain(chainDb, cacheConfig, config.Genesis, &overrides, ethereum.engine, vmConfig, ethereum.shouldPreserve, &config.TxLookupLimit, checker) } else { ethereum.blockchain, err = core.NewBlockChain(chainDb, cacheConfig, config.Genesis, &overrides, ethereum.engine, vmConfig, ethereum.shouldPreserve, &config.TxLookupLimit, checker) } diff --git a/eth/ethconfig/config.go b/eth/ethconfig/config.go index e8a1725a94..850fb820d6 100644 --- a/eth/ethconfig/config.go +++ b/eth/ethconfig/config.go @@ -18,7 +18,6 @@ package ethconfig import ( - "math/big" "os" "os/user" "path/filepath"