build fix (2) #1980
Annotations
7 errors and 5 warnings
lint:
go-cosmwasm/api/lib.go#L170
captLocal: `MrEnclaveHash' should not be capitalized (gocritic)
|
lint:
cmd/secretd/attestation.go#L326
`amoung` is a misspelling of `among` (misspell)
|
lint:
go-cosmwasm/api/lib.go#L171
unnecessary conversion (unconvert)
|
lint:
x/compute/internal/keeper/ante.go#L152
ST1005: error strings should not be capitalized (stylecheck)
|
lint:
x/compute/internal/keeper/ante.go#L18
ST1019: package "github.com/cosmos/cosmos-sdk/x/gov/types/v1" is being imported more than once (stylecheck)
|
lint:
x/compute/internal/keeper/ante.go#L19
ST1019(related information): other import of "github.com/cosmos/cosmos-sdk/x/gov/types/v1" (stylecheck)
|
lint
issues found
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/SecretNetwork/SecretNetwork. Supported file pattern: go.sum
|
lint:
x/compute/internal/keeper/ante.go#L129
var-declaration: should drop = nil from declaration of var latestProposal; it is the zero value (revive)
|
lint:
cmd/secretd/attestation.go#L308
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/secretd/attestation.go#L328
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|