Skip to content

Update avalanche go ledger #44

Update avalanche go ledger

Update avalanche go ledger #44

Triggered via pull request October 10, 2024 18:20
Status Failure
Total duration 4m 34s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: cmd/blockchaincmd/add_validator.go#L1
: # github.com/ava-labs/avalanche-cli/cmd/blockchaincmd [github.com/ava-labs/avalanche-cli/cmd/blockchaincmd.test]
Lint: cmd/blockchaincmd/publish_test.go#L418
cannot use mockPrompt (variable of type *mocks.Prompter) as prompts.Prompter value in argument to app.Setup: *mocks.Prompter does not implement prompts.Prompter (wrong type for method CaptureInt)
Lint: pkg/prompts/capturetests/list_decision_test.go#L1
: # github.com/ava-labs/avalanche-cli/pkg/prompts/capturetests [github.com/ava-labs/avalanche-cli/pkg/prompts/capturetests.test]
Lint: pkg/prompts/capturetests/list_decision_test.go#L77
cannot use mockPrompt (variable of type *mocks.Prompter) as prompts.Prompter value in argument to prompts.CaptureListDecision: *mocks.Prompter does not implement prompts.Prompter (wrong type for method CaptureInt)
Lint: pkg/prompts/capturetests/list_decision_test.go#L90
cannot use mockPrompt (variable of type *mocks.Prompter) as prompts.Prompter value in argument to prompts.CaptureListDecision: *mocks.Prompter does not implement prompts.Prompter (wrong type for method CaptureInt)
Lint: pkg/prompts/capturetests/list_decision_test.go#L104
cannot use mockPrompt (variable of type *mocks.Prompter) as prompts.Prompter value in argument to prompts.CaptureListDecision: *mocks.Prompter does not implement prompts.Prompter (wrong type for method CaptureInt)
Lint: pkg/prompts/capturetests/list_decision_test.go#L117
cannot use mockPrompt (variable of type *mocks.Prompter) as prompts.Prompter value in argument to prompts.CaptureListDecision: *mocks.Prompter does not implement prompts.Prompter (wrong type for method CaptureInt)
Lint: pkg/prompts/capturetests/list_decision_test.go#L130
cannot use mockPrompt (variable of type *mocks.Prompter) as prompts.Prompter value in argument to prompts.CaptureListDecision: *mocks.Prompter does not implement prompts.Prompter (wrong type for method CaptureInt)
Lint: pkg/vm/allowlist.go#L1
: # github.com/ava-labs/avalanche-cli/pkg/vm [github.com/ava-labs/avalanche-cli/pkg/vm.test]
Lint: pkg/vm/descriptor_test.go#L31
cannot use mockPrompt (variable of type *mocks.Prompter) as prompts.Prompter value in assignment: *mocks.Prompter does not implement prompts.Prompter (wrong type for method CaptureInt)
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/