Skip to content

Commit 9780de0

Browse files
committed
chore: placate the linter
1 parent 3669967 commit 9780de0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

libevm/precompiles/parallel/parallel_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ import (
2222
"math/rand/v2"
2323
"testing"
2424

25+
"github.com/stretchr/testify/require"
26+
"go.uber.org/goleak"
27+
2528
"github.com/ava-labs/libevm/common"
2629
"github.com/ava-labs/libevm/core"
2730
"github.com/ava-labs/libevm/core/types"
2831
"github.com/ava-labs/libevm/trie"
29-
"github.com/stretchr/testify/require"
30-
"go.uber.org/goleak"
3132
)
3233

3334
func TestMain(m *testing.M) {
@@ -94,7 +95,7 @@ func TestProcessor(t *testing.T) {
9495
},
9596
}
9697

97-
rng := rand.New(rand.NewPCG(0, 0))
98+
rng := rand.New(rand.NewPCG(0, 0)) //nolint:gosec // Reproducibility is useful for testing
9899
for range 100 {
99100
params = append(params, blockParams{
100101
numTxs: rng.IntN(1000),

0 commit comments

Comments
 (0)