Skip to content

Commit

Permalink
fixes flakes in TestArchiveBlockChainSnapsDisabled (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush committed Oct 25, 2022
1 parent ccdcaa4 commit eb9ac63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/test_blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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)
}

0 comments on commit eb9ac63

Please sign in to comment.