small nit on avalanche key transfer
command
#5414
Annotations
10 errors and 11 warnings
golangci-lint:
cmd/blockchaincmd/add_validator.go#L278
captLocal: `SubnetID' should not be capitalized (gocritic)
|
golangci-lint:
cmd/blockchaincmd/add_validator.go#L195
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
cmd/blockchaincmd/add_validator.go#L226
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
cmd/blockchaincmd/convert.go#L65
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
cmd/blockchaincmd/change_weight.go#L21
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci-lint:
cmd/blockchaincmd/change_weight.go#L7
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
cmd/blockchaincmd/change_weight.go#L18
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
cmd/blockchaincmd/change_weight.go#L20
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
cmd/blockchaincmd/change_weight.go#L52
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
cmd/blockchaincmd/change_weight.go#L178
File is not `gofumpt`-ed (gofumpt)
|
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#L117
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#L123
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#L118
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L124
unused-parameter: parameter 'balance' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L125
unused-parameter: parameter 'signer' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L126
unused-parameter: parameter 'changeOwner' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L127
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/blockchaincmd/deploy.go#L617
unexported-naming: the symbol ConvertL1TxID is local, its name should start with a lowercase letter (revive)
|
golangci-lint:
cmd/blockchaincmd/remove_validator.go#L177
unused-parameter: parameter 'validationID' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
cmd/blockchaincmd/convert.go#L64
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading