Rename Subnet to L1 for new commands ACP77 #5360
Annotations
10 errors and 11 warnings
pkg/subnet/public.go#L130
commentFormatting: put a space between `//` and comment text (gocritic)
|
pkg/subnet/public.go#L151
commentFormatting: put a space between `//` and comment text (gocritic)
|
pkg/subnet/public.go#L616
commentFormatting: put a space between `//` and comment text (gocritic)
|
cmd/blockchaincmd/add_validator.go#L278
captLocal: `SubnetID' should not be capitalized (gocritic)
|
cmd/blockchaincmd/add_validator.go#L195
commentFormatting: put a space between `//` and comment text (gocritic)
|
cmd/blockchaincmd/add_validator.go#L226
commentFormatting: put a space between `//` and comment text (gocritic)
|
cmd/blockchaincmd/convert.go#L65
commentFormatting: put a space between `//` and comment text (gocritic)
|
cmd/blockchaincmd/deploy.go#L627
commentFormatting: put a space between `//` and comment text (gocritic)
|
cmd/blockchaincmd/change_weight.go#L21
File is not `gofmt`-ed with `-s` (gofmt)
|
cmd/blockchaincmd/change_weight.go#L7
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/
|
pkg/subnet/public.go#L126
unused-receiver: method receiver 'd' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
pkg/subnet/public.go#L144
unused-receiver: method receiver 'd' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
pkg/subnet/public.go#L608
unused-receiver: method receiver 'd' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
pkg/subnet/public.go#L127
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/subnet/public.go#L145
unused-parameter: parameter 'balance' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/subnet/public.go#L146
unused-parameter: parameter 'signer' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/subnet/public.go#L147
unused-parameter: parameter 'changeOwner' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/subnet/public.go#L148
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/subnet/public.go#L609
unused-parameter: parameter 'subnetAuthKeys' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/subnet/public.go#L610
unused-parameter: parameter 'subnetID' seems to be unused, consider removing or renaming it as _ (revive)
|
This job failed
Loading