Skip to content

remove comments

remove comments #1273

Triggered via pull request December 12, 2024 18:02
@danwtdanwt
synchronize #1279
danwt/audit
Status Failure
Total duration 1m 34s
Artifacts

golangci_lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
golangci-lint: block/executor.go#L299
G115: integer overflow conversion int -> uint32 (gosec)
golangci-lint: da/local/local.go#L4
G505: Blocklisted import crypto/sha1: weak cryptographic primitive (gosec)
golangci-lint: da/local/local.go#L92
G401: Use of weak cryptographic primitive (gosec)
golangci-lint: da/local/local.go#L165
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
golangci-lint: mocks/github.com/dymensionxyz/dymint/da/avail/mock_SubstrateApiI.go#L388
S1040: type assertion to the same type: args[2] already has type interface{} (gosimple)
golangci-lint: mocks/github.com/dymensionxyz/dymint/da/avail/mock_SubstrateApiI.go#L548
S1040: type assertion to the same type: args[2] already has type interface{} (gosimple)
golangci-lint: mocks/github.com/dymensionxyz/dymint/da/avail/mock_SubstrateApiI.go#L1298
S1040: type assertion to the same type: args[1] already has type interface{} (gosimple)
golangci-lint: mocks/github.com/dymensionxyz/dymint/da/avail/mock_SubstrateApiI.go#L1458
S1040: type assertion to the same type: args[1] already has type interface{} (gosimple)
golangci-lint: mocks/github.com/dymensionxyz/dymint/p2p/mock_ProposerGetter.go#L32
Error return value is not checked (errcheck)
golangci-lint: mocks/github.com/dymensionxyz/dymint/p2p/mock_ProposerGetter.go#L75
Error return value is not checked (errcheck)
golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
golangci-lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2