ACP 77 new commands #5305
Annotations
10 errors and 11 warnings
golangci-lint:
cmd/blockchaincmd/add_validator.go#L1
: # github.com/ava-labs/avalanche-cli/cmd/blockchaincmd [github.com/ava-labs/avalanche-cli/cmd/blockchaincmd.test]
|
golangci-lint:
cmd/blockchaincmd/export_test.go#L15
"github.com/ava-labs/avalanche-cli/pkg/models" imported and not used (typecheck)
|
golangci-lint:
pkg/subnet/public.go#L129
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
pkg/subnet/public.go#L150
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
pkg/subnet/public.go#L436
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
pkg/subnet/public.go#L612
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
pkg/subnet/public.go#L615
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
pkg/subnet/public.go#L8
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
pkg/subnet/public.go#L11
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint
issues found
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, 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/
|
golangci-lint:
pkg/subnet/public.go#L125
unused-receiver: method receiver 'd' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L143
unused-receiver: method receiver 'd' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L607
unused-receiver: method receiver 'd' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L126
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L144
unused-parameter: parameter 'balance' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L145
unused-parameter: parameter 'signer' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L146
unused-parameter: parameter 'changeOwner' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L147
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L608
unused-parameter: parameter 'subnetAuthKeys' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L609
unused-parameter: parameter 'subnetID' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading