Skip to content

Commit

Permalink
add : testcase for CommitInterruptExperiment (ethereum#792)
Browse files Browse the repository at this point in the history
* add : TestCommitInterruptExperimentBor

* lint : fix lint

* chg : add waitgroup
  • Loading branch information
0xsharma committed Mar 28, 2023
1 parent b0ff49d commit 6f05151
Show file tree
Hide file tree
Showing 3 changed files with 713 additions and 35 deletions.
2 changes: 1 addition & 1 deletion core/tests/blockchain_repair_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ func testRepair(t *testing.T, tt *rewindTest, snapshots bool) {

chainConfig.LondonBlock = big.NewInt(0)

_, back, closeFn := miner.NewTestWorker(t, chainConfig, engine, db, 0)
_, back, closeFn := miner.NewTestWorker(t, chainConfig, engine, db, 0, 0, 0)
defer closeFn()

genesis := back.BlockChain().Genesis()
Expand Down
Loading

0 comments on commit 6f05151

Please sign in to comment.