Skip to content

Commit

Permalink
chore: fix for buf breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeseung-bae committed Mar 22, 2024
1 parent cbdbbe4 commit a110c4f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion proto/lbm/bankplus/v1/bankplus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package lbm.bankplus.v1;
import "gogoproto/gogo.proto";
import "cosmos_proto/cosmos.proto";

option go_package = "github.com/Finschia/finschia-sdk/x/bankplus";
option go_package = "github.com/Finschia/finschia-sdk/x/bankplus/types";

// InactiveAddr models the blocked address for the bankplus module
message InactiveAddr {
Expand Down
4 changes: 3 additions & 1 deletion x/bankplus/deprecator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import (
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"

"github.com/Finschia/finschia-sdk/x/bankplus/types"
)

func TestDeprecateTestSuite(t *testing.T) {
Expand Down Expand Up @@ -83,7 +85,7 @@ func addToInactiveAddr(ctx context.Context, storeService store.KVStoreService, c
panic(err)
}

blockedCAddr := InactiveAddr{Address: addrString}
blockedCAddr := types.InactiveAddr{Address: addrString} //lint:ignore SA1019 types.InactiveAddr is deprecated. Will be removed next version
bz := cdc.MustMarshal(&blockedCAddr)
if err := kvStore.Set(inactiveAddrKey(address), bz); err != nil {
panic(err)
Expand Down
12 changes: 6 additions & 6 deletions x/bankplus/bankplus.pb.go → x/bankplus/types/bankplus.pb.go

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

0 comments on commit a110c4f

Please sign in to comment.