Skip to content

Onion module

Onion module #307

Triggered via pull request June 28, 2024 02:59
Status Failure
Total duration 2m 41s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 7 warnings
lint: x/onion/client/cli/tx.go#L51
Error return value of `(*github.com/spf13/pflag.FlagSet).Set` is not checked (errcheck)
lint: x/onion/keeper/keeper.go#L68
Error return value of `k.SetSequence` is not checked (errcheck)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: x/onion/types/codec.go#L13
unused-parameter: parameter 'cdc' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/onion/client/cli/query.go#L14
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/onion/keeper/keeper.go#L32
unused-parameter: parameter 'contractKeeper' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/onion/sdkmodule.go#L56
unused-parameter: parameter 'config' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/onion/sdkmodule.go#L65
unused-parameter: parameter 'clientCtx' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/onion/sdkmodule.go#L132
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)