Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaubennassar committed Sep 12, 2024
1 parent 3d5a2ab commit f541a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers/aggoracle_e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func CommonSetup(t *testing.T) (
// Syncer
dbPathSyncer := path.Join(t.TempDir(), "file::memory:?cache=shared")
maxRetries := 3
syncBlockChunkSize := 10
syncBlockChunkSize := uint64(10)

Check failure on line 117 in test/helpers/aggoracle_e2e.go

View workflow job for this annotation

GitHub Actions / lint

mnd: Magic number: 10, in <argument> detected (gomnd)
syncer, err := l1infotreesync.New(ctx, dbPathSyncer, gerL1Addr, common.Address{}, syncBlockChunkSize, etherman.LatestBlock, reorg, l1Client.Client(), time.Millisecond, 0, 100*time.Millisecond, maxRetries)

Check failure on line 118 in test/helpers/aggoracle_e2e.go

View workflow job for this annotation

GitHub Actions / lint

mnd: Magic number: 100, in <argument> detected (gomnd)
require.NoError(t, err)
go syncer.Start(ctx)
Expand Down

0 comments on commit f541a20

Please sign in to comment.