diff --git a/test/e2e/app/app.go b/test/e2e/app/app.go index d0353c2e7..f41fa2ac0 100644 --- a/test/e2e/app/app.go +++ b/test/e2e/app/app.go @@ -390,6 +390,9 @@ func (app *Application) ExtendVote(req abci.RequestExtendVote) abci.ResponseExte return abci.ResponseExtendVote{} } ext := make([]byte, binary.MaxVarintLen64) + // We don't care that these values are generated by a weak random number + // generator. It's just for test purposes. + // nolint:gosec // G404: Use of weak random number generator num := rand.Int63n(voteExtensionMaxVal) extLen := binary.PutVarint(ext, num) app.logger.Info("generated vote extension", "num", num, "ext", fmt.Sprintf("%x", ext[:extLen]), "state.Height", app.state.Height)