Integrate ConvertSubnetTx AvalancheGo #5419
Annotations
10 errors and 11 warnings
golangci-lint:
cmd/blockchaincmd/add_validator.go#L286
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#L234
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#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#L50
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
cmd/blockchaincmd/change_weight.go#L182
func `checkIfSubnetIsSOV` is unused (unused)
|
golangci-lint:
cmd/blockchaincmd/convert.go#L12
func `newConvertCmd` is unused (unused)
|
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#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:
pkg/subnet/public.go#L573
unused-parameter: parameter 'subnetAuthKeys' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L574
unused-parameter: parameter 'subnetID' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L575
unused-parameter: parameter 'chainID' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L576
unused-parameter: parameter 'address' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/subnet/public.go#L577
unused-parameter: parameter 'validators' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading