Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Lockwarr committed Dec 18, 2024
1 parent 51b4944 commit 84aeded
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 46 deletions.
9 changes: 7 additions & 2 deletions proto/buf.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Generated by buf. DO NOT EDIT.
version: v1
deps:
- remote: buf.build
owner: cometbft
repository: cometbft
commit: c0d3497e35d649538679874acdd86660
digest: shake256:05d2fb9e6b6bf82385ac26b250afbba281a2ca79f51729291373d24ca676d743183bf70a921daae6feafd5f9917120e2548a7c477d9743f668bca27cc1e12fdf
- remote: buf.build
owner: cosmos
repository: cosmos-proto
Expand All @@ -19,8 +24,8 @@ deps:
- remote: buf.build
owner: cosmos
repository: ibc
commit: 40034a92f14b4be09e17e7104309daff
digest: shake256:8a6b098454c306c64b382c2dfbf5a5533ad9cf64e0b068250787ef73e9a2d84abf58c90d5133b9bbbdbe631f6e62c9810b31d396fc7637eaf3c11033d9fef155
commit: f3cb7e9a10ab4cd5a402b9913f65e38d
digest: shake256:aaa8a2a46a3ab5cb4c54f9f14920bc472e5e5f93453fa250de49f15c76dce7f82faa5615afd341967797ead8052306db6b1e6327cb1d8d94345bf07a22f8aebd
- remote: buf.build
owner: cosmos
repository: ics23
Expand Down
2 changes: 2 additions & 0 deletions proto/nolus/tax/v2/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import "gogoproto/gogo.proto";

option go_package = "github.com/Nolus-Protocol/nolus-core/x/tax/typesv2";

// Params defines the v2 parameters for the module.
message Params {
option (gogoproto.goproto_stringer) = false;

Expand All @@ -20,6 +21,7 @@ message DexFeeParams {
repeated DenomPrice accepted_denoms_min_prices = 2;
}

// DenomPrice will be used to define accepted denoms, their min prices and their ticker.
message DenomPrice {
string denom = 1;
// ticker will only be used for a more readable format for the users
Expand Down
2 changes: 1 addition & 1 deletion x/tax/migrations/v4/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func Migrate(
if bz == nil {
return nil
}
var currentParams legacytypes.Params
var currentParams legacytypes.Params // nolint:staticcheck
err = cdc.Unmarshal(bz, &currentParams)
if err != nil {
return err
Expand Down
43 changes: 0 additions & 43 deletions x/tax/types/types.go

This file was deleted.

2 changes: 2 additions & 0 deletions x/tax/typesv2/params.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 84aeded

Please sign in to comment.