Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change address from bytes to bech32 strings #7242

Merged
merged 109 commits into from
Sep 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
26e073b
init
anilcse Sep 3, 2020
75eeedb
Fix bank proto messages
anilcse Sep 3, 2020
0ec8ca7
missing conversions
anilcse Sep 4, 2020
9c8a377
remove casttype for addresses
anilcse Sep 4, 2020
3a70370
Fix tests
anilcse Sep 4, 2020
8f34a1d
Fix consaddress
anilcse Sep 4, 2020
163a0c5
more test fixes
anilcse Sep 5, 2020
5dc43f4
Fix tests
mdaleem Sep 7, 2020
318ffa2
fixed tests
atheeshp Sep 7, 2020
0a18f3c
Merge branch 'aleem/7195_bech32_addresses' of https://github.com/alee…
anilcse Sep 7, 2020
8c7996d
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
anilcse Sep 7, 2020
948e8cb
migrate missing proto declarations
anilcse Sep 7, 2020
29bf12c
format
anilcse Sep 7, 2020
2f9990f
Fix format
anilcse Sep 7, 2020
f0f8447
Fix alignment
anilcse Sep 7, 2020
ede4ef6
Fix more tests
anilcse Sep 7, 2020
dfe122a
Fix ibc merge issue
anilcse Sep 7, 2020
aa0349f
Fix fmt
anilcse Sep 7, 2020
444ae5a
Fix more tests
anilcse Sep 7, 2020
1d48be4
Fix missing address declarations
anilcse Sep 7, 2020
48910b5
Fix staking tests
mdaleem Sep 8, 2020
f119317
Fix more tests
mdaleem Sep 8, 2020
5636bff
Fix config
anilcse Sep 8, 2020
1201a3e
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
anilcse Sep 8, 2020
73e2e24
fixed tests
mdaleem Sep 9, 2020
2ac8dcb
Merge branch 'aleem/7195_bech32_addresses' of https://github.com/alee…
anilcse Sep 9, 2020
17befaf
Fix more tests
anilcse Sep 9, 2020
803ff8c
Update staking grpc tests
anilcse Sep 9, 2020
fb6d34f
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
anilcse Sep 9, 2020
3ab4d3f
Fix merge issue
anilcse Sep 9, 2020
f88a97c
fixed failing tests in x/distr
atheeshp Sep 10, 2020
e04acd2
fixed sim tests
atheeshp Sep 10, 2020
1710c07
fixed failing tests
atheeshp Sep 10, 2020
2164a53
Fix bugs
anilcse Sep 10, 2020
1d23b9c
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 10, 2020
fccf93b
Add logs
anilcse Sep 11, 2020
06ad9c7
fixed slashing issue
atheeshp Sep 11, 2020
621c349
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 11, 2020
20186d0
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 11, 2020
ba261b2
Fix staking grpc tests
anilcse Sep 11, 2020
d0eefda
Fix all bank tests :)
anilcse Sep 12, 2020
aba45ed
Fix tests in distribution
anilcse Sep 12, 2020
f3df36b
Fix more tests in distr
anilcse Sep 12, 2020
15d27d2
Fix slashing tests
anilcse Sep 12, 2020
a8f2d00
Fix statking tests
anilcse Sep 12, 2020
7ca61e0
Fix evidence tests
anilcse Sep 12, 2020
337ac5b
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
anilcse Sep 12, 2020
cfefc39
Fix gov tests
anilcse Sep 12, 2020
31513f9
Fix bug in create vesting account
anilcse Sep 13, 2020
55377b1
Fix test
anilcse Sep 13, 2020
cdc25e3
remove fmt
anilcse Sep 13, 2020
cb481e8
fixed gov tests
atheeshp Sep 14, 2020
dd820a3
fixed x/ibc tests
atheeshp Sep 14, 2020
cbc2802
fixed x/ibc-transfer tests
atheeshp Sep 14, 2020
c106e00
fixed staking tests
atheeshp Sep 14, 2020
d864f60
fixed staking tests
atheeshp Sep 14, 2020
2549835
fixed test
atheeshp Sep 14, 2020
b1f295f
fixed distribution issue
atheeshp Sep 14, 2020
6ccd673
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
atheeshp Sep 14, 2020
9dceebb
fix pagination test
atheeshp Sep 14, 2020
1238ab1
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
atheeshp Sep 14, 2020
7365828
fmt
atheeshp Sep 14, 2020
127e308
lint
atheeshp Sep 14, 2020
c0e57d1
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
atheeshp Sep 14, 2020
9933b72
fix build
atheeshp Sep 14, 2020
c69d6bc
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
anilcse Sep 14, 2020
1d53fff
fix format
anilcse Sep 14, 2020
da7ab9f
Merge branch 'anil/7195_bech32_addresses' of github.com:cosmos/cosmos…
anilcse Sep 14, 2020
bee5e6c
revert tally tests
atheeshp Sep 14, 2020
7cdbb8d
revert tally tests
atheeshp Sep 14, 2020
d7abfb0
lint
atheeshp Sep 14, 2020
8b3a404
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
anilcse Sep 14, 2020
eaaeb19
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 14, 2020
c5f5e9c
Fix sim test
anilcse Sep 14, 2020
d184799
Merge branch 'anil/7195_bech32_addresses' of github.com:cosmos/cosmos…
anilcse Sep 14, 2020
17c1b77
Merge branch 'anil/7195_bech32_addresses' of github.com:cosmos/cosmos…
atheeshp Sep 15, 2020
ded2cb7
revert
atheeshp Sep 15, 2020
0a27557
revert
atheeshp Sep 15, 2020
43e3a76
fixed tally issue
atheeshp Sep 15, 2020
bd0ff86
fix tests
atheeshp Sep 15, 2020
52a0038
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 15, 2020
5ab35dd
revert
atheeshp Sep 15, 2020
863f432
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
atheeshp Sep 15, 2020
2ed37a0
Merge branch 'anil/7195_bech32_addresses' of github.com:cosmos/cosmos…
atheeshp Sep 15, 2020
02cc307
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
anilcse Sep 16, 2020
73686be
fmt
anilcse Sep 16, 2020
439cf9d
refactor
anilcse Sep 16, 2020
0d2cfdd
remove `GetAddress()`
anilcse Sep 16, 2020
721063e
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 16, 2020
034db0e
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 16, 2020
6b00600
remove fmt
anilcse Sep 17, 2020
cd55f44
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 17, 2020
c093c35
Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/70…
anilcse Sep 18, 2020
447f8b2
revert fmt.Striger usage
anilcse Sep 18, 2020
a4f9d55
Fix tests
anilcse Sep 18, 2020
333c0d7
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 18, 2020
573322f
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 20, 2020
f6a950f
Fix rest test
anilcse Sep 20, 2020
2644a16
disable interfacer lint check
anilcse Sep 20, 2020
99f6318
make proto-format
anilcse Sep 20, 2020
ae1579e
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
anilcse Sep 23, 2020
9f9c013
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 23, 2020
f223324
add nolint rule
anilcse Sep 23, 2020
f564113
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 23, 2020
8c2c035
remove stray println
anilcse Sep 23, 2020
29f703d
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 23, 2020
1c81257
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
anilcse Sep 23, 2020
72c8c66
Merge branch 'master' into anil/7195_bech32_addresses
anilcse Sep 24, 2020
03fc53e
Merge branch 'master' of github.com:cosmos/cosmos-sdk into anil/7195_…
anilcse Sep 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions client/grpc/reflection/reflection.pb.go

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

