Convert Subnet in 1 command #24
Annotations
10 errors and 11 warnings
Lint:
cmd/blockchaincmd/add_validator.go#L195
commentFormatting: put a space between `//` and comment text (gocritic)
|
Lint:
pkg/subnet/helpers.go#L8
File is not `gofumpt`-ed (gofumpt)
|
Lint:
pkg/subnet/helpers.go#L14
File is not `gofumpt`-ed (gofumpt)
|
Lint:
pkg/subnet/helpers.go#L19
File is not `gofumpt`-ed (gofumpt)
|
Lint:
pkg/node/helper.go#L8
File is not `gofumpt`-ed (gofumpt)
|
Lint:
pkg/node/helper.go#L10
File is not `gofumpt`-ed (gofumpt)
|
Lint:
cmd/blockchaincmd/deploy.go#L9
File is not `gofumpt`-ed (gofumpt)
|
Lint:
cmd/blockchaincmd/deploy.go#L13
File is not `gofumpt`-ed (gofumpt)
|
Lint:
cmd/blockchaincmd/helpers.go#L6
File is not `gofumpt`-ed (gofumpt)
|
Lint:
pkg/node/helper.go#L11
File is not `goimports`-ed (goimports)
|
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:
pkg/subnet/public.go#L863
early-return: if c { ... } else { ... return } can be simplified to if !c { ... return } ... (revive)
|
Lint:
pkg/subnet/public.go#L122
unused-receiver: method receiver 'd' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
Lint:
pkg/subnet/public.go#L128
unused-receiver: method receiver 'd' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
Lint:
pkg/subnet/public.go#L123
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
pkg/subnet/public.go#L129
unused-parameter: parameter 'balance' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
pkg/subnet/public.go#L130
unused-parameter: parameter 'signer' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
pkg/subnet/public.go#L131
unused-parameter: parameter 'changeOwner' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
pkg/subnet/public.go#L132
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
cmd/blockchaincmd/add_validator.go#L148
unused-parameter: parameter 'kc' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
cmd/blockchaincmd/add_validator.go#L264
unused-parameter: parameter 'subnetID' seems to be unused, consider removing or renaming it as _ (revive)
|