diff --git a/core/test_blockchain.go b/core/test_blockchain.go index 50ef515d62..29b465a22f 100644 --- a/core/test_blockchain.go +++ b/core/test_blockchain.go @@ -1695,6 +1695,7 @@ func TestStatefulPrecompiles(t *testing.T, create func(db ethdb.Database, chainC if err := blockchain.Accept(chain[0]); err != nil { t.Fatal(err) } + blockchain.DrainAcceptorQueue() genesisState, err := blockchain.StateAt(blockchain.Genesis().Root()) if err != nil { @@ -1718,6 +1719,5 @@ func TestStatefulPrecompiles(t *testing.T, create func(db ethdb.Database, chainC } // This tests that the precompiles work as expected when they are enabled - checkBlockChainState(t, blockchain, gspec, chainDB, create, checkState) }