Skip to content

Commit 0d24a38

Browse files
Alexey Sharpmandrigin
authored andcommitted
Fix TestEIP2718Transition
1 parent cb88d64 commit 0d24a38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

turbo/stages/blockchain_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3467,8 +3467,8 @@ func TestEIP2718Transition(t *testing.T) {
34673467
if err != nil {
34683468
t.Fatalf("failed to create tester chain: %v", err)
34693469
}
3470-
if n, err := chain.InsertChain(context.TODO(), blocks); err != nil {
3471-
t.Fatalf("block %d: failed to insert into chain: %v", n, err)
3470+
if _, err := stagedsync.InsertBlocksInStages(diskdb, ethdb.DefaultStorageMode, gspec.Config, &vm.Config{}, engine, blocks, true /* checkRoot */); err != nil {
3471+
t.Fatalf("failed to insert into chain: %v", err)
34723472
}
34733473

34743474
block := chain.GetBlockByNumber(1)

0 commit comments

Comments
 (0)