File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
libevm/precompiles/parallel Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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
3334func 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 ),
You can’t perform that action at this time.
0 commit comments