ACP 77 new commands #5306
Annotations
6 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#L130
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
pkg/subnet/public.go#L151
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
pkg/subnet/public.go#L616
commentFormatting: put a space between `//` and comment text (gocritic)
|
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#L127
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L145
unused-parameter: parameter 'balance' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L146
unused-parameter: parameter 'signer' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L147
unused-parameter: parameter 'changeOwner' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L148
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L609
unused-parameter: parameter 'subnetAuthKeys' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L610
unused-parameter: parameter 'subnetID' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L611
unused-parameter: parameter 'chainID' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L612
unused-parameter: parameter 'address' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L614
unused-parameter: parameter 'wallet' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading