fix: remove json tag (#10598)
* remove json tag * fix compile * add changelog entry for breaking changes * remove last two jsontags * move chaglog to client * add json_name to pubkey * fix build * fix some json tags in tests * remove ormpb
This commit is contained in:
parent
c3f40726f3
commit
3cbc38ddad
@ -118,6 +118,12 @@ Ref: https://keepachangelog.com/en/1.0.0/
|
||||
|
||||
* [\#9594](https://github.com/cosmos/cosmos-sdk/pull/9594) Remove legacy REST API. Please see the [REST Endpoints Migration guide](https://docs.cosmos.network/master/migrations/rest.html) to migrate to the new REST endpoints.
|
||||
* [\#9995](https://github.com/cosmos/cosmos-sdk/pull/9995) Increased gas cost for creating proposals.
|
||||
* [\#10598](https://github.com/cosmos/cosmos-sdk/pull/10598) Remove `gogoproto.json_tag` from all proto files.
|
||||
- The affected fields are:
|
||||
- Message Proposal in goverance `id` is now `proposal_id`
|
||||
- Message `MsgUnjail` `address` is no `validator_addr`
|
||||
- Message `GenesisState` json representation of Gentxs is now `gen_txs`, previously `gentxs`
|
||||
- Message `DelegatorStartingInfo` json representation of Height is now `height`, previously `creation_height`
|
||||
|
||||
### CLI Breaking Changes
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ message BaseAccount {
|
||||
option (cosmos_proto.implements_interface) = "AccountI";
|
||||
|
||||
string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||
google.protobuf.Any pub_key = 2 [(gogoproto.jsontag) = "public_key,omitempty"];
|
||||
google.protobuf.Any pub_key = 2 [json_name = "public_key"];
|
||||
uint64 account_number = 3;
|
||||
uint64 sequence = 4;
|
||||
}
|
||||
|
||||
@ -144,13 +144,13 @@ message SearchTxsResult {
|
||||
option (gogoproto.stringer) = true;
|
||||
|
||||
// Count of all txs
|
||||
uint64 total_count = 1 [(gogoproto.jsontag) = "total_count"];
|
||||
uint64 total_count = 1;
|
||||
// Count of txs in current page
|
||||
uint64 count = 2;
|
||||
// Index of current page, start from 1
|
||||
uint64 page_number = 3 [(gogoproto.jsontag) = "page_number"];
|
||||
uint64 page_number = 3;
|
||||
// Count of total pages
|
||||
uint64 page_total = 4 [(gogoproto.jsontag) = "page_total"];
|
||||
uint64 page_total = 4;
|
||||
// Max count txs per page
|
||||
uint64 limit = 5;
|
||||
// List of txs in current page
|
||||
|
||||
@ -123,7 +123,7 @@ message DelegatorStartingInfo {
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
||||
(gogoproto.nullable) = false
|
||||
];
|
||||
uint64 height = 3 [(gogoproto.jsontag) = "creation_height"];
|
||||
uint64 height = 3;
|
||||
}
|
||||
|
||||
// DelegationDelegatorReward represents the properties
|
||||
|
||||
@ -8,5 +8,5 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/genutil/types";
|
||||
// GenesisState defines the raw genesis transaction in JSON.
|
||||
message GenesisState {
|
||||
// gen_txs defines the genesis transactions.
|
||||
repeated bytes gen_txs = 1 [(gogoproto.casttype) = "encoding/json.RawMessage", (gogoproto.jsontag) = "gentxs"];
|
||||
repeated bytes gen_txs = 1 [(gogoproto.casttype) = "encoding/json.RawMessage"];
|
||||
}
|
||||
|
||||
@ -69,7 +69,7 @@ message Deposit {
|
||||
message Proposal {
|
||||
option (gogoproto.equal) = true;
|
||||
|
||||
uint64 proposal_id = 1 [(gogoproto.jsontag) = "id"];
|
||||
uint64 proposal_id = 1;
|
||||
google.protobuf.Any content = 2 [(cosmos_proto.accepts_interface) = "Content"];
|
||||
ProposalStatus status = 3;
|
||||
TallyResult final_tally_result = 4 [(gogoproto.nullable) = false];
|
||||
@ -151,16 +151,14 @@ message DepositParams {
|
||||
// Minimum deposit for a proposal to enter voting period.
|
||||
repeated cosmos.base.v1beta1.Coin min_deposit = 1 [
|
||||
(gogoproto.nullable) = false,
|
||||
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
|
||||
(gogoproto.jsontag) = "min_deposit,omitempty"
|
||||
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
|
||||
];
|
||||
|
||||
// Maximum period for Atom holders to deposit on a proposal. Initial value: 2
|
||||
// months.
|
||||
google.protobuf.Duration max_deposit_period = 2 [
|
||||
(gogoproto.nullable) = false,
|
||||
(gogoproto.stdduration) = true,
|
||||
(gogoproto.jsontag) = "max_deposit_period,omitempty"
|
||||
(gogoproto.stdduration) = true
|
||||
];
|
||||
}
|
||||
|
||||
@ -168,7 +166,7 @@ message DepositParams {
|
||||
message VotingParams {
|
||||
// Length of the voting period.
|
||||
google.protobuf.Duration voting_period = 1
|
||||
[(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.jsontag) = "voting_period,omitempty"];
|
||||
[(gogoproto.nullable) = false, (gogoproto.stdduration) = true];
|
||||
}
|
||||
|
||||
// TallyParams defines the params for tallying votes on governance proposals.
|
||||
@ -177,22 +175,19 @@ message TallyParams {
|
||||
// considered valid.
|
||||
bytes quorum = 1 [
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
||||
(gogoproto.nullable) = false,
|
||||
(gogoproto.jsontag) = "quorum,omitempty"
|
||||
(gogoproto.nullable) = false
|
||||
];
|
||||
|
||||
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.
|
||||
bytes threshold = 2 [
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
||||
(gogoproto.nullable) = false,
|
||||
(gogoproto.jsontag) = "threshold,omitempty"
|
||||
(gogoproto.nullable) = false
|
||||
];
|
||||
|
||||
// Minimum value of Veto votes to Total votes ratio for proposal to be
|
||||
// vetoed. Default value: 1/3.
|
||||
bytes veto_threshold = 3 [
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
||||
(gogoproto.nullable) = false,
|
||||
(gogoproto.jsontag) = "veto_threshold,omitempty"
|
||||
(gogoproto.nullable) = false
|
||||
];
|
||||
}
|
||||
|
||||
@ -42,7 +42,7 @@ message MsgSubmitProposal {
|
||||
|
||||
// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.
|
||||
message MsgSubmitProposalResponse {
|
||||
uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"];
|
||||
uint64 proposal_id = 1;
|
||||
}
|
||||
|
||||
// MsgVote defines a message to cast a vote.
|
||||
@ -52,7 +52,7 @@ message MsgVote {
|
||||
option (gogoproto.stringer) = false;
|
||||
option (gogoproto.goproto_getters) = false;
|
||||
|
||||
uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"];
|
||||
uint64 proposal_id = 1;
|
||||
string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||
VoteOption option = 3;
|
||||
}
|
||||
@ -86,7 +86,7 @@ message MsgDeposit {
|
||||
option (gogoproto.stringer) = false;
|
||||
option (gogoproto.goproto_getters) = false;
|
||||
|
||||
uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"];
|
||||
uint64 proposal_id = 1;
|
||||
string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||
repeated cosmos.base.v1beta1.Coin amount = 3
|
||||
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
|
||||
|
||||
@ -20,8 +20,8 @@ message MsgUnjail {
|
||||
option (gogoproto.goproto_getters) = false;
|
||||
option (gogoproto.goproto_stringer) = true;
|
||||
|
||||
string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString", (gogoproto.jsontag) = "address"];
|
||||
string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||
}
|
||||
|
||||
// MsgUnjailResponse defines the Msg/Unjail response type
|
||||
message MsgUnjailResponse {}
|
||||
message MsgUnjailResponse {}
|
||||
|
||||
@ -214,7 +214,7 @@ message UnbondingDelegation {
|
||||
// validator_address is the bech32-encoded address of the validator.
|
||||
string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||
// entries are the unbonding delegation entries.
|
||||
repeated UnbondingDelegationEntry entries = 3 [(gogoproto.nullable) = false]; // unbonding delegation entries
|
||||
repeated UnbondingDelegationEntry entries = 3 [(gogoproto.nullable) = false]; // unbonding delegation entries
|
||||
}
|
||||
|
||||
// UnbondingDelegationEntry defines an unbonding object with relevant metadata.
|
||||
@ -277,7 +277,7 @@ message Redelegation {
|
||||
// validator_dst_address is the validator redelegation destination operator address.
|
||||
string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||
// entries are the redelegation entries.
|
||||
repeated RedelegationEntry entries = 4 [(gogoproto.nullable) = false]; // redelegation entries
|
||||
repeated RedelegationEntry entries = 4 [(gogoproto.nullable) = false]; // redelegation entries
|
||||
}
|
||||
|
||||
// Params defines the parameters for the staking module.
|
||||
@ -346,12 +346,10 @@ message Pool {
|
||||
string not_bonded_tokens = 1 [
|
||||
(cosmos_proto.scalar) = "cosmos.Int",
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
|
||||
(gogoproto.jsontag) = "not_bonded_tokens",
|
||||
(gogoproto.nullable) = false
|
||||
];
|
||||
string bonded_tokens = 2 [
|
||||
(cosmos_proto.scalar) = "cosmos.Int",
|
||||
(gogoproto.jsontag) = "bonded_tokens",
|
||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
|
||||
(gogoproto.nullable) = false
|
||||
];
|
||||
|
||||
123
types/abci.pb.go
123
types/abci.pb.go
@ -532,13 +532,13 @@ func (m *TxMsgData) GetMsgResponses() []*types.Any {
|
||||
// SearchTxsResult defines a structure for querying txs pageable
|
||||
type SearchTxsResult struct {
|
||||
// Count of all txs
|
||||
TotalCount uint64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count"`
|
||||
TotalCount uint64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
|
||||
// Count of txs in current page
|
||||
Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
||||
// Index of current page, start from 1
|
||||
PageNumber uint64 `protobuf:"varint,3,opt,name=page_number,json=pageNumber,proto3" json:"page_number"`
|
||||
PageNumber uint64 `protobuf:"varint,3,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"`
|
||||
// Count of total pages
|
||||
PageTotal uint64 `protobuf:"varint,4,opt,name=page_total,json=pageTotal,proto3" json:"page_total"`
|
||||
PageTotal uint64 `protobuf:"varint,4,opt,name=page_total,json=pageTotal,proto3" json:"page_total,omitempty"`
|
||||
// Max count txs per page
|
||||
Limit uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
|
||||
// List of txs in current page
|
||||
@ -637,65 +637,64 @@ func init() {
|
||||
}
|
||||
|
||||
var fileDescriptor_4e37629bc7eb0df8 = []byte{
|
||||
// 924 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x3f, 0x6f, 0x1b, 0x37,
|
||||
0x14, 0xd7, 0x49, 0x97, 0x93, 0xf5, 0x24, 0xc7, 0x05, 0x61, 0x38, 0x74, 0xd2, 0x4a, 0xaa, 0x92,
|
||||
0x02, 0x5a, 0x72, 0x6a, 0x9c, 0xa0, 0x68, 0x32, 0x25, 0x72, 0xff, 0x19, 0x48, 0x3a, 0x9c, 0x15,
|
||||
0x14, 0xe8, 0x22, 0x50, 0x12, 0x43, 0x1d, 0xa2, 0x3b, 0x0a, 0x47, 0xca, 0x3e, 0x6f, 0xdd, 0xda,
|
||||
0xa9, 0xe8, 0xd4, 0xa1, 0x53, 0xd7, 0xf6, 0x93, 0x64, 0xe8, 0xe0, 0x31, 0x43, 0xa1, 0xb6, 0xf6,
|
||||
0x96, 0x4f, 0x51, 0xf0, 0x91, 0x92, 0x95, 0xba, 0x0a, 0x3c, 0xdd, 0xfb, 0xc7, 0xc7, 0xf7, 0x7e,
|
||||
0xef, 0x77, 0x8f, 0x70, 0x7b, 0x28, 0x55, 0x22, 0x55, 0x67, 0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28, 0x71, 0x60, 0x74, 0xf2, 0x1e, 0x94, 0x0c, 0xd2, 0x38,
|
||||
0xd4, 0xc8, 0x88, 0xe4, 0x70, 0x79, 0x7b, 0x09, 0x6f, 0xff, 0x68, 0x3d, 0xd0, 0x87, 0x3a, 0x8b,
|
||||
0x53, 0x61, 0x8b, 0xd9, 0x76, 0x28, 0xd7, 0x56, 0x8c, 0xea, 0xa2, 0xb8, 0xef, 0xfe, 0x6c, 0x7a,
|
||||
0xad, 0x0c, 0xaa, 0x2b, 0x5e, 0x83, 0xbc, 0x21, 0x29, 0xd6, 0x54, 0x89, 0x50, 0x26, 0x07, 0x00,
|
||||
0x4c, 0xeb, 0x2c, 0x1e, 0xcc, 0x34, 0x57, 0xb4, 0x88, 0x15, 0xdc, 0x7e, 0xc7, 0xa8, 0x17, 0xb1,
|
||||
0x0e, 0x8c, 0x95, 0xc3, 0xee, 0xce, 0xfb, 0x50, 0x59, 0x06, 0x99, 0x6e, 0x5f, 0xf2, 0x13, 0x77,
|
||||
0xa1, 0x11, 0xc9, 0x36, 0x5c, 0x3b, 0x62, 0x93, 0x19, 0x77, 0x08, 0x58, 0xa5, 0xb5, 0x0f, 0xe5,
|
||||
0x2f, 0x99, 0x3a, 0xb8, 0x4c, 0x05, 0x73, 0xd2, 0x5f, 0x47, 0x85, 0x22, 0x3a, 0x17, 0x54, 0x68,
|
||||
0xfd, 0xe6, 0x41, 0x10, 0x71, 0x35, 0x9b, 0x68, 0xb2, 0xe3, 0x78, 0x6e, 0x8e, 0xd7, 0xba, 0x45,
|
||||
0xea, 0x39, 0xae, 0x5f, 0x46, 0xff, 0xc1, 0x7f, 0xd0, 0xbf, 0xd2, 0xec, 0xc9, 0x43, 0xd8, 0x34,
|
||||
0x23, 0xce, 0xdc, 0x5f, 0xac, 0xa8, 0x8f, 0x87, 0xff, 0x9f, 0x80, 0xb5, 0x44, 0x89, 0xc5, 0xff,
|
||||
0xbe, 0xa0, 0xcd, 0xcf, 0x1e, 0x90, 0xc3, 0x38, 0x99, 0x4d, 0x98, 0x8e, 0x65, 0xba, 0xdc, 0x06,
|
||||
0x5f, 0xd8, 0xee, 0xf0, 0xff, 0xf0, 0x90, 0xd3, 0x1f, 0xae, 0x9f, 0x85, 0x43, 0xac, 0xbb, 0x61,
|
||||
0x4a, 0x3b, 0x9d, 0x37, 0x3c, 0x84, 0x02, 0x41, 0xfc, 0x14, 0x82, 0x0c, 0x91, 0xc0, 0x56, 0xab,
|
||||
0x7b, 0xcd, 0xf5, 0x59, 0x2c, 0x62, 0x91, 0x8b, 0x6f, 0x3d, 0x86, 0xf2, 0x33, 0x25, 0x3e, 0x33,
|
||||
0x60, 0xed, 0x82, 0xa1, 0x6d, 0x7f, 0x85, 0x32, 0xe5, 0x44, 0x89, 0x9e, 0x61, 0xcd, 0x62, 0x8f,
|
||||
0x98, 0xec, 0x35, 0x8b, 0xed, 0xa3, 0xc0, 0x8c, 0x9f, 0x7a, 0xad, 0xef, 0x3d, 0xa8, 0xf4, 0xf2,
|
||||
0x45, 0x92, 0x87, 0xcb, 0x49, 0x94, 0xde, 0xdd, 0x8d, 0x3b, 0xb0, 0x32, 0xac, 0x4b, 0x20, 0x17,
|
||||
0xaf, 0x0e, 0x32, 0x52, 0xf1, 0xc7, 0x22, 0x6c, 0x1d, 0x72, 0x96, 0x0d, 0xc7, 0xbd, 0x5c, 0x39,
|
||||
0x66, 0x7c, 0x0c, 0x55, 0x2d, 0x35, 0x9b, 0xf4, 0x87, 0x72, 0x96, 0xda, 0xa5, 0xeb, 0x77, 0xb7,
|
||||
0xde, 0xcc, 0x1b, 0xab, 0xe6, 0x08, 0x50, 0xd9, 0x37, 0xb2, 0x61, 0xac, 0x8d, 0xb5, 0x74, 0xb3,
|
||||
0x8a, 0xc9, 0x33, 0x65, 0x82, 0xf7, 0xd3, 0x59, 0x32, 0xe0, 0x19, 0x6e, 0x5f, 0x97, 0x67, 0xc5,
|
||||
0x1c, 0x81, 0x51, 0xbe, 0x46, 0x99, 0xdc, 0x05, 0xd4, 0xfa, 0x98, 0x1a, 0xb7, 0xb2, 0xdf, 0xbd,
|
||||
0xfe, 0x66, 0xde, 0x58, 0xb1, 0x46, 0x15, 0x23, 0xf7, 0x8c, 0x68, 0xae, 0x9d, 0xc4, 0x49, 0xac,
|
||||
0x71, 0x57, 0xfb, 0x91, 0x55, 0xc8, 0x27, 0x50, 0xd2, 0xb9, 0xa2, 0x01, 0x22, 0x71, 0x67, 0x3d,
|
||||
0x9a, 0x17, 0x2f, 0x4c, 0x64, 0x0e, 0x58, 0x40, 0xba, 0x8f, 0x5f, 0xff, 0x53, 0x2f, 0xbc, 0x3a,
|
||||
0xab, 0x7b, 0xa7, 0x67, 0x75, 0xef, 0xef, 0xb3, 0xba, 0xf7, 0xd3, 0x79, 0xbd, 0x70, 0x7a, 0x5e,
|
||||
0x2f, 0xbc, 0x3e, 0xaf, 0x17, 0xbe, 0x6d, 0x89, 0x58, 0x8f, 0x67, 0x83, 0x70, 0x28, 0x93, 0x8e,
|
||||
0x7b, 0x31, 0xed, 0xe7, 0xae, 0x1a, 0xbd, 0xb4, 0xcf, 0xdb, 0x20, 0x40, 0xd0, 0xef, 0xff, 0x1b,
|
||||
0x00, 0x00, 0xff, 0xff, 0x41, 0x3c, 0xca, 0x00, 0x53, 0x07, 0x00, 0x00,
|
||||
// 903 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xbf, 0x6f, 0x1b, 0x37,
|
||||
0x14, 0x16, 0xa5, 0xcb, 0xc9, 0x7a, 0xb2, 0x9b, 0x82, 0x30, 0x1c, 0x3a, 0x69, 0x25, 0x55, 0x49,
|
||||
0x01, 0x2d, 0x3d, 0x21, 0x4e, 0x50, 0x34, 0x99, 0x12, 0xb9, 0xbf, 0x0c, 0x24, 0x1d, 0xce, 0x0a,
|
||||
0x0a, 0x74, 0x11, 0x28, 0x89, 0xa1, 0x0e, 0xd1, 0x1d, 0x85, 0x23, 0x65, 0x9f, 0xb7, 0x6e, 0xed,
|
||||
0xd8, 0xa9, 0x43, 0xa7, 0xae, 0xed, 0x5f, 0x92, 0xa1, 0x83, 0xc7, 0x0c, 0x81, 0xdb, 0xda, 0xff,
|
||||
0x48, 0xc1, 0x47, 0x4a, 0x56, 0xea, 0x28, 0xc8, 0x24, 0xbe, 0xef, 0xfd, 0xe0, 0x7b, 0xdf, 0xfb,
|
||||
0xc4, 0x83, 0xdb, 0x23, 0xa5, 0x53, 0xa5, 0xbb, 0x43, 0xae, 0x45, 0x97, 0x0f, 0x47, 0x49, 0xf7,
|
||||
0xe8, 0xee, 0x50, 0x18, 0x7e, 0x17, 0x8d, 0x68, 0x96, 0x2b, 0xa3, 0x28, 0x73, 0x41, 0x91, 0x0d,
|
||||
0x8a, 0x10, 0xf7, 0x41, 0x37, 0xb7, 0xa5, 0x92, 0x0a, 0x83, 0xba, 0xf6, 0xe4, 0xe2, 0x6f, 0xde,
|
||||
0x32, 0x22, 0x1b, 0x8b, 0x3c, 0x4d, 0x32, 0xe3, 0x6a, 0x9a, 0x93, 0x99, 0xd0, 0xde, 0xb9, 0x2b,
|
||||
0x95, 0x92, 0x53, 0xd1, 0x45, 0x6b, 0x38, 0x7f, 0xde, 0xe5, 0xd9, 0x89, 0x73, 0xb5, 0xff, 0xaa,
|
||||
0x00, 0xf4, 0x8b, 0x58, 0xe8, 0x99, 0xca, 0xb4, 0xa0, 0x3b, 0x10, 0x4e, 0x44, 0x22, 0x27, 0x86,
|
||||
0x91, 0x16, 0xe9, 0x54, 0x62, 0x6f, 0xd1, 0x36, 0x84, 0xa6, 0x98, 0x70, 0x3d, 0x61, 0xe5, 0x16,
|
||||
0xe9, 0xd4, 0x7a, 0x70, 0x7e, 0xd6, 0x0c, 0xfb, 0xc5, 0xb7, 0x5c, 0x4f, 0x62, 0xef, 0xa1, 0x1f,
|
||||
0x41, 0x6d, 0xa4, 0xc6, 0x42, 0xcf, 0xf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
|
||||
0xea, 0x46, 0x19, 0x3e, 0x1d, 0x8c, 0xd4, 0x3c, 0x33, 0x5e, 0x5f, 0x80, 0xd0, 0xbe, 0x45, 0xac,
|
||||
0x40, 0x9d, 0xcb, 0xa9, 0xcb, 0x19, 0x36, 0x6d, 0xc6, 0xa5, 0x18, 0x64, 0xf3, 0x74, 0x28, 0x72,
|
||||
0x7c, 0x6c, 0x83, 0x18, 0x2c, 0xf4, 0x1d, 0x22, 0x56, 0xb6, 0x18, 0x80, 0x95, 0xf0, 0xcd, 0x0d,
|
||||
0xe2, 0x9a, 0x45, 0xfa, 0x16, 0xb0, 0x55, 0xa7, 0x49, 0x9a, 0x18, 0x7c, 0x79, 0x83, 0xd8, 0x19,
|
||||
0xf4, 0x73, 0xa8, 0x98, 0x42, 0xb3, 0x10, 0xe7, 0xba, 0xb3, 0x9e, 0x9b, 0xcb, 0xef, 0x45, 0x6c,
|
||||
0x13, 0xdc, 0x78, 0xbd, 0x47, 0xaf, 0xfe, 0x6d, 0x94, 0x5e, 0x9e, 0x37, 0xc8, 0xe9, 0x79, 0x83,
|
||||
0xfc, 0x73, 0xde, 0x20, 0xbf, 0x5c, 0x34, 0x4a, 0xa7, 0x17, 0x8d, 0xd2, 0xab, 0x8b, 0x46, 0xe9,
|
||||
0x87, 0xb6, 0x4c, 0xcc, 0x64, 0x3e, 0x8c, 0x46, 0x2a, 0xed, 0xfa, 0xef, 0x9f, 0xfb, 0xf9, 0x4c,
|
||||
0x8f, 0x5f, 0xb8, 0x8f, 0xd5, 0x30, 0x44, 0x0a, 0xef, 0xfd, 0x17, 0x00, 0x00, 0xff, 0xff, 0xf9,
|
||||
0x9f, 0x2d, 0x62, 0x21, 0x07, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (m *TxResponse) Marshal() (dAtA []byte, err error) {
|
||||
|
||||
@ -30,7 +30,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
||||
// type for additional functionality (e.g. vesting).
|
||||
type BaseAccount struct {
|
||||
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
||||
PubKey *types.Any `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"public_key,omitempty"`
|
||||
PubKey *types.Any `protobuf:"bytes,2,opt,name=pub_key,json=public_key,proto3" json:"pub_key,omitempty"`
|
||||
AccountNumber uint64 `protobuf:"varint,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
|
||||
Sequence uint64 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
||||
}
|
||||
@ -191,46 +191,44 @@ func init() {
|
||||
func init() { proto.RegisterFile("cosmos/auth/v1beta1/auth.proto", fileDescriptor_7e1f7e915d020d2d) }
|
||||
|
||||
var fileDescriptor_7e1f7e915d020d2d = []byte{
|
||||
// 609 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x3f, 0x6f, 0xd3, 0x4e,
|
||||
0x18, 0x8e, 0xdb, 0xfc, 0xfa, 0xe7, 0xd2, 0x56, 0xea, 0x35, 0xbf, 0xe2, 0x66, 0xb0, 0xad, 0x4a,
|
||||
0x48, 0x41, 0x22, 0x0e, 0x09, 0x2a, 0x12, 0xdd, 0xea, 0x82, 0x50, 0x05, 0x85, 0xca, 0x11, 0x0c,
|
||||
0x2c, 0xd6, 0xd9, 0x79, 0xeb, 0x9e, 0x9a, 0xf3, 0x19, 0xdf, 0xb9, 0x8a, 0xfb, 0x09, 0x18, 0x19,
|
||||
0x19, 0xfb, 0x01, 0x18, 0x3b, 0x33, 0xa3, 0x4e, 0x15, 0x13, 0x53, 0x84, 0xd2, 0x01, 0xc4, 0xa7,
|
||||
0x40, 0xb9, 0x73, 0xaa, 0x16, 0x75, 0xf2, 0xbd, 0xcf, 0xf3, 0xdc, 0xf3, 0xfe, 0xf3, 0x21, 0x2b,
|
||||
0xe2, 0x82, 0x71, 0xd1, 0x26, 0xb9, 0x3c, 0x6a, 0x9f, 0x74, 0x42, 0x90, 0xa4, 0xa3, 0x02, 0x37,
|
||||
0xcd, 0xb8, 0xe4, 0x78, 0x4d, 0xf3, 0xae, 0x82, 0x4a, 0xbe, 0xb1, 0xa1, 0xc1, 0x40, 0x49, 0xda,
|
||||
0xa5, 0x42, 0x05, 0x8d, 0x7a, 0xcc, 0x63, 0xae, 0xf1, 0xc9, 0xa9, 0x44, 0x37, 0x62, 0xce, 0xe3,
|
||||
0x01, 0xb4, 0x55, 0x14, 0xe6, 0x87, 0x6d, 0x92, 0x14, 0x9a, 0xda, 0xfc, 0x65, 0xa0, 0x9a, 0x47,
|
||||
0x04, 0xec, 0x44, 0x11, 0xcf, 0x13, 0x89, 0xbb, 0x68, 0x9e, 0xf4, 0xfb, 0x19, 0x08, 0x61, 0x1a,
|
||||
0x8e, 0xd1, 0x5c, 0xf4, 0xcc, 0xef, 0xe7, 0xad, 0x7a, 0x99, 0x63, 0x47, 0x33, 0x3d, 0x99, 0xd1,
|
||||
0x24, 0xf6, 0xa7, 0x42, 0xfc, 0x02, 0xcd, 0xa7, 0x79, 0x18, 0x1c, 0x43, 0x61, 0xce, 0x38, 0x46,
|
||||
0xb3, 0xd6, 0xad, 0xbb, 0x3a, 0xa1, 0x3b, 0x4d, 0xe8, 0xee, 0x24, 0x85, 0x67, 0xfe, 0x19, 0xd9,
|
||||
0xf5, 0x34, 0x0f, 0x07, 0x34, 0x9a, 0x68, 0x1f, 0x72, 0x46, 0x25, 0xb0, 0x54, 0x16, 0xfe, 0x5c,
|
||||
0x9a, 0x87, 0x2f, 0xa1, 0xc0, 0xf7, 0xd1, 0x0a, 0xd1, 0x75, 0x04, 0x49, 0xce, 0x42, 0xc8, 0xcc,
|
||||
0x59, 0xc7, 0x68, 0x56, 0xfd, 0xe5, 0x12, 0x7d, 0xad, 0x40, 0xdc, 0x40, 0x0b, 0x02, 0x3e, 0xe4,
|
||||
0x90, 0x44,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64, 0x41, 0x58, 0x48, 0x28, 0xe7, 0xbd, 0x3a, 0x91, 0x9e, 0xc2, 0x2e, 0x17, 0xf2, 0x00, 0x32,
|
||||
0xaf, 0x90, 0x80, 0xdf, 0xa0, 0x7b, 0x13, 0xc3, 0x13, 0xc8, 0xe8, 0x61, 0xa1, 0x2f, 0x41, 0xbf,
|
||||
0xbb, 0xb5, 0xd5, 0x79, 0xaa, 0x57, 0xe0, 0x99, 0xe3, 0x91, 0x5d, 0xef, 0xd1, 0xf8, 0x9d, 0x52,
|
||||
0x4c, 0xae, 0x3e, 0x7f, 0xa6, 0x78, 0xbf, 0x2e, 0x6e, 0xa1, 0xfa, 0x16, 0x7e, 0x8b, 0x36, 0xfe,
|
||||
0x35, 0x14, 0x10, 0xa5, 0xdd, 0xad, 0x27, 0xc7, 0x1d, 0xf3, 0x3f, 0x65, 0xd9, 0x18, 0x8f, 0xec,
|
||||
0xf5, 0x5b, 0x96, 0xbd, 0xa9, 0xc2, 0x5f, 0x17, 0x77, 0xe2, 0xdb, 0x0b, 0xe5, 0xee, 0x0d, 0x6f,
|
||||
0xf7, 0xdb, 0xd8, 0x32, 0x2e, 0xc7, 0x96, 0xf1, 0x73, 0x6c, 0x19, 0x9f, 0xae, 0xac, 0xca, 0xe5,
|
||||
0x95, 0x55, 0xf9, 0x71, 0x65, 0x55, 0xde, 0x3f, 0x88, 0xa9, 0x3c, 0xca, 0x43, 0x37, 0xe2, 0xac,
|
||||
0x7c, 0x3d, 0xe5, 0xa7, 0x25, 0xfa, 0xc7, 0xed, 0xa1, 0x7e, 0x8c, 0xb2, 0x48, 0x41, 0x84, 0x73,
|
||||
0xea, 0x0f, 0x7e, 0xfc, 0x37, 0x00, 0x00, 0xff, 0xff, 0x35, 0x25, 0xef, 0x58, 0xa8, 0x03, 0x00,
|
||||
0x00,
|
||||
// 589 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x3f, 0x4f, 0xdb, 0x4e,
|
||||
0x18, 0x8e, 0xc1, 0x3f, 0xfe, 0x5c, 0x00, 0x89, 0x23, 0x3f, 0x6a, 0x32, 0xd8, 0x16, 0x52, 0xa5,
|
||||
0x74, 0x88, 0xdd, 0xa4, 0xa2, 0x52, 0xd9, 0x30, 0xed, 0x80, 0x54, 0x5a, 0xe4, 0xa8, 0x1d, 0xba,
|
||||
0x58, 0x67, 0xe7, 0xc5, 0x58, 0xe4, 0x7c, 0xae, 0xef, 0x8c, 0x62, 0x3e, 0x41, 0xc7, 0x8e, 0x1d,
|
||||
0xf9, 0x00, 0x1d, 0x99, 0x3b, 0x57, 0x4c, 0xb4, 0x53, 0x27, 0x54, 0x85, 0xa5, 0x1f, 0xa3, 0xf2,
|
||||
0x9d, 0x83, 0x48, 0xc5, 0xe4, 0x7b, 0x9f, 0xe7, 0xb9, 0xe7, 0xfd, 0xe7, 0x43, 0x66, 0xc4, 0x38,
|
||||
0x65, 0xdc, 0x25, 0x85, 0x38, 0x71, 0xcf, 0x7a, 0x21, 0x08, 0xd2, 0x93, 0x81, 0x93, 0xe5, 0x4c,
|
||||
0x30, 0xbc, 0xa1, 0x78, 0x47, 0x42, 0x35, 0xdf, 0xde, 0x52, 0x60, 0x20, 0x25, 0x6e, 0xad, 0x90,
|
||||
0x41, 0xbb, 0x15, 0xb3, 0x98, 0x29, 0xbc, 0x3a, 0xd5, 0xe8, 0x56, 0xcc, 0x58, 0x3c, 0x02, 0x57,
|
||||
0x46, 0x61, 0x71, 0xec, 0x92, 0xb4, 0x54, 0xd4, 0xf6, 0x0f, 0x0d, 0x35, 0x3d, 0xc2, 0x61, 0x2f,
|
||||
0x8a, 0x58, 0x91, 0x0a, 0xdc, 0x47, 0x8b, 0x64, 0x38, 0xcc, 0x81, 0x73, 0x43, 0xb3, 0xb5, 0xce,
|
||||
0xb2, 0x67, 0xfc, 0xbc, 0xec, 0xb6, 0xea, 0x1c, 0x7b, 0x8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d, 0x31, 0xb5, 0xcf, 0xb7, 0x66, 0xe3, 0xfa, 0xd6, 0x6c, 0xfc, 0xba,
|
||||
0x35, 0x1b, 0x1f, 0x9e, 0xc4, 0x89, 0x38, 0x29, 0x42, 0x27, 0x62, 0xb4, 0x7e, 0x27, 0xf5, 0xa7,
|
||||
0xcb, 0x87, 0xa7, 0xee, 0x58, 0x3d, 0x3b, 0x51, 0x66, 0xc0, 0xc3, 0x05, 0xf9, 0xaf, 0x3e, 0xfb,
|
||||
0x1b, 0x00, 0x00, 0xff, 0xff, 0xee, 0xd0, 0x0a, 0xf0, 0x92, 0x03, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (this *Params) Equal(that interface{}) bool {
|
||||
|
||||
@ -473,7 +473,7 @@ var xxx_messageInfo_CommunityPoolSpendProposal proto.InternalMessageInfo
|
||||
type DelegatorStartingInfo struct {
|
||||
PreviousPeriod uint64 `protobuf:"varint,1,opt,name=previous_period,json=previousPeriod,proto3" json:"previous_period,omitempty"`
|
||||
Stake github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=stake,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"stake"`
|
||||
Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"creation_height"`
|
||||
Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DelegatorStartingInfo) Reset() { *m = DelegatorStartingInfo{} }
|
||||
@ -626,65 +626,64 @@ func init() {
|
||||
}
|
||||
|
||||
var fileDescriptor_cd78a31ea281a992 = []byte{
|
||||
// 922 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xcf, 0x6f, 0x1b, 0xc5,
|
||||
0x17, 0xf7, 0x7c, 0xe3, 0x38, 0xe9, 0x6b, 0x9b, 0x7c, 0x99, 0x38, 0xa9, 0xe3, 0x56, 0x76, 0xb4,
|
||||
0x12, 0x10, 0x54, 0xc5, 0x69, 0xda, 0x5b, 0xc4, 0x25, 0x76, 0x82, 0xe0, 0xd4, 0x68, 0x83, 0x00,
|
||||
0x71, 0x59, 0x8d, 0x77, 0x27, 0xf6, 0x28, 0xbb, 0x33, 0xcb, 0xcc, 0xac, 0x93, 0x9e, 0x39, 0xf0,
|
||||
0xe3, 0x84, 0xc4, 0x05, 0x71, 0x40, 0x3d, 0x22, 0xce, 0xbd, 0x70, 0xe4, 0xd6, 0x63, 0xe9, 0x05,
|
||||
0xc4, 0x21, 0xa0, 0x44, 0x48, 0x88, 0xbf, 0x02, 0xcd, 0xce, 0x78, 0xd7, 0x81, 0x50, 0xf5, 0x10,
|
||||
0x8b, 0x93, 0x3d, 0xef, 0xcd, 0x7e, 0x7e, 0xbc, 0x79, 0xfb, 0x66, 0xa1, 0x13, 0x0a, 0x95, 0x08,
|
||||
0xb5, 0x19, 0x31, 0xa5, 0x25, 0xeb, 0x67, 0x9a, 0x09, 0xbe, 0x39, 0xda, 0xea, 0x53, 0x4d, 0xb6,
|
||||
0x2e, 0x04, 0x3b, 0xa9, 0x14, 0x5a, 0xe0, 0xdb, 0x76, 0x7f, 0xe7, 0x42, 0xca, 0xed, 0x6f, 0xd6,
|
||||
0x07, 0x62, 0x20, 0xf2, 0x7d, 0x9b, 0xe6, 0x9f, 0x7d, 0xa4, 0xd9, 0x72, 0x14, 0x7d, 0xa2, 0x68,
|
||||
0x01, 0x1d, 0x0a, 0xe6, 0x20, 0x9b, 0xab, 0x36, 0x1f, 0xd8, 0x07, 0x1d, 0x7e, 0xbe, 0xf0, 0x3e,
|
||||
0x99, 0x81, 0xda, 0x3e, 0x91, 0x24, 0x51, 0x98, 0xc0, 0xcd, 0x50, 0x24, 0x49, 0xc6, 0x99, 0x7e,
|
||||
0x14, 0x68, 0x72, 0xd2, 0x40, 0x6b, 0x68, 0xfd, 0x5a, 0xf7, 0xcd, 0xa7, 0xa7, 0xed, 0xca, 0x2f,
|
||||
0xa7, 0xed, 0xd7, 0x06, 0x4c, 0x0f, 0xb3, 0x7e, 0x27, 0x14, 0x89, 0x83, 0x70, 0x3f, 0x1b, 0x2a,
|
||||
0x3a, 0xda, 0xd4, 0x8f, 0x52, 0xaa, 0x3a, 0xbb, 0x34, 0x7c, 0xfe, 0x64, 0x03, 0x1c, 0xc3, 0x2e,
|
||||
0x0d, 0xfd, 0x1b, 0x05, 0xe4, 0xbb, 0xe4, 0x04, 0x73, 0xa8, 0x1b, 0x8d, 0x46, 0x48, 0x2a, 0x14,
|
||||
0x95, 0x81, 0xa4, 0xc7, 0x44, 0x46, 0x8d, 0xff, 0x5d, 0x01, 0x13, 0x36, 0xc8, 0xfb, 0x0e, 0xd8,
|
||||
0xcf, 0x71, 0x71, 0x0a, 0xcb, 0x7d, 0xc1, 0x33, 0xf5, 0x0f, 0xc2, 0x99, 0x2b, 0x20, 0x5c, 0xca,
|
||||
0xa1, 0xff, 0xc6, 0x78, 0x1f, 0x96, 0x8f, 0x99, 0x1e, 0x46, 0x92, 0x1c, 0x07, 0x24, 0x8a, 0x64,
|
||||
0x40, 0x39, 0xe9, 0xc7, 0x34, 0x6a, 0x54, 0xd7, 0xd0, 0xfa, 0xbc, 0xbf, 0x34, 0x4e, 0xee, 0x44,
|
||||
0x91, 0xdc, 0xb3, 0xa9, 0xed, 0xea, 0x57, 0x8f, 0xdb, 0x15, 0xef, 0x47, 0x04, 0xcd, 0xf7, 0x48,
|
||||
0xcc, 0x22, 0xa2, 0x85, 0x7c, 0x9b, 0x29, 0x2d, 0x24, 0x0b, 0x49, 0x6c, 0x71, 0x15, 0xfe, 0x0c,
|
||||
0xc1, 0xad, 0x30, 0x4b, 0xb2, 0x98, 0x68, 0x36, 0xa2, 0xce, 0x47, 0x20, 0x89, 0x66, 0xa2, 0x81,
|
||||
0xd6, 0x66, 0xd6, 0xaf, 0xdf, 0xbf, 0xe3, 0x3a, 0xad, 0x63, 0x0a, 0x31, 0xee, 0x18, 0xa3, 0xb4,
|
||||
0x27, 0x18, 0xef, 0x3e, 0x30, 0x5e, 0xbf, 0xfb, 0xb5, 0x7d, 0xf7, 0xe5, 0xbc, 0x9a, 0x67, 0x94,
|
||||
0xbf, 0x5c, 0x32, 0x5a, 0x1d, 0xbe, 0xe1, 0xc3, 0xaf, 0xc3, 0xa2, 0xa4, 0x87, 0x54, 0x52, 0x1e,
|
||||
0xd2, 0x20, 0x14, 0x19, 0xd7, 0xf9, 0x09, 0xde, 0xf4, 0x17, 0x8a, 0x70, 0xcf, 0x44, 0xbd, 0x6f,
|
||||
0x10, 0xdc, 0x2a, 0x3c, 0xf5, 0x32, 0x29, 0x29, 0xd7, 0x63, 0x43, 0x47, 0x30, 0x67, 0x4d, 0xa8,
|
||||
0xe9, 0xe9, 0x1f, 0x33, 0xe0, 0x15, 0xa8, 0xa5, 0x54, 0x32, 0x61, 0x5b, 0xad, 0xea, 0xbb, 0x95,
|
||||
0xf7, 0x25, 0x82, 0x56, 0x21, 0x70, 0x27, 0x74, 0x76, 0x69, 0xd4, 0x13, 0x49, 0xc2, 0x94, 0x62,
|
||||
0x82, 0xe3, 0x8f, 0x00, 0xc2, 0x62, 0x35, 0x3d, 0xa9, 0x13, 0x24, 0xde, 0xe7, 0x08, 0x6e, 0x17,
|
||||
0xaa, 0x1e, 0x66, 0x5a, 0x69, 0xc2, 0x23, 0xc6, 0x07, 0xff, 0x45, 0xe9, 0xbc, 0xaf, 0x11, 0x2c,
|
||||
0x15, 0x62, 0x0e, 0x62, 0xa2, 0x86, 0x7b, 0x23, 0xca, 0x35, 0x7e, 0x03, 0xfe, 0x3f, 0x1a, 0x87,
|
||||
0x03, 0x57, 0x5c, 0x94, 0x17, 0x77, 0xb1, 0x88, 0xef, 0xe7, 0x61, 0xfc, 0x01, 0xcc, 0x1f, 0x4a,
|
||||
0x12, 0x9a, 0x49, 0x76, 0x25, 0xaf, 0x7a, 0x81, 0x66, 0x2a, 0x55, 0xbf, 0x44, 0x9c,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df, 0x5a, 0x0f, 0xfe, 0x0a, 0x00, 0x00,
|
||||
0xff, 0xff, 0x68, 0x12, 0x5a, 0x76, 0x0b, 0x0a, 0x00, 0x00,
|
||||
// 906 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x3f, 0x6f, 0x1c, 0x45,
|
||||
0x14, 0xbf, 0xc1, 0xe7, 0xb3, 0xf3, 0x92, 0x38, 0x30, 0x3e, 0x3b, 0xe7, 0x4b, 0xb4, 0x67, 0xad,
|
||||
0x04, 0x18, 0x21, 0x9f, 0xe3, 0xa4, 0xb3, 0x68, 0xec, 0xb3, 0x11, 0x54, 0xb1, 0xd6, 0x08, 0x10,
|
||||
0xcd, 0x6a, 0x6e, 0x77, 0x7c, 0x37, 0xf2, 0xee, 0xcc, 0x32, 0x33, 0x7b, 0x76, 0x6a, 0x0a, 0xfe,
|
||||
0x54, 0x48, 0x34, 0x88, 0x02, 0xa5, 0x44, 0x88, 0x32, 0x0d, 0xdf, 0x20, 0x65, 0x48, 0x03, 0xa2,
|
||||
0x08, 0xc8, 0x16, 0x12, 0x1f, 0x03, 0xcd, 0xce, 0xdc, 0xee, 0x19, 0x4c, 0x94, 0xc2, 0xa7, 0x54,
|
||||
0xf6, 0x7b, 0x6f, 0xf7, 0xf7, 0xe7, 0xcd, 0xdb, 0x37, 0x07, 0xdd, 0x48, 0xa8, 0x54, 0xa8, 0x8d,
|
||||
0x98, 0x29, 0x2d, 0x59, 0x3f, 0xd7, 0x4c, 0xf0, 0x8d, 0xd1, 0x66, 0x9f, 0x6a, 0xb2, 0x79, 0x2e,
|
||||
0xd9, 0xcd, 0xa4, 0xd0, 0x02, 0xdf, 0xb2, 0xcf, 0x77, 0xcf, 0x95, 0xdc, 0xf3, 0xed, 0xe6, 0x40,
|
||||
0x0c, 0x44, 0xf1, 0xdc, 0x86, 0xf9, 0xcf, 0xbe, 0xd2, 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0x3b, 0x35, 0xff, 0x17, 0x04, 0xed, 0x0f, 0x49, 0xc2,
|
||||
0x62, 0xa2, 0x85, 0x7c, 0x8f, 0x29, 0x2d, 0x24, 0x8b, 0x48, 0x62, 0x71, 0x15, 0xfe, 0x12, 0xc1,
|
||||
0xcd, 0x28, 0x4f, 0xf3, 0x84, 0x68, 0x36, 0xa2, 0xce, 0x47, 0x28, 0x89, 0x66, 0xa2, 0x85, 0x56,
|
||||
0x67, 0xd6, 0xae, 0xde, 0xbd, 0xed, 0x26, 0xad, 0x6b, 0x1a, 0x31, 0x9e, 0x18, 0xa3, 0xb4, 0x27,
|
||||
0x18, 0xdf, 0xb9, 0x67, 0xbc, 0xfe, 0xf8, 0x47, 0xe7, 0xed, 0x17, 0xf3, 0x6a, 0xde, 0x51, 0xc1,
|
||||
0x52, 0xc5, 0x68, 0x75, 0x04, 0x86, 0x0f, 0xbf, 0x09, 0x37, 0x24, 0x3d, 0xa4, 0x92, 0xf2, 0x88,
|
||||
0x86, 0x91, 0xc8, 0xb9, 0x2e, 0x4e, 0xf0, 0x7a, 0xb0, 0x50, 0xa6, 0x7b, 0x26, 0xeb, 0x7f, 0x8f,
|
||||
0xe0, 0x66, 0xe9, 0xa9, 0x97, 0x4b, 0x49, 0xb9, 0x1e, 0x1b, 0x3a, 0x82, 0x39, 0x6b, 0x42, 0x4d,
|
||||
0x4f, 0xff, 0x98, 0x01, 0x2f, 0x43, 0x23, 0xa3, 0x92, 0x09, 0x3b, 0x6a, 0xf5, 0xc0, 0x45, 0xfe,
|
||||
0x37, 0x08, 0xbc, 0x52, 0xe0, 0x76, 0xe4, 0xec, 0xd2, 0xb8, 0x27, 0xd2, 0x94, 0x29, 0xc5, 0x04,
|
||||
0xc7, 0x9f, 0x02, 0x44, 0x65, 0x34, 0x3d, 0xa9, 0x13, 0x24, 0xfe, 0x57, 0x08, 0x6e, 0x95, 0xaa,
|
||||
0xee, 0xe7, 0x5a, 0x69, 0xc2, 0x63, 0xc6, 0x07, 0x2f, 0xa3, 0x75, 0xfe, 0x77, 0x08, 0x16, 0x4b,
|
||||
0x31, 0x07, 0x09, 0x51, 0xc3, 0xbd, 0x11, 0xe5, 0x1a, 0xbf, 0x05, 0xaf, 0x8e, 0xc6, 0xe9, 0xd0,
|
||||
0x35, 0x17, 0x15, 0xcd, 0xbd, 0x51, 0xe6, 0xf7, 0x8b, 0x34, 0xfe, 0x18, 0xe6, 0x0f, 0x25, 0x89,
|
||||
0xcc, 0x26, 0xbb, 0x94, 0x4f, 0xbd, 0x44, 0x33, 0x9d, 0x6a, 0x5e, 0x20, 0x4e, 0xe1, 0x04, 0x96,
|
||||
0x2b, 0x75, 0xca, 0x14, 0x42, 0x5a, 0x54, 0x5c, 0xc7, 0xee, 0x74, 0x9f, 0xb3, 0x66, 0xbb, 0x17,
|
||||
0x40, 0xee, 0xd4, 0x8d, 0xe4, 0xa0, 0x39, 0xba, 0x80, 0xcd, 0x7d, 0xc1, 0x9f, 0x21, 0x98, 0x7b,
|
||||
0x97, 0xd2, 0x7d, 0x21, 0x12, 0x7c, 0x02, 0x0b, 0xd5, 0x32, 0xcd, 0x84, 0x48, 0xa6, 0x77, 0x52,
|
||||
0xd5, 0xd6, 0x36, 0xcc, 0xfe, 0x5f, 0x08, 0xda, 0xbd, 0xc9, 0xcc, 0x41, 0x46, 0x79, 0x6c, 0xd7,
|
||||
0x14, 0x49, 0x70, 0x13, 0x66, 0x35, 0xd3, 0x09, 0xb5, 0xdb, 0x3d, 0xb0, 0x01, 0x5e, 0x85, 0xab,
|
||||
0x31, 0x55, 0x91, 0x64, 0x59, 0x75, 0x48, 0xc1, 0x64, 0x0a, 0xdf, 0x86, 0x2b, 0x92, 0x46, 0x2c,
|
||||
0x63, 0x94, 0x6b, 0xbb, 0x3e, 0x83, 0x2a, 0x81, 0x23, 0x68, 0x90, 0xb4, 0x58, 0x04, 0xf5, 0xc2,
|
||||
0xe6, 0xca, 0x85, 0x36, 0x0b, 0x8f, 0x77, 0x9c, 0x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 0xa9, 0x87, 0x9e, 0x9c, 0x7a, 0xe8, 0xcf, 0x53, 0x0f, 0x7d,
|
||||
0x7d, 0xe6, 0xd5, 0x9e, 0x9c, 0x79, 0xb5, 0xdf, 0xce, 0xbc, 0xda, 0x27, 0x9b, 0xcf, 0x6d, 0xcc,
|
||||
0xc9, 0xf9, 0x9f, 0x74, 0x45, 0x9f, 0xfa, 0x8d, 0xe2, 0x67, 0xd5, 0xbd, 0x7f, 0x02, 0x00, 0x00,
|
||||
0xff, 0xff, 0x3e, 0x95, 0xe7, 0x07, 0xf6, 0x09, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (this *Params) Equal(that interface{}) bool {
|
||||
|
||||
@ -27,7 +27,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
||||
// GenesisState defines the raw genesis transaction in JSON.
|
||||
type GenesisState struct {
|
||||
// gen_txs defines the genesis transactions.
|
||||
GenTxs []encoding_json.RawMessage `protobuf:"bytes,1,rep,name=gen_txs,json=genTxs,proto3,casttype=encoding/json.RawMessage" json:"gentxs"`
|
||||
GenTxs []encoding_json.RawMessage `protobuf:"bytes,1,rep,name=gen_txs,json=genTxs,proto3,casttype=encoding/json.RawMessage" json:"gen_txs,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GenesisState) Reset() { *m = GenesisState{} }
|
||||
@ -79,21 +79,21 @@ func init() {
|
||||
}
|
||||
|
||||
var fileDescriptor_31771d25e8d8f90f = []byte{
|
||||
// 221 bytes of a gzipped FileDescriptorProto
|
||||
// 213 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0xce, 0x2f, 0xce,
|
||||
0xcd, 0x2f, 0xd6, 0x4f, 0x4f, 0xcd, 0x2b, 0x2d, 0xc9, 0xcc, 0xd1, 0x2f, 0x33, 0x4c, 0x4a, 0x2d,
|
||||
0x49, 0x34, 0x04, 0xf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,
|
||||
0x02, 0x00, 0x00, 0xff, 0xff, 0xc5, 0xe1, 0x3b, 0x15, 0xf5, 0x00, 0x00, 0x00,
|
||||
0xf4, 0x41, 0x2c, 0x88, 0x6a, 0x25, 0x57, 0x2e, 0x1e, 0x77, 0x88, 0xf6, 0xe0, 0x92, 0xc4, 0x92,
|
||||
0x54, 0x21, 0x53, 0x2e, 0xf6, 0xf4, 0xd4, 0xbc, 0xf8, 0x92, 0x8a, 0x62, 0x09, 0x46, 0x05, 0x66,
|
||||
0x0d, 0x1e, 0x27, 0x99, 0x5f, 0xf7, 0xe4, 0x25, 0x52, 0xf3, 0x92, 0xf3, 0x53, 0x32, 0xf3, 0xd2,
|
||||
0xf5, 0xb3, 0x8a, 0xf3, 0xf3, 0xf4, 0x82, 0x12, 0xcb, 0x7d, 0x53, 0x8b, 0x8b, 0x13, 0xd3, 0x53,
|
||||
0x83, 0xd8, 0xd2, 0x53, 0xf3, 0x42, 0x2a, 0x8a, 0x9d, 0xdc, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0,
|
||||
0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8,
|
||||
0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x27, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57,
|
||||
0x1f, 0xea, 0x7e, 0x08, 0xa5, 0x5b, 0x9c, 0x92, 0xad, 0x5f, 0x01, 0xf7, 0x4c, 0x49, 0x65, 0x41,
|
||||
0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x55, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x0e, 0xac,
|
||||
0xde, 0xeb, 0x00, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (m *GenesisState) Marshal() (dAtA []byte, err error) {
|
||||
|
||||
@ -20,6 +20,7 @@ import (
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/grpclog"
|
||||
"google.golang.org/grpc/metadata"
|
||||
"google.golang.org/grpc/status"
|
||||
)
|
||||
|
||||
@ -30,6 +31,7 @@ var _ status.Status
|
||||
var _ = runtime.String
|
||||
var _ = utilities.NewDoubleArray
|
||||
var _ = descriptor.ForMessage
|
||||
var _ = metadata.Join
|
||||
|
||||
func request_Query_Proposal_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq QueryProposalRequest
|
||||
@ -528,12 +530,14 @@ func local_request_Query_TallyResult_0(ctx context.Context, marshaler runtime.Ma
|
||||
// RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
|
||||
// UnaryRPC :call QueryServer directly.
|
||||
// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
|
||||
// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
|
||||
// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
|
||||
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error {
|
||||
|
||||
mux.Handle("GET", pattern_Query_Proposal_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
var stream runtime.ServerTransportStream
|
||||
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
@ -541,6 +545,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
return
|
||||
}
|
||||
resp, md, err := local_request_Query_Proposal_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
@ -554,6 +559,8 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
mux.Handle("GET", pattern_Query_Proposals_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
var stream runtime.ServerTransportStream
|
||||
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
@ -561,6 +568,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
return
|
||||
}
|
||||
resp, md, err := local_request_Query_Proposals_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
@ -574,6 +582,8 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
mux.Handle("GET", pattern_Query_Vote_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
var stream runtime.ServerTransportStream
|
||||
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
@ -581,6 +591,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
return
|
||||
}
|
||||
resp, md, err := local_request_Query_Vote_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
@ -594,6 +605,8 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
mux.Handle("GET", pattern_Query_Votes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
var stream runtime.ServerTransportStream
|
||||
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
@ -601,6 +614,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
return
|
||||
}
|
||||
resp, md, err := local_request_Query_Votes_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
@ -614,6 +628,8 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
var stream runtime.ServerTransportStream
|
||||
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
@ -621,6 +637,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
return
|
||||
}
|
||||
resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
@ -634,6 +651,8 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
mux.Handle("GET", pattern_Query_Deposit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
var stream runtime.ServerTransportStream
|
||||
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
@ -641,6 +660,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
return
|
||||
}
|
||||
resp, md, err := local_request_Query_Deposit_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
@ -654,6 +674,8 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
mux.Handle("GET", pattern_Query_Deposits_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
var stream runtime.ServerTransportStream
|
||||
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
@ -661,6 +683,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
return
|
||||
}
|
||||
resp, md, err := local_request_Query_Deposits_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
@ -674,6 +697,8 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
mux.Handle("GET", pattern_Query_TallyResult_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
var stream runtime.ServerTransportStream
|
||||
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
@ -681,6 +706,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv
|
||||
return
|
||||
}
|
||||
resp, md, err := local_request_Query_TallyResult_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
|
||||
@ -14,7 +14,7 @@ func TestMsgUnjailGetSignBytes(t *testing.T) {
|
||||
bytes := msg.GetSignBytes()
|
||||
require.Equal(
|
||||
t,
|
||||
`{"type":"cosmos-sdk/MsgUnjail","value":{"address":"cosmosvaloper1v93xxeqhg9nn6"}}`,
|
||||
`{"type":"cosmos-sdk/MsgUnjail","value":{"validator_addr":"cosmosvaloper1v93xxeqhg9nn6"}}`,
|
||||
string(bytes),
|
||||
)
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
||||
|
||||
// MsgUnjail defines the Msg/Unjail request type
|
||||
type MsgUnjail struct {
|
||||
ValidatorAddr string `protobuf:"bytes,1,opt,name=validator_addr,json=validatorAddr,proto3" json:"address"`
|
||||
ValidatorAddr string `protobuf:"bytes,1,opt,name=validator_addr,json=validatorAddr,proto3" json:"validator_addr,omitempty"`
|
||||
}
|
||||
|
||||
func (m *MsgUnjail) Reset() { *m = MsgUnjail{} }
|
||||
@ -112,25 +112,25 @@ func init() {
|
||||
func init() { proto.RegisterFile("cosmos/slashing/v1beta1/tx.proto", fileDescriptor_3c5611c0c4a59d9d) }
|
||||
|
||||
var fileDescriptor_3c5611c0c4a59d9d = []byte{
|
||||
// 279 bytes of a gzipped FileDescriptorProto
|
||||
// 274 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce,
|
||||
0xcd, 0x2f, 0xd6, 0x2f, 0xce, 0x49, 0x2c, 0xce, 0xc8, 0xcc, 0x4b, 0xd7, 0x2f, 0x33, 0x4c, 0x4a,
|
||||
0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x87, 0xa8,
|
||||
0xd0, 0x83, 0xa9, 0xd0, 0x83, 0xaa, 0x90, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xab, 0xd1, 0x07,
|
||||
0xb1, 0x20, 0xca, 0xa5, 0x24, 0x21, 0xca, 0xe3, 0x21, 0x12, 0x50, 0xbd, 0x60, 0x8e, 0x52, 0x22,
|
||||
0x17, 0xa7, 0x6f, 0x71, 0x7a, 0x68, 0x5e, 0x56, 0x62, 0x66, 0x8e, 0x90, 0x17, 0x17, 0x5f, 0x59,
|
||||
0xb1, 0x20, 0xca, 0xa5, 0x24, 0x21, 0xca, 0xe3, 0x21, 0x12, 0x50, 0xbd, 0x60, 0x8e, 0x52, 0x18,
|
||||
0x17, 0xa7, 0x6f, 0x71, 0x7a, 0x68, 0x5e, 0x56, 0x62, 0x66, 0x8e, 0x90, 0x3d, 0x17, 0x5f, 0x59,
|
||||
0x62, 0x4e, 0x66, 0x4a, 0x62, 0x49, 0x7e, 0x51, 0x7c, 0x62, 0x4a, 0x4a, 0x91, 0x04, 0xa3, 0x02,
|
||||
0xa3, 0x06, 0xa7, 0x93, 0xf2, 0xab, 0x7b, 0xf2, 0xec, 0x20, 0x7e, 0x6a, 0x71, 0xf1, 0xa5, 0x2d,
|
||||
0xba, 0x22, 0x50, 0x13, 0x1c, 0x21, 0x22, 0xc1, 0x25, 0x45, 0x99, 0x79, 0xe9, 0x41, 0xbc, 0x70,
|
||||
0xad, 0x20, 0x71, 0x2b, 0x8e, 0x8e, 0x05, 0xf2, 0x0c, 0x33, 0x16, 0xc8, 0x33, 0x2a, 0x09, 0x73,
|
||||
0x09, 0xc2, 0xad, 0x08, 0x4a, 0x2d, 0x2e, 0xc8, 0xcf, 0x2b, 0x4e, 0x35, 0x8a, 0xe7, 0x62, 0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87, 0xc3, 0x23, 0x7a, 0x70, 0xcd, 0x52, 0x5a, 0x84, 0xd5, 0xc0,
|
||||
0x2c, 0x70, 0xf2, 0x5e, 0xf1, 0x48, 0x8e, 0xf1, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18,
|
||||
0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5,
|
||||
0x18, 0xa2, 0x74, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xa1, 0x81, 0x00,
|
||||
0xa5, 0x74, 0x8b, 0x53, 0xb2, 0xf5, 0x2b, 0x10, 0xe1, 0x5d, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4,
|
||||
0x06, 0x0e, 0x21, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x01, 0x1c, 0xf6, 0x8f, 0x01,
|
||||
0x00, 0x00,
|
||||
}
|
||||
|
||||
func (this *MsgUnjail) Equal(that interface{}) bool {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user