4 changes: 2 additions & 2 deletions client/grpc_query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (s *IntegrationTestSuite) TestGRPCQuery() {
var header metadata.MD
bankRes, err := bankClient.Balance(
context.Background(),
&banktypes.QueryBalanceRequest{Address: val0.Address, Denom: denom},
&banktypes.QueryBalanceRequest{Address: val0.Address.String(), Denom: denom},
grpc.Header(&header), // Also fetch grpc header
)
s.Require().NoError(err)
Expand All @@ -70,7 +70,7 @@ func (s *IntegrationTestSuite) TestGRPCQuery() {
bankClient = banktypes.NewQueryClient(val0.ClientCtx)
bankRes, err = bankClient.Balance(
context.Background(),
&banktypes.QueryBalanceRequest{Address: val0.Address, Denom: denom},
&banktypes.QueryBalanceRequest{Address: val0.Address.String(), Denom: denom},
grpc.Header(&header),
)
blockHeight = header.Get(grpctypes.GRPCBlockHeightHeader)
Expand Down
8 changes: 4 additions & 4 deletions crypto/types/crypto.pb.go

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

8 changes: 5 additions & 3 deletions proto/cosmos/auth/v1beta1/auth.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types";
// for basic account functionality. Any custom account type should extend this
// type for additional functionality (e.g. vesting).
message BaseAccount {
option (gogoproto.goproto_getters) = false;
option (gogoproto.goproto_stringer) = false;
option (gogoproto.goproto_getters) = false;
option (gogoproto.goproto_stringer) = false;
option (gogoproto.equal) = false;

option (cosmos_proto.implements_interface) = "AccountI";

bytes address = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
string address = 1;
google.protobuf.Any pub_key = 2 [(gogoproto.jsontag) = "public_key,omitempty", (gogoproto.moretags) = "yaml:\"public_key\""];
uint64 account_number = 3 [(gogoproto.moretags) = "yaml:\"account_number\""];
uint64 sequence = 4;
Expand Down
5 changes: 4 additions & 1 deletion proto/cosmos/auth/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ service Query {

// QueryAccountRequest is the request type for the Query/Account RPC method.
message QueryAccountRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

// address defines the address to query for.
bytes address = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
string address = 1;
}

// QueryAccountResponse is the response type for the Query/Account RPC method.
Expand Down
20 changes: 12 additions & 8 deletions proto/cosmos/bank/v1beta1/bank.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ message Params {
bool default_send_enabled = 2 [(gogoproto.moretags) = "yaml:\"default_send_enabled,omitempty\""];
}

// SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable).
// SendEnabled maps coin denom to a send_enabled status (whether a denom is
// sendable).
message SendEnabled {
option (gogoproto.equal) = true;
option (gogoproto.goproto_stringer) = false;
Expand All @@ -24,28 +25,31 @@ message SendEnabled {

// Input models transaction input.
message Input {
option (gogoproto.equal) = true;
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

bytes address = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
string address = 1;
repeated cosmos.base.v1beta1.Coin coins = 2
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}

// Output models transaction outputs.
message Output {
option (gogoproto.equal) = true;
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

bytes address = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
string address = 1;
repeated cosmos.base.v1beta1.Coin coins = 2
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}

// Supply represents a struct that passively keeps track of the total supply
// amounts in the network.
message Supply {
option (gogoproto.equal) = true;
option (gogoproto.goproto_getters) = false;
option (gogoproto.goproto_stringer) = false;
option (gogoproto.equal) = true;
option (gogoproto.goproto_getters) = false;
option (gogoproto.goproto_stringer) = false;

option (cosmos_proto.implements_interface) = "*github.com/cosmos/cosmos-sdk/x/bank/exported.SupplyI";

repeated cosmos.base.v1beta1.Coin total = 1
Expand Down
3 changes: 2 additions & 1 deletion proto/cosmos/bank/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ message GenesisState {
// Balance defines an account address and balance pair used in the bank module's
// genesis state.
message Balance {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

// address is the address of the balance holder.
bytes address = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
string address = 1;

// coins defines the different coins this balance holds.
repeated cosmos.base.v1beta1.Coin coins = 2
Expand Down
19 changes: 14 additions & 5 deletions proto/cosmos/bank/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ service Query {

// QueryBalanceRequest is the request type for the Query/Balance RPC method.
message QueryBalanceRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

// address is the address to query balances for.
bytes address = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
string address = 1;

// denom is the coin denom to query balances for.
string denom = 2;
Expand All @@ -54,14 +57,18 @@ message QueryBalanceResponse {

// QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
message QueryAllBalancesRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

// address is the address to query balances for.
bytes address = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
string address = 1;

// pagination defines an optional pagination for the request.
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}

// QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.
// QueryAllBalancesResponse is the response type for the Query/AllBalances RPC
// method.
message QueryAllBalancesResponse {
// balances is the balances of all the coins.
repeated cosmos.base.v1beta1.Coin balances = 1
Expand All @@ -71,10 +78,12 @@ message QueryAllBalancesResponse {
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}

// QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method.
// QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC
// method.
message QueryTotalSupplyRequest {}

// QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method
// QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC
// method
message QueryTotalSupplyResponse {
// supply is the supply of the coins
repeated cosmos.base.v1beta1.Coin supply = 1
Expand Down
15 changes: 5 additions & 10 deletions proto/cosmos/bank/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,18 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types";

// MsgSend represents a message to send coins from one account to another.
message MsgSend {
option (gogoproto.equal) = true;
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

bytes from_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"from_address\""
];
bytes to_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"to_address\""
];
string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""];
string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""];
repeated cosmos.base.v1beta1.Coin amount = 3
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}

// MsgMultiSend represents an arbitrary multi-in, multi-out send message.
message MsgMultiSend {
option (gogoproto.equal) = true;
option (gogoproto.equal) = false;

repeated Input inputs = 1 [(gogoproto.nullable) = false];
repeated Output outputs = 2 [(gogoproto.nullable) = false];
Expand Down
23 changes: 13 additions & 10 deletions proto/cosmos/base/abci/v1beta1/abci.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ message TxResponse {
uint32 code = 4;
// Result bytes, if any.
string data = 5;
// The output of the application's logger (raw string). May be non-deterministic.
// The output of the application's logger (raw string). May be
// non-deterministic.
string raw_log = 6;
// The output of the application's logger (typed). May be non-deterministic.
repeated ABCIMessageLog logs = 7 [(gogoproto.castrepeated) = "ABCIMessageLogs", (gogoproto.nullable) = false];
Expand All @@ -34,8 +35,9 @@ message TxResponse {
int64 gas_used = 10;
// The request transaction bytes.
google.protobuf.Any tx = 11;
// Time of the previous block. For heights > 1, it's the weighted median of the
// timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time.
// Time of the previous block. For heights > 1, it's the weighted median of
// the timestamps of the valid votes in the block.LastCommit. For height == 1,
// it's genesis time.
string timestamp = 12;
}

Expand Down Expand Up @@ -80,15 +82,15 @@ message GasInfo {
message Result {
option (gogoproto.goproto_getters) = false;

// Data is any data returned from message or handler execution. It MUST be length
// prefixed in order to separate data from multiple message executions.
// Data is any data returned from message or handler execution. It MUST be
// length prefixed in order to separate data from multiple message executions.
bytes data = 1;

// Log contains the log information from message or handler execution.
string log = 2;

// Events contains a slice of Event objects that were emitted during message or
// handler execution.
// Events contains a slice of Event objects that were emitted during message
// or handler execution.
repeated tendermint.abci.Event events = 3 [(gogoproto.nullable) = false];
}

Expand All @@ -99,16 +101,17 @@ message SimulationResponse {
Result result = 2;
}

// MsgData defines the data returned in a Result object during message execution.
// MsgData defines the data returned in a Result object during message
// execution.
message MsgData {
option (gogoproto.stringer) = true;

string msg_type = 1;
bytes data = 2;
}

// TxMsgData defines a list of MsgData. A transaction will have a MsgData object for
// each message.
// TxMsgData defines a list of MsgData. A transaction will have a MsgData object
// for each message.
message TxMsgData {
option (gogoproto.stringer) = true;

Expand Down
8 changes: 4 additions & 4 deletions proto/cosmos/base/crypto/v1beta1/crypto.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ message PublicKey {
}
}

// PubKeyMultisigThreshold specifies a public key type which nests multiple public
// keys and a threshold
// PubKeyMultisigThreshold specifies a public key type which nests multiple
// public keys and a threshold
message PubKeyMultisigThreshold {
uint32 threshold = 1 [(gogoproto.customname) = "K", (gogoproto.moretags) = "yaml:\"threshold\""];
repeated PublicKey public_keys = 2 [(gogoproto.customname) = "PubKeys", (gogoproto.moretags) = "yaml:\"pubkeys\""];
}

// MultiSignature wraps the signatures from a PubKeyMultisigThreshold.
// See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers signed and
// with which modes.
// See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers
// signed and with which modes.
message MultiSignature {
option (gogoproto.goproto_unrecognized) = true;
repeated bytes signatures = 1;
Expand Down
9 changes: 5 additions & 4 deletions proto/cosmos/base/query/v1beta1/pagination.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ message PageRequest {
uint64 limit = 3;

// count_total is set to true to indicate that the result set should include
// a count of the total number of items available for pagination in UIs. count_total
// is only respected when offset is used. It is ignored when key is set.
// a count of the total number of items available for pagination in UIs.
// count_total is only respected when offset is used. It is ignored when key
// is set.
bool count_total = 4;
}

// PageResponse is to be embedded in gRPC response messages where the corresponding
// request message has used PageRequest.
// PageResponse is to be embedded in gRPC response messages where the
// corresponding request message has used PageRequest.
//
// message SomeResponse {
// repeated Bar results = 1;
Expand Down
9 changes: 6 additions & 3 deletions proto/cosmos/base/reflection/v1beta1/reflection.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ service ReflectionService {
// ListImplementations list all the concrete types that implement a given
// interface.
rpc ListImplementations(ListImplementationsRequest) returns (ListImplementationsResponse) {
option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces/{interface_name}/implementations";
option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces/"
"{interface_name}/implementations";
};
}

Expand All @@ -29,13 +30,15 @@ message ListAllInterfacesResponse {
repeated string interface_names = 1;
}

// ListImplementationsRequest is the request type of the ListImplementations RPC.
// ListImplementationsRequest is the request type of the ListImplementations
// RPC.
message ListImplementationsRequest {
// interface_name defines the interface to query the implementations for.
string interface_name = 1;
}

// ListImplementationsResponse is the response type of the ListImplementations RPC.
// ListImplementationsResponse is the response type of the ListImplementations
// RPC.
message ListImplementationsResponse {
repeated string implementation_message_names = 1;
}
4 changes: 2 additions & 2 deletions proto/cosmos/capability/v1beta1/capability.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types";

import "gogoproto/gogo.proto";

// Capability defines an implementation of an object capability. The index provided to
// a Capability must be globally unique.
// Capability defines an implementation of an object capability. The index
// provided to a Capability must be globally unique.
message Capability {
option (gogoproto.goproto_stringer) = false;

Expand Down
5 changes: 3 additions & 2 deletions proto/cosmos/crisis/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import "gogoproto/gogo.proto";

// MsgVerifyInvariant represents a message to verify a particular invariance.
message MsgVerifyInvariant {
option (gogoproto.equal) = true;
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

bytes sender = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
string sender = 1;
string invariant_module_name = 2 [(gogoproto.moretags) = "yaml:\"invariant_module_name\""];
string invariant_route = 3 [(gogoproto.moretags) = "yaml:\"invariant_route\""];
}
Loading