Skip to content

Commit

Permalink
fix: add IFork for syncer in TestLoadFork
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZexiao committed Dec 8, 2023
1 parent d5d13d9 commit 99511c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chainsync/syncer/syncer_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func TestLoadFork(t *testing.T) {
require.NoError(t, err)

s, err := syncer.NewSyncer(stmgr, blockValidator, sel, builder.Store(),
builder.Mstore(), builder.BlockStore(), builder, clock.NewFake(time.Unix(1234567890, 0)), nil)
builder.Mstore(), builder.BlockStore(), builder, clock.NewFake(time.Unix(1234567890, 0)), fork.NewMockFork())

require.NoError(t, err)

Expand Down

0 comments on commit 99511c9

Please sign in to comment.