@@ -80,9 +80,9 @@ func TestL1Validator_immutableFieldsAreUnmodified(t *testing.T) {
8080 var (
8181 randomizeL1Validator = func (l1Validator L1Validator ) L1Validator {
8282 // Randomize unrelated fields
83- l1Validator .Weight = rand .Uint64 () // #nosec G404
84- l1Validator .MinNonce = rand .Uint64 () // #nosec G404
85- l1Validator .EndAccumulatedFee = rand .Uint64 () // #nosec G404
83+ l1Validator .Weight = rand .Uint64 ()
84+ l1Validator .MinNonce = rand .Uint64 ()
85+ l1Validator .EndAccumulatedFee = rand .Uint64 ()
8686 return l1Validator
8787 }
8888 l1Validator = newL1Validator ()
@@ -123,7 +123,7 @@ func TestL1Validator_immutableFieldsAreUnmodified(t *testing.T) {
123123 })
124124 t .Run ("different startTime" , func (t * testing.T ) {
125125 v := randomizeL1Validator (l1Validator )
126- v .StartTime = rand .Uint64 () // #nosec G404
126+ v .StartTime = rand .Uint64 ()
127127 require .False (t , l1Validator .immutableFieldsAreUnmodified (v ))
128128 })
129129}
@@ -239,9 +239,9 @@ func newL1Validator() L1Validator {
239239 PublicKey : utils .RandomBytes (bls .PublicKeyLen ),
240240 RemainingBalanceOwner : utils .RandomBytes (32 ),
241241 DeactivationOwner : utils .RandomBytes (32 ),
242- StartTime : rand .Uint64 (), // #nosec G404
243- Weight : rand .Uint64 (), // #nosec G404
244- MinNonce : rand .Uint64 (), // #nosec G404
245- EndAccumulatedFee : rand .Uint64 (), // #nosec G404
242+ StartTime : rand .Uint64 (),
243+ Weight : rand .Uint64 (),
244+ MinNonce : rand .Uint64 (),
245+ EndAccumulatedFee : rand .Uint64 (),
246246 }
247247}
0 commit comments