Skip to content

small nit on avalanche key transfer command #5413

small nit on avalanche key transfer command

small nit on avalanche key transfer command #5413

Triggered via pull request October 8, 2024 15:35
Status Failure
Total duration 11m 5s
Artifacts

lint-and-tests.yml

on: pull_request
Matrix: e2e tests
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 69 warnings
Lint: cmd/blockchaincmd/add_validator.go#L278
captLocal: `SubnetID' should not be capitalized (gocritic)
Lint: cmd/blockchaincmd/add_validator.go#L195
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: cmd/blockchaincmd/add_validator.go#L226
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: cmd/blockchaincmd/convert.go#L65
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: cmd/blockchaincmd/change_weight.go#L21
File is not `gofmt`-ed with `-s` (gofmt)
Lint: cmd/blockchaincmd/change_weight.go#L7
File is not `gofumpt`-ed (gofumpt)
Lint: cmd/blockchaincmd/change_weight.go#L18
File is not `gofumpt`-ed (gofumpt)
Lint: cmd/blockchaincmd/change_weight.go#L20
File is not `gofumpt`-ed (gofumpt)
Lint: cmd/blockchaincmd/change_weight.go#L52
File is not `gofumpt`-ed (gofumpt)
Lint: cmd/blockchaincmd/change_weight.go#L178
File is not `gofumpt`-ed (gofumpt)
e2e tests (\[Upgrade local network\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Upgrade local network\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Upgrade public network\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Upgrade public network\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Local Subnet\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Local Subnet\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Upgrade expect network failure\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Upgrade expect network failure\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
Golang Unit Tests v1.21.7 (ubuntu-20.04)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Public Subnet\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Public Subnet\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Docker\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Docker\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[APM\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[APM\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Error handling\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Error handling\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Root\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Root\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Subnet\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Subnet\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Key\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Key\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[APM\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[APM\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Local Subnet\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Local Subnet\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Subnet Compatibility\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Subnet Compatibility\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Node create\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Node create\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
Golang Unit Tests v1.21.7 (macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Subnet\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Subnet\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
Lint
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/
Lint: pkg/subnet/public.go#L118
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
Lint: pkg/subnet/public.go#L124
unused-parameter: parameter 'balance' seems to be unused, consider removing or renaming it as _ (revive)
Lint: pkg/subnet/public.go#L125
unused-parameter: parameter 'signer' seems to be unused, consider removing or renaming it as _ (revive)
Lint: pkg/subnet/public.go#L126
unused-parameter: parameter 'changeOwner' seems to be unused, consider removing or renaming it as _ (revive)
Lint: pkg/subnet/public.go#L127
unused-parameter: parameter 'message' seems to be unused, consider removing or renaming it as _ (revive)
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)
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)
Lint: cmd/blockchaincmd/deploy.go#L617
unexported-naming: the symbol ConvertL1TxID is local, its name should start with a lowercase letter (revive)
Lint: cmd/blockchaincmd/remove_validator.go#L177
unused-parameter: parameter 'validationID' seems to be unused, consider removing or renaming it as _ (revive)
Lint: cmd/blockchaincmd/remove_validator.go#L183
unused-parameter: parameter 'nodeID' seems to be unused, consider removing or renaming it as _ (revive)
e2e tests (\[Node devnet\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Node devnet\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Network\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Network\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Package Management\], ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Package Management\], ubuntu-latest)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Upgrade public network\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Upgrade public network\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Upgrade local network\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Upgrade local network\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Error handling\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Error handling\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Upgrade expect network failure\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Upgrade expect network failure\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Key\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Key\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Root\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Root\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Subnet Compatibility\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Subnet Compatibility\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Package Management\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Package Management\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.
e2e tests (\[Network\], macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/setup-node@v3, nick-fields/retry@v2, webfactory/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e tests (\[Network\], macos-13)
No files were found with the provided path: ~/.avalanche-cli/ !~/.avalanche-cli/bin/ !~/.avalanche-cli/snapshots. No artifacts will be uploaded.