Integrate local machine into subnet deploy #55
Annotations
10 errors and 7 warnings
Lint:
pkg/subnet/deploy_status.go#L1
: # github.com/ava-labs/avalanche-cli/pkg/subnet [github.com/ava-labs/avalanche-cli/pkg/subnet.test]
|
Lint:
pkg/subnet/local_test.go#L117
cannot use procChecker (variable of type *mocks.ProcessChecker) as binutils.ProcessChecker value in struct literal: *mocks.ProcessChecker does not implement binutils.ProcessChecker (wrong type for method IsServerProcessRunning)
|
Lint:
pkg/subnet/local_test.go#L146
not enough arguments in call to testDeployer.DeployToLocalNetwork
|
Lint:
cmd/nodecmd/local.go#L389
Error return value is not checked (errcheck)
|
Lint:
cmd/blockchaincmd/add_validator.go#L195
commentFormatting: put a space between `//` and comment text (gocritic)
|
Lint:
cmd/nodecmd/list.go#L62
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
pkg/node/sync.go#L8
File is not `gofumpt`-ed (gofumpt)
|
Lint:
pkg/node/sync.go#L14
File is not `gofumpt`-ed (gofumpt)
|
Lint:
cmd/nodecmd/local.go#L7
File is not `gofumpt`-ed (gofumpt)
|
Lint:
cmd/nodecmd/local.go#L9
File is not `gofumpt`-ed (gofumpt)
|
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:
cmd/blockchaincmd/deploy.go#L680
unexported-naming: the symbol ConvertL1TxID is local, its name should start with a lowercase letter (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)
|
Lint:
cmd/blockchaincmd/remove_validator.go#L187
unused-parameter: parameter 'validationID' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
cmd/blockchaincmd/remove_validator.go#L193
unused-parameter: parameter 'nodeID' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
cmd/blockchaincmd/remove_validator.go#L198
unused-parameter: parameter 'validationID' seems to be unused, consider removing or renaming it as _ (revive)
|