Skip to content

fix(rollapp): track registered rollapp denoms in separate store #2409

fix(rollapp): track registered rollapp denoms in separate store

fix(rollapp): track registered rollapp denoms in separate store #2409

Triggered via pull request October 23, 2024 14:59
Status Failure
Total duration 3m 16s
Artifacts

golangci_lint.yml

on: pull_request
golangci-lint
3m 5s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: x/denommetadata/ibc_middleware_test.go#L112
cannot use tt.rollappKeeper (variable of type *mockRollappKeeper) as "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper value in argument to denommetadata.NewIBCModule: *mockRollappKeeper does not implement "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper (wrong type for method HasRegisteredDenom)
golangci-lint: x/denommetadata/ibc_middleware_test.go#L160
cannot use &mockRollappKeeper{…} (value of type *mockRollappKeeper) as "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper value in struct literal: *mockRollappKeeper does not implement "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper (wrong type for method HasRegisteredDenom)
golangci-lint: x/denommetadata/ibc_middleware_test.go#L185
cannot use &mockRollappKeeper{…} (value of type *mockRollappKeeper) as "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper value in struct literal: *mockRollappKeeper does not implement "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper (wrong type for method HasRegisteredDenom)
golangci-lint: x/denommetadata/ibc_middleware_test.go#L226
cannot use &mockRollappKeeper{…} (value of type *mockRollappKeeper) as "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper value in struct literal: *mockRollappKeeper does not implement "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper (wrong type for method HasRegisteredDenom)
golangci-lint: x/denommetadata/ibc_middleware_test.go#L243
cannot use &mockRollappKeeper{} (value of type *mockRollappKeeper) as "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper value in struct literal: *mockRollappKeeper does not implement "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper (wrong type for method HasRegisteredDenom)
golangci-lint: x/denommetadata/ibc_middleware_test.go#L261
cannot use &mockRollappKeeper{…} (value of type *mockRollappKeeper) as "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper value in struct literal: *mockRollappKeeper does not implement "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper (wrong type for method HasRegisteredDenom)
golangci-lint: x/denommetadata/ibc_middleware_test.go#L282
cannot use &mockRollappKeeper{…} (value of type *mockRollappKeeper) as "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper value in struct literal: *mockRollappKeeper does not implement "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper (wrong type for method HasRegisteredDenom)
golangci-lint: x/denommetadata/ibc_middleware_test.go#L302
cannot use &mockRollappKeeper{…} (value of type *mockRollappKeeper) as "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper value in struct literal: *mockRollappKeeper does not implement "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper (wrong type for method HasRegisteredDenom)
golangci-lint: x/denommetadata/ibc_middleware_test.go#L527
cannot use tt.fields.rollappKeeper (variable of type *mockRollappKeeper) as "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper value in argument to denommetadata.NewIBCModule: *mockRollappKeeper does not implement "github.com/dymensionxyz/dymension/v3/x/denommetadata/types".RollappKeeper (wrong type for method HasRegisteredDenom)
golangci-lint
issues found