Skip to content

Cap the domain deposit amount for certain assets #9

Cap the domain deposit amount for certain assets

Cap the domain deposit amount for certain assets #9

Triggered via pull request October 12, 2023 18:00
Status Success
Total duration 36s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
lint: kernel/internal/testing.go#L14
don't use `init` function (gochecknoinits)
lint: go.mod#L5
replacement are not allowed: github.com/dgraph-io/badger/v4 (gomoddirectives)
lint: kernel/internal/testing.go#L6
import 'github.com/MixinNetwork/mixin/config' is not allowed from list 'Main' (depguard)
lint: kernel/internal/testing.go#L10
inTest is a global variable (gochecknoglobals)
lint: kernel/internal/testing.go#L11
mockRunAggregators is a global variable (gochecknoglobals)
lint: util/bech32/bech32.go#L41
Function 'bech32Polymod' is too long (73 > 60) (funlen)
lint: util/bech32/bech32.go#L172
Function 'decodeNoLimit' is too long (81 > 60) (funlen)
lint: util/bech32/bech32.go#L342
Function 'ConvertBits' is too long (71 > 60) (funlen)
lint: util/bech32/bech32_test.go#L19
Function 'TestBech32' is too long (68 > 60) (funlen)
lint: util/bech32/bech32_test.go#L94
Function 'TestBech32M' is too long (67 > 60) (funlen)
lint: kernel/election.go#L179
unused-parameter: parameter 's' seems to be unused, consider removing or renaming it as _ (revive)
lint: rpc/custodian.go#L5
unused-parameter: parameter 'params' seems to be unused, consider removing or renaming it as _ (revive)
lint: rpc/info.go#L125
unused-parameter: parameter 'params' seems to be unused, consider removing or renaming it as _ (revive)
lint: rpc/consensus_test.go#L1161
unused-parameter: parameter 'deposit' seems to be unused, consider removing or renaming it as _ (revive)
lint: rpc/http.go#L27
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint: command.go#L964
unused-parameter: parameter 'deposit' seems to be unused, consider removing or renaming it as _ (revive)