Audit / Refactor proto packages layout (#6905)

* create base proto package, move ValAddresses to staking

* move tx, crypto, query proto packages into base; mark module level packages as beta

* new cosmos/base/abci.proto file, refactor some message names

* add comments to TxResponse

* refactor RegisterInterface calls to new proto package names

* fix bug in merge commit

* move missing module proto packages to beta, move cosmos.kv to cosmos.base.kv

* add tx.proto files, holding proto messages for module Msgs

* rm old generated pb.go files

* cosmos/base/base.proto -> cosmos/base/coin.proto

* mark genutil proto package as beta

* Fix conflicts

* Restructure proto files

* Re put signing

* Fix test

* Update slashing genesis

* Ignore confio proto files

* Fix interface register

* Make proto-gen

* Fix lint

* Put tx service into tx.v1beta1

* Use v1beta1 in interface registry

* Remove to cosmos.base.store

* Remove extra confio in buf

Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
Cory 2020-08-11 04:49:45 -07:00 committed by GitHub
parent 7a0d5ff718
commit 61a97ef347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
117 changed files with 11960 additions and 10737 deletions

View File

@ -610,7 +610,7 @@ func (app *BaseApp) runTx(mode runTxMode, txBytes []byte, tx sdk.Tx) (gInfo sdk.
func (app *BaseApp) runMsgs(ctx sdk.Context, msgs []sdk.Msg, mode runTxMode) (*sdk.Result, error) {
msgLogs := make(sdk.ABCIMessageLogs, 0, len(msgs))
events := sdk.EmptyEvents()
txData := &sdk.TxData{
txMsgData := &sdk.TxMsgData{
Data: make([]*sdk.MsgData, 0, len(msgs)),
}
@ -644,11 +644,11 @@ func (app *BaseApp) runMsgs(ctx sdk.Context, msgs []sdk.Msg, mode runTxMode) (*s
// separate each result.
events = events.AppendEvents(msgEvents)
txData.Data = append(txData.Data, &sdk.MsgData{MsgType: msg.Type(), Data: msgResult.Data})
txMsgData.Data = append(txMsgData.Data, &sdk.MsgData{MsgType: msg.Type(), Data: msgResult.Data})
msgLogs = append(msgLogs, sdk.NewABCIMessageLog(uint32(i), msgResult.Log, msgEvents))
}
data, err := proto.Marshal(txData)
data, err := proto.Marshal(txMsgData)
if err != nil {
return nil, sdkerrors.Wrap(err, "failed to marshal tx data")
}

View File

@ -33,7 +33,7 @@ type InterfaceRegistry interface {
// as implementations of iface.
//
// Ex:
// registry.RegisterInterface("cosmos_sdk.Msg", (*sdk.Msg)(nil))
// registry.RegisterInterface("cosmos.v1beta1.Msg", (*sdk.Msg)(nil))
RegisterInterface(protoName string, iface interface{}, impls ...proto.Message)
// RegisterImplementations registers impls as concrete implementations of

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/crypto/crypto.proto
// source: cosmos/base/crypto/v1beta1/crypto.proto
package types
@ -42,7 +42,7 @@ func (m *PublicKey) Reset() { *m = PublicKey{} }
func (m *PublicKey) String() string { return proto.CompactTextString(m) }
func (*PublicKey) ProtoMessage() {}
func (*PublicKey) Descriptor() ([]byte, []int) {
return fileDescriptor_5fa415c569c5d31a, []int{0}
return fileDescriptor_8fcac0be3a113ddf, []int{0}
}
func (m *PublicKey) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -175,7 +175,7 @@ func (m *PubKeyMultisigThreshold) Reset() { *m = PubKeyMultisigThreshold
func (m *PubKeyMultisigThreshold) String() string { return proto.CompactTextString(m) }
func (*PubKeyMultisigThreshold) ProtoMessage() {}
func (*PubKeyMultisigThreshold) Descriptor() ([]byte, []int) {
return fileDescriptor_5fa415c569c5d31a, []int{1}
return fileDescriptor_8fcac0be3a113ddf, []int{1}
}
func (m *PubKeyMultisigThreshold) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -219,8 +219,8 @@ func (m *PubKeyMultisigThreshold) GetPubKeys() []*PublicKey {
}
// MultiSignature wraps the signatures from a PubKeyMultisigThreshold.
// See cosmos_sdk.tx.v1.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.
type MultiSignature struct {
Signatures [][]byte `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"`
XXX_unrecognized []byte `json:"-"`
@ -230,7 +230,7 @@ func (m *MultiSignature) Reset() { *m = MultiSignature{} }
func (m *MultiSignature) String() string { return proto.CompactTextString(m) }
func (*MultiSignature) ProtoMessage() {}
func (*MultiSignature) Descriptor() ([]byte, []int) {
return fileDescriptor_5fa415c569c5d31a, []int{2}
return fileDescriptor_8fcac0be3a113ddf, []int{2}
}
func (m *MultiSignature) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -278,7 +278,7 @@ type CompactBitArray struct {
func (m *CompactBitArray) Reset() { *m = CompactBitArray{} }
func (*CompactBitArray) ProtoMessage() {}
func (*CompactBitArray) Descriptor() ([]byte, []int) {
return fileDescriptor_5fa415c569c5d31a, []int{3}
return fileDescriptor_8fcac0be3a113ddf, []int{3}
}
func (m *CompactBitArray) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -322,47 +322,50 @@ func (m *CompactBitArray) GetElems() []byte {
}
func init() {
proto.RegisterType((*PublicKey)(nil), "cosmos.crypto.PublicKey")
proto.RegisterType((*PubKeyMultisigThreshold)(nil), "cosmos.crypto.PubKeyMultisigThreshold")
proto.RegisterType((*MultiSignature)(nil), "cosmos.crypto.MultiSignature")
proto.RegisterType((*CompactBitArray)(nil), "cosmos.crypto.CompactBitArray")
proto.RegisterType((*PublicKey)(nil), "cosmos.base.crypto.v1beta1.PublicKey")
proto.RegisterType((*PubKeyMultisigThreshold)(nil), "cosmos.base.crypto.v1beta1.PubKeyMultisigThreshold")
proto.RegisterType((*MultiSignature)(nil), "cosmos.base.crypto.v1beta1.MultiSignature")
proto.RegisterType((*CompactBitArray)(nil), "cosmos.base.crypto.v1beta1.CompactBitArray")
}
func init() { proto.RegisterFile("cosmos/crypto/crypto.proto", fileDescriptor_5fa415c569c5d31a) }
func init() {
proto.RegisterFile("cosmos/base/crypto/v1beta1/crypto.proto", fileDescriptor_8fcac0be3a113ddf)
}
var fileDescriptor_5fa415c569c5d31a = []byte{
// 495 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x4f, 0x6f, 0xd3, 0x30,
0x18, 0xc6, 0xe3, 0xfe, 0x61, 0xd4, 0xdd, 0x56, 0xb0, 0x2a, 0x91, 0x55, 0x22, 0xa9, 0x72, 0x40,
0x05, 0x89, 0x54, 0x2d, 0xea, 0x10, 0xbd, 0x2d, 0xe3, 0x30, 0xa9, 0x42, 0xaa, 0x32, 0x0e, 0xc0,
0xa5, 0x4a, 0x52, 0x93, 0x46, 0x4d, 0xe2, 0xc8, 0x76, 0x24, 0xfc, 0x09, 0xb8, 0x72, 0xe4, 0x08,
0x77, 0x3e, 0x08, 0xc7, 0x1e, 0x39, 0x55, 0x28, 0xfd, 0x06, 0xfb, 0x04, 0xa8, 0x76, 0xb2, 0x0d,
0xd0, 0x4e, 0xce, 0xfb, 0xfc, 0x5e, 0xc7, 0xcf, 0xf3, 0xda, 0xb0, 0x17, 0x10, 0x96, 0x10, 0x36,
0x0c, 0xa8, 0xc8, 0x38, 0x29, 0x17, 0x3b, 0xa3, 0x84, 0x13, 0x74, 0xa4, 0x98, 0xad, 0xc4, 0x5e,
0x37, 0x24, 0x21, 0x91, 0x64, 0xb8, 0xff, 0x52, 0x4d, 0xbd, 0x93, 0x90, 0x90, 0x30, 0xc6, 0x43,
0x59, 0xf9, 0xf9, 0xc7, 0xa1, 0x97, 0x0a, 0x85, 0xac, 0xcf, 0x35, 0xd8, 0x9a, 0xe7, 0x7e, 0x1c,
0x05, 0x33, 0x2c, 0x90, 0x01, 0x5b, 0x0c, 0x07, 0xd9, 0x78, 0x72, 0xba, 0x1e, 0xe9, 0xa0, 0x0f,
0x06, 0x87, 0x17, 0x9a, 0x7b, 0x23, 0xa1, 0x1e, 0x3c,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0x8c, 0xc2, 0xd4, 0xe3, 0x39, 0xc5, 0xc8, 0x80, 0x90, 0x55, 0x05, 0xd3, 0x41, 0xbf, 0x3e, 0x38,
0x74, 0x6f, 0x29, 0xd3, 0xc6, 0xe6, 0xbb, 0x09, 0xac, 0xf7, 0xb0, 0x73, 0x4e, 0x92, 0xcc, 0x0b,
0xb8, 0x13, 0xf1, 0x33, 0x4a, 0x3d, 0x81, 0x9e, 0xc1, 0x87, 0xf8, 0x13, 0xa7, 0xde, 0xc2, 0x8f,
0x38, 0x5b, 0x30, 0x4e, 0x28, 0x2e, 0x53, 0xba, 0x1d, 0x09, 0x9c, 0x88, 0xb3, 0x4b, 0x29, 0xa3,
0x2e, 0x6c, 0xe2, 0x18, 0x27, 0x4c, 0xdd, 0xbf, 0xab, 0x8a, 0x69, 0xe3, 0xeb, 0x37, 0x53, 0x73,
0xce, 0x7f, 0x16, 0x06, 0xd8, 0x14, 0x06, 0xf8, 0x5d, 0x18, 0xe0, 0xcb, 0xce, 0xd0, 0x36, 0x3b,
0x43, 0xfb, 0xb5, 0x33, 0xb4, 0x0f, 0x4f, 0xc3, 0x88, 0xaf, 0x72, 0xdf, 0x0e, 0x48, 0x32, 0xac,
0x1e, 0xb3, 0x5c, 0x9e, 0xb3, 0xe5, 0xba, 0x7a, 0xd7, 0x5c, 0x64, 0x98, 0xf9, 0xf7, 0xe4, 0x45,
0xbd, 0xf8, 0x13, 0x00, 0x00, 0xff, 0xff, 0x73, 0x8c, 0x25, 0x71, 0xf5, 0x02, 0x00, 0x00,
var fileDescriptor_8fcac0be3a113ddf = []byte{
// 510 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xcf, 0x8a, 0xd3, 0x40,
0x1c, 0x4e, 0xfa, 0xc7, 0xb5, 0xd3, 0x75, 0xab, 0xa1, 0x60, 0xb6, 0x60, 0x52, 0x02, 0x62, 0x15,
0x4c, 0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2, 0xce, 0x28, 0x0d, 0xb8, 0xf6, 0x02, 0x3d, 0xc2, 0x9f, 0x19, 0x0d, 0x66, 0x61, 0xc2, 0x60,
0x06, 0x8c, 0x50, 0x5c, 0x8e, 0xec, 0x77, 0x84, 0xe0, 0x25, 0x0c, 0x2e, 0x05, 0xad, 0x75, 0x51,
0x13, 0xa7, 0x38, 0x03, 0xf9, 0x67, 0xf8, 0x12, 0x8c, 0x1b, 0xdf, 0xbe, 0x9b, 0x8a, 0x77, 0xfe,
0x6b, 0x6b, 0xa8, 0xeb, 0xad, 0xa1, 0xfe, 0xd9, 0x1a, 0xea, 0x97, 0x9d, 0xa1, 0xac, 0x77, 0x86,
0xf2, 0x7b, 0x67, 0x28, 0x1f, 0x9e, 0xc7, 0x09, 0x5b, 0x14, 0xa1, 0x1d, 0x91, 0xcc, 0x29, 0x2f,
0x80, 0x7c, 0xbc, 0x84, 0xf9, 0xb2, 0xba, 0x06, 0x8c, 0xe7, 0x18, 0xc2, 0x7b, 0xe2, 0xd4, 0x4e,
0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x14, 0x93, 0xdd, 0x2c, 0x29, 0x03, 0x00, 0x00,
}
func (m *PublicKey) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.auth;
package cosmos.auth.v1beta1;
import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";
@ -43,4 +43,4 @@ message Params {
[(gogoproto.customname) = "SigVerifyCostED25519", (gogoproto.moretags) = "yaml:\"sig_verify_cost_ed25519\""];
uint64 sig_verify_cost_secp256k1 = 5
[(gogoproto.customname) = "SigVerifyCostSecp256k1", (gogoproto.moretags) = "yaml:\"sig_verify_cost_secp256k1\""];
}
}

View File

@ -1,9 +1,9 @@
syntax = "proto3";
package cosmos.auth;
package cosmos.auth.v1beta1;
import "google/protobuf/any.proto";
import "gogoproto/gogo.proto";
import "cosmos/auth/auth.proto";
import "cosmos/auth/v1beta1/auth.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types";

View File

@ -1,9 +1,9 @@
syntax = "proto3";
package cosmos.auth;
package cosmos.auth.v1beta1;
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
import "cosmos/auth/auth.proto";
import "cosmos/auth/v1beta1/auth.proto";
import "cosmos_proto/cosmos.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types";
@ -35,5 +35,5 @@ message QueryParamsRequest{ }
// QueryParamsResponse is the response type for the Query/Params RPC method.
message QueryParamsResponse{
// params defines the parameters of the module.
cosmos.auth.Params params = 1 [(gogoproto.nullable) = false];
Params params = 1 [(gogoproto.nullable) = false];
}

View File

@ -1,9 +1,9 @@
syntax = "proto3";
package cosmos.bank;
package cosmos.bank.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos_proto/cosmos.proto";
import "cosmos/cosmos.proto";
import "cosmos/base/v1beta1/coin.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types";
@ -26,28 +26,12 @@ message SendEnabled {
bool enabled = 2;
}
// MsgSend - high level transaction of the coin module
message MsgSend {
option (gogoproto.equal) = true;
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\""
];
repeated cosmos.Coin amount = 3
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}
// Input models transaction input
message Input {
option (gogoproto.equal) = true;
bytes address = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
repeated cosmos.Coin coins = 2
repeated cosmos.base.v1beta1.Coin coins = 2
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}
@ -56,18 +40,10 @@ message Output {
option (gogoproto.equal) = true;
bytes address = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
repeated cosmos.Coin coins = 2
repeated cosmos.base.v1beta1.Coin coins = 2
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}
// MsgMultiSend - high level transaction of the coin module
message MsgMultiSend {
option (gogoproto.equal) = true;
repeated Input inputs = 1 [(gogoproto.nullable) = false];
repeated Output outputs = 2 [(gogoproto.nullable) = false];
}
// Supply represents a struct that passively keeps track of the total supply
// amounts in the network.
message Supply {
@ -76,7 +52,7 @@ message Supply {
option (gogoproto.goproto_stringer) = false;
option (cosmos_proto.implements_interface) = "*github.com/cosmos/cosmos-sdk/x/bank/exported.SupplyI";
repeated cosmos.Coin total = 1
repeated cosmos.base.v1beta1.Coin total = 1
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}

View File

@ -1,9 +1,9 @@
syntax = "proto3";
package cosmos.bank;
package cosmos.bank.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/cosmos.proto";
import "cosmos/bank/bank.proto";
import "cosmos/base/v1beta1/coin.proto";
import "cosmos/bank/v1beta1/bank.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types";
@ -19,7 +19,7 @@ message GenesisState {
(gogoproto.nullable) = false
];
repeated cosmos.Coin supply = 3 [
repeated cosmos.base.v1beta1.Coin supply = 3 [
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
(gogoproto.nullable) = false
];
@ -38,7 +38,7 @@ message Balance {
bytes address = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
repeated cosmos.Coin coins = 2 [
repeated cosmos.base.v1beta1.Coin coins = 2 [
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
(gogoproto.nullable) = false
];

View File

@ -1,9 +1,9 @@
syntax = "proto3";
package cosmos.bank;
package cosmos.bank.v1beta1;
import "cosmos/query/pagination.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto";
import "cosmos/cosmos.proto";
import "cosmos/base/v1beta1/coin.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types";
@ -34,7 +34,7 @@ message QueryBalanceRequest {
// QueryBalanceResponse is the response type for the Query/Balance RPC method.
message QueryBalanceResponse {
// balance is the balance of the coin.
cosmos.Coin balance = 1;
cosmos.base.v1beta1.Coin balance = 1;
}
// QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
@ -43,18 +43,19 @@ message QueryAllBalancesRequest {
bytes address = 1
[(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}
// QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.
message QueryAllBalancesResponse {
// balances is the balances of all the coins.
repeated cosmos.Coin balances = 1
repeated cosmos.base.v1beta1.Coin balances = 1
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method.
@ -63,7 +64,7 @@ message QueryTotalSupplyRequest {}
// QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method
message QueryTotalSupplyResponse {
// supply is the supply of the coins
repeated cosmos.Coin supply = 1
repeated cosmos.base.v1beta1.Coin supply = 1
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}
@ -76,6 +77,6 @@ message QuerySupplyOfRequest {
// QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
message QuerySupplyOfResponse {
// amount is the supply of the coin.
cosmos.Coin amount = 1
cosmos.base.v1beta1.Coin amount = 1
[(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin", (gogoproto.nullable) = false];
}

View File

@ -0,0 +1,32 @@
syntax = "proto3";
package cosmos.bank.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto";
import "cosmos/bank/v1beta1/bank.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types";
// MsgSend - high level transaction of the coin module
message MsgSend {
option (gogoproto.equal) = true;
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\""
];
repeated cosmos.base.v1beta1.Coin amount = 3
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}
// MsgMultiSend - high level transaction of the coin module
message MsgMultiSend {
option (gogoproto.equal) = true;
repeated Input inputs = 1 [(gogoproto.nullable) = false];
repeated Output outputs = 2 [(gogoproto.nullable) = false];
}

View File

@ -1,51 +1,71 @@
syntax = "proto3";
package cosmos;
package cosmos.base.abci.v1beta1;
import "gogoproto/gogo.proto";
import "tendermint/abci/types/types.proto";
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
option go_package = "github.com/cosmos/cosmos-sdk/types";
option (gogoproto.goproto_stringer_all) = false;
option (gogoproto.stringer_all) = false;
// Coin defines a token with a denomination and an amount.
//
// NOTE: The amount field is an Int which implements the custom method
// signatures required by gogoproto.
message Coin {
option (gogoproto.equal) = true;
string denom = 1;
string amount = 2 [(gogoproto.customtype) = "Int", (gogoproto.nullable) = false];
// TxResponse defines a structure containing relevant tx data and metadata. The
// tags are stringified and the log is JSON decoded.
message TxResponse {
option (gogoproto.goproto_getters) = false;
// The block height
int64 height = 1;
// The transaction hash.
string txhash = 2 [(gogoproto.customname) = "TxHash"];
// Namespace for the Code
string codespace = 3;
// Response code.
uint32 code = 4;
// Result bytes, if any.
string data = 5;
// 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];
// Additional information. May be non-deterministic.
string info = 8;
// Amount of gas requested for transaction.
int64 gas_wanted = 9;
// Amount of gas consumed by transaction.
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.
string timestamp = 12;
}
// DecCoin defines a token with a denomination and a decimal amount.
//
// NOTE: The amount field is an Dec which implements the custom method
// signatures required by gogoproto.
message DecCoin {
option (gogoproto.equal) = true;
string denom = 1;
string amount = 2 [(gogoproto.customtype) = "Dec", (gogoproto.nullable) = false];
}
// IntProto defines a Protobuf wrapper around an Int object.
message IntProto {
string int = 1 [(gogoproto.customtype) = "Int", (gogoproto.nullable) = false];
}
// DecProto defines a Protobuf wrapper around a Dec object.
message DecProto {
string dec = 1 [(gogoproto.customtype) = "Dec", (gogoproto.nullable) = false];
}
// ValAddresses defines a repeated set of validator addresses.
message ValAddresses {
// ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
message ABCIMessageLog {
option (gogoproto.stringer) = true;
repeated bytes addresses = 1 [(gogoproto.casttype) = "ValAddress"];
uint32 msg_index = 1;
string log = 2;
// Events contains a slice of Event objects that were emitted during some
// execution.
repeated StringEvent events = 3 [(gogoproto.castrepeated) = "StringEvents", (gogoproto.nullable) = false];
}
// StringEvent defines en Event object wrapper where all the attributes
// contain key/value pairs that are strings instead of raw bytes.
message StringEvent {
option (gogoproto.stringer) = true;
string type = 1;
repeated Attribute attributes = 2 [(gogoproto.nullable) = false];
}
// Attribute defines an attribute wrapper where the key and value are
// strings instead of raw bytes.
message Attribute {
string key = 1;
string value = 2;
}
// GasInfo defines tx execution gas context.
@ -88,57 +108,10 @@ message MsgData {
bytes data = 2;
}
// TxData defines a list of MsgData. A transaction will have a MsgData object for
// TxMsgData defines a list of MsgData. A transaction will have a MsgData object for
// each message.
message TxData {
message TxMsgData {
option (gogoproto.stringer) = true;
repeated MsgData data = 1;
}
// TxResponse defines a structure containing relevant tx data and metadata. The
// tags are stringified and the log is JSON decoded.
message TxResponse {
option (gogoproto.goproto_getters) = false;
int64 height = 1;
string txhash = 2 [(gogoproto.customname) = "TxHash"];
string codespace = 3;
uint32 code = 4;
string data = 5;
string raw_log = 6;
repeated ABCIMessageLog logs = 7 [(gogoproto.castrepeated) = "ABCIMessageLogs", (gogoproto.nullable) = false];
string info = 8;
int64 gas_wanted = 9;
int64 gas_used = 10;
google.protobuf.Any tx = 11;
string timestamp = 12;
}
// ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
message ABCIMessageLog {
option (gogoproto.stringer) = true;
uint32 msg_index = 1;
string log = 2;
// Events contains a slice of Event objects that were emitted during some
// execution.
repeated StringEvent events = 3 [(gogoproto.castrepeated) = "StringEvents", (gogoproto.nullable) = false];
}
// StringAttribute defines en Event object wrapper where all the attributes
// contain key/value pairs that are strings instead of raw bytes.
message StringEvent {
option (gogoproto.stringer) = true;
string type = 1;
repeated Attribute attributes = 2 [(gogoproto.nullable) = false];
}
// Attribute defines an attribute wrapper where the key and value are
// strings instead of raw bytes.
message Attribute {
string key = 1;
string value = 2;
}

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.crypto;
package cosmos.base.crypto.v1beta1;
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
@ -30,8 +30,8 @@ message PubKeyMultisigThreshold {
}
// MultiSignature wraps the signatures from a PubKeyMultisigThreshold.
// See cosmos_sdk.tx.v1.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;

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.kv;
package cosmos.base.kv.v1beta1;
import "gogoproto/gogo.proto";

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.query;
package cosmos.base.query.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/types/query";

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.store;
package cosmos.base.store.v1beta1;
import "gogoproto/gogo.proto";

View File

@ -0,0 +1,40 @@
syntax = "proto3";
package cosmos.base.v1beta1;
import "gogoproto/gogo.proto";
option go_package = "github.com/cosmos/cosmos-sdk/types";
option (gogoproto.goproto_stringer_all) = false;
option (gogoproto.stringer_all) = false;
// Coin defines a token with a denomination and an amount.
//
// NOTE: The amount field is an Int which implements the custom method
// signatures required by gogoproto.
message Coin {
option (gogoproto.equal) = true;
string denom = 1;
string amount = 2 [(gogoproto.customtype) = "Int", (gogoproto.nullable) = false];
}
// DecCoin defines a token with a denomination and a decimal amount.
//
// NOTE: The amount field is an Dec which implements the custom method
// signatures required by gogoproto.
message DecCoin {
option (gogoproto.equal) = true;
string denom = 1;
string amount = 2 [(gogoproto.customtype) = "Dec", (gogoproto.nullable) = false];
}
// IntProto defines a Protobuf wrapper around an Int object.
message IntProto {
string int = 1 [(gogoproto.customtype) = "Int", (gogoproto.nullable) = false];
}
// DecProto defines a Protobuf wrapper around a Dec object.
message DecProto {
string dec = 1 [(gogoproto.customtype) = "Dec", (gogoproto.nullable) = false];
}

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.capability;
package cosmos.capability.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types";

View File

@ -1,8 +1,8 @@
syntax = "proto3";
package cosmos.capability;
package cosmos.capability.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/capability/capability.proto";
import "cosmos/capability/v1beta1/capability.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types";

View File

@ -1,14 +1,14 @@
syntax = "proto3";
package cosmos.crisis;
package cosmos.crisis.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types";
import "gogoproto/gogo.proto";
import "cosmos/cosmos.proto";
import "cosmos/base/v1beta1/coin.proto";
// GenesisState - genesis state of x/crisis
message GenesisState {
cosmos.Coin constant_fee = 3 [
cosmos.base.v1beta1.Coin constant_fee = 3 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"constant_fee\""

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.crisis;
package cosmos.crisis.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types";

View File

@ -1,53 +1,11 @@
syntax = "proto3";
package cosmos.distribution;
package cosmos.distribution.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types";
option (gogoproto.equal_all) = true;
import "gogoproto/gogo.proto";
import "cosmos/cosmos.proto";
// msg struct for changing the withdraw address for a delegator (or validator self-delegation)
message MsgSetWithdrawAddress {
bytes delegator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes withdraw_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"withdraw_address\""
];
}
// msg struct for delegation withdraw from a single validator
message MsgWithdrawDelegatorReward {
bytes delegator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes validator_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_address\""
];
}
// msg struct for validator withdraw
message MsgWithdrawValidatorCommission {
bytes validator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_address\""
];
}
// MsgFundCommunityPool defines a Msg type that allows an account to directly
// fund the community pool.
message MsgFundCommunityPool {
repeated cosmos.Coin amount = 1 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
];
bytes depositor = 2 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
}
import "cosmos/base/v1beta1/coin.proto";
// Params defines the set of distribution parameters.
message Params {
@ -83,7 +41,7 @@ message Params {
// + number of slashes which ended the associated period (and might need to read that record)
// + one per validator for the zeroeth period, set on initialization
message ValidatorHistoricalRewards {
repeated cosmos.DecCoin cumulative_reward_ratio = 1 [
repeated cosmos.base.v1beta1.DecCoin cumulative_reward_ratio = 1 [
(gogoproto.moretags) = "yaml:\"cumulative_reward_ratio\"",
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins",
(gogoproto.nullable) = false
@ -95,7 +53,7 @@ message ValidatorHistoricalRewards {
// kept as a running counter and incremented each block
// as long as the validator's tokens remain constant
message ValidatorCurrentRewards {
repeated cosmos.DecCoin rewards = 1 [
repeated cosmos.base.v1beta1.DecCoin rewards = 1 [
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins",
(gogoproto.nullable) = false
];
@ -105,7 +63,7 @@ message ValidatorCurrentRewards {
// accumulated commission for a validator
// kept as a running counter, can be withdrawn at any time
message ValidatorAccumulatedCommission {
repeated cosmos.DecCoin commission = 1 [
repeated cosmos.base.v1beta1.DecCoin commission = 1 [
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins",
(gogoproto.nullable) = false
];
@ -114,7 +72,7 @@ message ValidatorAccumulatedCommission {
// outstanding (un-withdrawn) rewards for a validator
// inexpensive to track, allows simple sanity checks
message ValidatorOutstandingRewards {
repeated cosmos.DecCoin rewards = 1 [
repeated cosmos.base.v1beta1.DecCoin rewards = 1 [
(gogoproto.moretags) = "yaml:\"rewards\"",
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins",
(gogoproto.nullable) = false
@ -142,7 +100,7 @@ message ValidatorSlashEvents {
// global fee pool for distribution
message FeePool {
repeated cosmos.DecCoin community_pool = 1 [
repeated cosmos.base.v1beta1.DecCoin community_pool = 1 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins",
(gogoproto.moretags) = "yaml:\"community_pool\""
@ -156,7 +114,7 @@ message CommunityPoolSpendProposal {
string title = 1;
string description = 2;
bytes recipient = 3 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
repeated cosmos.Coin amount = 4 [
repeated cosmos.base.v1beta1.Coin amount = 4 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
];
@ -188,7 +146,7 @@ message DelegationDelegatorReward {
(gogoproto.moretags) = "yaml:\"validator_address\""
];
repeated cosmos.DecCoin reward = 2 [
repeated cosmos.base.v1beta1.DecCoin reward = 2 [
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins",
(gogoproto.nullable) = false
];

View File

@ -1,12 +1,12 @@
syntax = "proto3";
package cosmos.distribution;
package cosmos.distribution.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types";
option (gogoproto.equal_all) = true;
import "gogoproto/gogo.proto";
import "cosmos/cosmos.proto";
import "cosmos/distribution/distribution.proto";
import "cosmos/base/v1beta1/coin.proto";
import "cosmos/distribution/v1beta1/distribution.proto";
// genesis types
@ -33,7 +33,7 @@ message ValidatorOutstandingRewardsRecord {
(gogoproto.moretags) = "yaml:\"validator_address\""
];
repeated cosmos.DecCoin outstanding_rewards = 2 [
repeated cosmos.base.v1beta1.DecCoin outstanding_rewards = 2 [
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"outstanding_rewards\""

View File

@ -1,10 +1,10 @@
syntax = "proto3";
package cosmos.distribution;
package cosmos.distribution.v1beta1;
import "cosmos/query/pagination.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto";
import "cosmos/cosmos.proto";
import "cosmos/distribution/distribution.proto";
import "cosmos/base/v1beta1/coin.proto";
import "cosmos/distribution/v1beta1/distribution.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types";
@ -79,7 +79,7 @@ message QueryValidatorSlashesRequest {
// starting_height defines the optional ending height to query the slashes.
uint64 ending_height = 3;
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 4;
cosmos.base.query.v1beta1.PageRequest pagination = 4;
}
// QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method.
@ -88,7 +88,7 @@ message QueryValidatorSlashesResponse {
repeated ValidatorSlashEvent slashes = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryDelegationRewardsRequest is the request type for the Query/DelegationRewards RPC method.
@ -102,7 +102,7 @@ message QueryDelegationRewardsRequest {
// QueryDelegationRewardsResponse is the response type for the Query/DelegationRewards RPC method.
message QueryDelegationRewardsResponse {
// rewards defines the rewards accrued by a delegation.
repeated cosmos.DecCoin rewards = 1 [
repeated cosmos.base.v1beta1.DecCoin rewards = 1 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"
];
@ -119,7 +119,7 @@ message QueryDelegationTotalRewardsResponse {
// rewards defines all the rewards accrued by a delegator.
repeated DelegationDelegatorReward rewards = 1 [(gogoproto.nullable) = false];
// total defines the sum of all the rewards.
repeated cosmos.DecCoin total = 2 [
repeated cosmos.base.v1beta1.DecCoin total = 2 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"
];
@ -155,7 +155,7 @@ message QueryCommunityPoolRequest {}
// QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.
message QueryCommunityPoolResponse {
// pool defines community pool's coins.
repeated cosmos.DecCoin pool = 1 [
repeated cosmos.base.v1beta1.DecCoin pool = 1 [
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins",
(gogoproto.nullable) = false
];

View File

@ -0,0 +1,50 @@
syntax = "proto3";
package cosmos.distribution.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types";
option (gogoproto.equal_all) = true;
import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto";
// msg struct for changing the withdraw address for a delegator (or validator self-delegation)
message MsgSetWithdrawAddress {
bytes delegator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes withdraw_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"withdraw_address\""
];
}
// msg struct for delegation withdraw from a single validator
message MsgWithdrawDelegatorReward {
bytes delegator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes validator_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_address\""
];
}
// msg struct for validator withdraw
message MsgWithdrawValidatorCommission {
bytes validator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_address\""
];
}
// MsgFundCommunityPool defines a Msg type that allows an account to directly
// fund the community pool.
message MsgFundCommunityPool {
repeated cosmos.base.v1beta1.Coin amount = 1 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
];
bytes depositor = 2 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
}

View File

@ -1,21 +1,11 @@
syntax = "proto3";
package cosmos.evidence;
package cosmos.evidence.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types";
option (gogoproto.equal_all) = true;
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
import "google/protobuf/any.proto";
import "cosmos_proto/cosmos.proto";
// MsgSubmitEvidence defines an sdk.Msg type that supports submitting arbitrary
// Evidence.
message MsgSubmitEvidence {
option (gogoproto.goproto_getters) = false;
bytes submitter = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
google.protobuf.Any evidence = 2 [(cosmos_proto.accepts_interface) = "Evidence"];
}
// Equivocation implements the Evidence interface and defines evidence of double
// signing misbehavior.
@ -30,4 +20,4 @@ message Equivocation {
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ConsAddress",
(gogoproto.moretags) = "yaml:\"consensus_address\""
];
}
}

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.evidence;
package cosmos.evidence.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types";

View File

@ -1,7 +1,7 @@
syntax = "proto3";
package cosmos.evidence;
package cosmos.evidence.v1beta1;
import "cosmos/query/pagination.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
@ -30,8 +30,8 @@ message QueryEvidenceResponse {
// QueryEvidenceRequest is the request type for the Query/AllEvidence RPC method.
message QueryAllEvidenceRequest {
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 1;
// pagination defines an optional pagination for the request.
cosmos.base.query.v1beta1.PageRequest pagination = 1;
}
// QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC method.
@ -40,5 +40,5 @@ message QueryAllEvidenceResponse {
repeated google.protobuf.Any evidence = 1;
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}

View File

@ -0,0 +1,17 @@
syntax = "proto3";
package cosmos.evidence.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types";
option (gogoproto.equal_all) = true;
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
import "cosmos_proto/cosmos.proto";
// MsgSubmitEvidence defines an sdk.Msg type that supports submitting arbitrary
// Evidence.
message MsgSubmitEvidence {
option (gogoproto.goproto_getters) = false;
bytes submitter = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
google.protobuf.Any evidence = 2 [(cosmos_proto.accepts_interface) = "Evidence"];
}

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.genutil;
package cosmos.genutil.v1beta1;
import "gogoproto/gogo.proto";

View File

@ -1,9 +1,9 @@
syntax = "proto3";
package cosmos.gov;
package cosmos.gov.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/gov/gov.proto";
import "cosmos/gov/v1beta1/gov.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types";

View File

@ -1,7 +1,7 @@
syntax = "proto3";
package cosmos.gov;
package cosmos.gov.v1beta1;
import "cosmos/cosmos.proto";
import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto";
import "cosmos_proto/cosmos.proto";
import "google/protobuf/timestamp.proto";
@ -13,47 +13,6 @@ option (gogoproto.goproto_stringer_all) = false;
option (gogoproto.stringer_all) = false;
option (gogoproto.goproto_getters_all) = false;
// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary
// proposal Content.
message MsgSubmitProposal {
option (gogoproto.equal) = true;
google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"];
repeated cosmos.Coin initial_deposit = 2 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
(gogoproto.moretags) = "yaml:\"initial_deposit\""
];
bytes proposer = 3 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
}
// MsgVote defines a message to cast a vote
message MsgVote {
option (gogoproto.equal) = true;
uint64 proposal_id = 1 [
(gogoproto.jsontag) = "proposal_id",
(gogoproto.customname) = "ProposalID",
(gogoproto.moretags) = "yaml:\"proposal_id\""
];
bytes voter = 2 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
VoteOption option = 3;
}
// MsgDeposit defines a message to submit a deposit to an existing proposal
message MsgDeposit {
option (gogoproto.equal) = true;
uint64 proposal_id = 1 [
(gogoproto.jsontag) = "proposal_id",
(gogoproto.customname) = "ProposalID",
(gogoproto.moretags) = "yaml:\"proposal_id\""
];
bytes depositor = 2 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
repeated cosmos.Coin amount = 3
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}
// VoteOption defines a vote option
enum VoteOption {
option (gogoproto.enum_stringer) = false;
@ -89,7 +48,7 @@ message Deposit {
uint64 proposal_id = 1 [(gogoproto.customname) = "ProposalID", (gogoproto.moretags) = "yaml:\"proposal_id\""];
bytes depositor = 2 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
repeated cosmos.Coin amount = 3
repeated cosmos.base.v1beta1.Coin amount = 3
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}
@ -107,7 +66,7 @@ message Proposal {
[(gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"submit_time\""];
google.protobuf.Timestamp deposit_end_time = 6
[(gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"deposit_end_time\""];
repeated cosmos.Coin total_deposit = 7 [
repeated cosmos.base.v1beta1.Coin total_deposit = 7 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
(gogoproto.moretags) = "yaml:\"total_deposit\""
@ -165,7 +124,7 @@ message Vote {
// DepositParams defines the params around deposits for governance
message DepositParams {
// Minimum deposit for a proposal to enter voting period.
repeated cosmos.Coin min_deposit = 1 [
repeated cosmos.base.v1beta1.Coin min_deposit = 1 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
(gogoproto.moretags) = "yaml:\"min_deposit\"",

View File

@ -1,9 +1,9 @@
syntax = "proto3";
package cosmos.gov;
package cosmos.gov.v1beta1;
import "cosmos/query/pagination.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto";
import "cosmos/gov/gov.proto";
import "cosmos/gov/v1beta1/gov.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types";
@ -57,7 +57,7 @@ message QueryProposalsRequest {
bytes depositor = 3 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 4;
cosmos.base.query.v1beta1.PageRequest pagination = 4;
}
// QueryProposalsResponse is the response type for the Query/Proposals RPC method.
@ -65,7 +65,7 @@ message QueryProposalsResponse {
repeated Proposal proposals = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryVoteRequest is the request type for the Query/Vote RPC method.
@ -89,7 +89,7 @@ message QueryVotesRequest {
uint64 proposal_id = 1;
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}
// QueryVotesResponse is the response type for the Query/Votes RPC method.
@ -98,7 +98,7 @@ message QueryVotesResponse {
repeated Vote votes = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryParamsRequest is the request type for the Query/Params RPC method.
@ -138,7 +138,7 @@ message QueryDepositsRequest {
uint64 proposal_id = 1;
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}
// QueryDepositsResponse is the response type for the Query/Deposits RPC method.
@ -146,7 +146,7 @@ message QueryDepositsResponse {
repeated Deposit deposits = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryTallyResultRequest is the request type for the Query/Tally RPC method.

View File

@ -0,0 +1,54 @@
syntax = "proto3";
package cosmos.gov.v1beta1;
import "cosmos/base/v1beta1/coin.proto";
import "cosmos/gov/v1beta1/gov.proto";
import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types";
option (gogoproto.goproto_stringer_all) = false;
option (gogoproto.stringer_all) = false;
option (gogoproto.goproto_getters_all) = false;
// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary
// proposal Content.
message MsgSubmitProposal {
option (gogoproto.equal) = true;
google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"];
repeated cosmos.base.v1beta1.Coin initial_deposit = 2 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
(gogoproto.moretags) = "yaml:\"initial_deposit\""
];
bytes proposer = 3 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
}
// MsgVote defines a message to cast a vote
message MsgVote {
option (gogoproto.equal) = true;
uint64 proposal_id = 1 [
(gogoproto.jsontag) = "proposal_id",
(gogoproto.customname) = "ProposalID",
(gogoproto.moretags) = "yaml:\"proposal_id\""
];
bytes voter = 2 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
VoteOption option = 3;
}
// MsgDeposit defines a message to submit a deposit to an existing proposal
message MsgDeposit {
option (gogoproto.equal) = true;
uint64 proposal_id = 1 [
(gogoproto.jsontag) = "proposal_id",
(gogoproto.customname) = "ProposalID",
(gogoproto.moretags) = "yaml:\"proposal_id\""
];
bytes depositor = 2 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
repeated cosmos.base.v1beta1.Coin amount = 3
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
}

View File

@ -1,8 +1,8 @@
syntax = "proto3";
package cosmos.mint;
package cosmos.mint.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/mint/mint.proto";
import "cosmos/mint/v1beta1/mint.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types";

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.mint;
package cosmos.mint.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types";

View File

@ -1,8 +1,8 @@
syntax = "proto3";
package cosmos.mint;
package cosmos.mint.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/mint/mint.proto";
import "cosmos/mint/v1beta1/mint.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types";

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.params;
package cosmos.params.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal";
option (gogoproto.equal_all) = true;

View File

@ -1,8 +1,8 @@
syntax = "proto3";
package cosmos.params;
package cosmos.params.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/params/params.proto";
import "cosmos/params/v1beta1/params.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal";
@ -24,5 +24,5 @@ message QueryParamsRequest{
// QueryParamsResponse is response type for the Query/Params RPC method.
message QueryParamsResponse{
// param defines the queried parameter.
cosmos.params.ParamChange param = 1 [(gogoproto.nullable) = false];
ParamChange param = 1 [(gogoproto.nullable) = false];
}

View File

@ -1,10 +1,10 @@
syntax = "proto3";
package cosmos.slashing;
package cosmos.slashing.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types";
import "gogoproto/gogo.proto";
import "cosmos/slashing/slashing.proto";
import "cosmos/slashing/v1beta1/slashing.proto";
// GenesisState - all slashing state that must be provided at genesis
message GenesisState {

View File

@ -1,9 +1,9 @@
syntax = "proto3";
package cosmos.slashing;
package cosmos.slashing.v1beta1;
import "cosmos/query/pagination.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto";
import "cosmos/slashing/slashing.proto";
import "cosmos/slashing/v1beta1/slashing.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types";
@ -24,7 +24,7 @@ message QueryParamsRequest{}
// QueryParamsResponse is the response type for the Query/Params RPC method
message QueryParamsResponse{
cosmos.slashing.Params params = 1[(gogoproto.nullable) = false];
Params params = 1[(gogoproto.nullable) = false];
}
// QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC method
@ -36,17 +36,17 @@ message QuerySigningInfoRequest{
// QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC method
message QuerySigningInfoResponse{
// val_signing_info is the signing info of requested val cons address
cosmos.slashing.ValidatorSigningInfo val_signing_info = 1[(gogoproto.nullable)= false];
ValidatorSigningInfo val_signing_info = 1[(gogoproto.nullable)= false];
}
// QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC method
message QuerySigningInfosRequest{
cosmos.query.PageRequest pagination = 1;
cosmos.base.query.v1beta1.PageRequest pagination = 1;
}
// QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC method
message QuerySigningInfosResponse{
// info is the signing info of all validators
repeated cosmos.slashing.ValidatorSigningInfo info = 1[(gogoproto.nullable)= false];
cosmos.query.PageResponse pagination =2;
repeated cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1[(gogoproto.nullable)= false];
cosmos.base.query.v1beta1.PageResponse pagination =2;
}

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.slashing;
package cosmos.slashing.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types";
option (gogoproto.equal_all) = true;
@ -8,15 +8,6 @@ import "gogoproto/gogo.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
// MsgUnjail - struct for unjailing jailed validator
message MsgUnjail {
bytes validator_addr = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"address\"",
(gogoproto.jsontag) = "address"
];
}
// ValidatorSigningInfo defines the signing info for a validator
message ValidatorSigningInfo {
option (gogoproto.equal) = true;

View File

@ -0,0 +1,16 @@
syntax = "proto3";
package cosmos.slashing.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types";
option (gogoproto.equal_all) = true;
import "gogoproto/gogo.proto";
// MsgUnjail - struct for unjailing jailed validator
message MsgUnjail {
bytes validator_addr = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"address\"",
(gogoproto.jsontag) = "address"
];
}

View File

@ -1,10 +1,10 @@
syntax = "proto3";
package cosmos.staking;
package cosmos.staking.v1beta1;
option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types";
import "gogoproto/gogo.proto";
import "cosmos/staking/staking.proto";
import "cosmos/staking/v1beta1/staking.proto";
// GenesisState - all staking state that must be provided at genesis
message GenesisState {

View File

@ -1,9 +1,9 @@
syntax = "proto3";
package cosmos.staking;
package cosmos.staking.v1beta1;
import "cosmos/query/pagination.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto";
import "cosmos/staking/staking.proto";
import "cosmos/staking/v1beta1/staking.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types";
@ -58,16 +58,16 @@ message QueryValidatorsRequest{
string status = 1;
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}
// QueryValidatorsResponse is response type for the Query/Validators RPC method
message QueryValidatorsResponse {
// validators contains all the queried validators
repeated cosmos.staking.Validator validators = 1 [(gogoproto.nullable) = false];
// validators contains all the queried validators.
repeated Validator validators = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryValidatorRequest is response type for the Query/Validator RPC method
@ -88,7 +88,7 @@ message QueryValidatorDelegationsRequest {
bytes validator_addr = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress"];
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}
// QueryValidatorDelegationsRequest is response type for the Query/ValidatorDelegations RPC method
@ -96,7 +96,7 @@ message QueryValidatorDelegationsResponse {
repeated DelegationResponse delegation_responses = 1 [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "DelegationResponses"];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryValidatorUnbondingDelegationsRequest is required type for the Query/ValidatorUnbondingDelegations RPC method
@ -105,7 +105,7 @@ message QueryValidatorUnbondingDelegationsRequest {
bytes validator_addr = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress"];
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}
// QueryValidatorUnbondingDelegationsResponse is response type for the Query/ValidatorUnbondingDelegations RPC method.
@ -113,7 +113,7 @@ message QueryValidatorUnbondingDelegationsResponse {
repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryDelegationRequest is request type for the Query/Delegation RPC method.
@ -152,7 +152,7 @@ message QueryDelegatorDelegationsRequest {
bytes delegator_addr = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}
// QueryDelegatorDelegationsResponse is response type for the Query/DelegatorDelegations RPC method.
@ -161,23 +161,24 @@ message QueryDelegatorDelegationsResponse {
repeated DelegationResponse delegation_responses = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryDelegatorUnbondingDelegationsRequest is request type for the Query/DelegatorUnbondingDelegations RPC method.
message QueryDelegatorUnbondingDelegationsRequest {
// delegator_addr defines the delegator address to query for.
bytes delegator_addr = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}
// QueryUnbondingDelegatorDelegationsResponse is response type for the Query/UnbondingDelegatorDelegations RPC method.
message QueryDelegatorUnbondingDelegationsResponse {
repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryRedelegationsRequest is request type for the Query/Redelegations RPC method.
@ -192,7 +193,7 @@ message QueryRedelegationsRequest {
bytes dst_validator_addr = 3 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress"];
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 4;
cosmos.base.query.v1beta1.PageRequest pagination = 4;
}
// QueryRedelegationsResponse is response type for the Query/Redelegations RPC method.
@ -200,7 +201,7 @@ message QueryRedelegationsResponse {
repeated RedelegationResponse redelegation_responses = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryDelegatorValidatorsRequest is request type for the Query/DelegatorValidators RPC method.
@ -209,7 +210,7 @@ message QueryDelegatorValidatorsRequest {
bytes delegator_addr = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];
// pagination defines an optional pagination for the request.
cosmos.query.PageRequest pagination = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}
// QueryDelegatorValidatorsResponse is response type for the Query/DelegatorValidators RPC method.
@ -218,7 +219,7 @@ message QueryDelegatorValidatorsResponse {
repeated Validator validators = 1 [(gogoproto.nullable) = false];
// pagination defines the pagination in the response.
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryDelegatorValidatorRequest is request type for the Query/DelegatorValidator RPC method.

View File

@ -1,114 +1,14 @@
syntax = "proto3";
package cosmos.staking;
package cosmos.staking.v1beta1;
import "gogoproto/gogo.proto";
import "tendermint/abci/types/types.proto";
import "google/protobuf/timestamp.proto";
import "google/protobuf/duration.proto";
import "cosmos/cosmos.proto";
import "cosmos/base/v1beta1/coin.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types";
// MsgCreateValidator defines an SDK message for creating a new validator.
message MsgCreateValidator {
option (gogoproto.equal) = true;
Description description = 1 [(gogoproto.nullable) = false];
CommissionRates commission = 2 [(gogoproto.nullable) = false];
string min_self_delegation = 3 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
(gogoproto.moretags) = "yaml:\"min_self_delegation\"",
(gogoproto.nullable) = false
];
bytes delegator_address = 4 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes validator_address = 5 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_address\""
];
string pubkey = 6;
cosmos.Coin value = 7 [(gogoproto.nullable) = false];
}
// MsgEditValidator defines an SDK message for editing an existing validator.
message MsgEditValidator {
option (gogoproto.equal) = true;
Description description = 1 [(gogoproto.nullable) = false];
bytes validator_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"address\""
];
// We pass a reference to the new commission rate and min self delegation as
// it's not mandatory to update. If not updated, the deserialized rate will be
// zero with no way to distinguish if an update was intended.
//
// REF: #2373
string commission_rate = 3 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
(gogoproto.moretags) = "yaml:\"commission_rate\""
];
string min_self_delegation = 4 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
(gogoproto.moretags) = "yaml:\"min_self_delegation\""
];
}
// MsgDelegate defines an SDK message for performing a delegation from a
// delegate to a validator.
message MsgDelegate {
option (gogoproto.equal) = true;
bytes delegator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes validator_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_address\""
];
cosmos.Coin amount = 3 [(gogoproto.nullable) = false];
}
// MsgBeginRedelegate defines an SDK message for performing a redelegation from
// a delegate and source validator to a destination validator.
message MsgBeginRedelegate {
option (gogoproto.equal) = true;
bytes delegator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes validator_src_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_src_address\""
];
bytes validator_dst_address = 3 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_dst_address\""
];
cosmos.Coin amount = 4 [(gogoproto.nullable) = false];
}
// MsgUndelegate defines an SDK message for performing an undelegation from a
// delegate and a validator.
message MsgUndelegate {
option (gogoproto.equal) = true;
bytes delegator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes validator_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_address\""
];
cosmos.Coin amount = 3 [(gogoproto.nullable) = false];
}
// HistoricalInfo contains the historical information that gets stored at
// each height.
message HistoricalInfo {
@ -208,6 +108,14 @@ message Validator {
];
}
// ValAddresses defines a repeated set of validator addresses.
message ValAddresses {
option (gogoproto.goproto_stringer) = false;
option (gogoproto.stringer) = true;
repeated bytes addresses = 1 [(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress"];
}
// DVPair is struct that just has a delegator-validator pair with no other data.
// It is intended to be used as a marshalable pointer. For example, a DVPair can
// be used to construct the key to getting an UnbondingDelegation from state.
@ -385,7 +293,7 @@ message DelegationResponse {
Delegation delegation = 1 [(gogoproto.nullable) = false];
cosmos.Coin balance = 2 [(gogoproto.nullable) = false];
cosmos.base.v1beta1.Coin balance = 2 [(gogoproto.nullable) = false];
}
// RedelegationEntryResponse is equivalent to a RedelegationEntry except that it

View File

@ -0,0 +1,109 @@
syntax = "proto3";
package cosmos.staking.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto";
import "cosmos/staking/v1beta1/staking.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types";
// MsgCreateValidator defines an SDK message for creating a new validator.
message MsgCreateValidator {
option (gogoproto.equal) = true;
Description description = 1 [(gogoproto.nullable) = false];
CommissionRates commission = 2 [(gogoproto.nullable) = false];
string min_self_delegation = 3 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
(gogoproto.moretags) = "yaml:\"min_self_delegation\"",
(gogoproto.nullable) = false
];
bytes delegator_address = 4 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes validator_address = 5 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_address\""
];
string pubkey = 6;
cosmos.base.v1beta1.Coin value = 7 [(gogoproto.nullable) = false];
}
// MsgEditValidator defines an SDK message for editing an existing validator.
message MsgEditValidator {
option (gogoproto.equal) = true;
Description description = 1 [(gogoproto.nullable) = false];
bytes validator_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"address\""
];
// We pass a reference to the new commission rate and min self delegation as
// it's not mandatory to update. If not updated, the deserialized rate will be
// zero with no way to distinguish if an update was intended.
//
// REF: #2373
string commission_rate = 3 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
(gogoproto.moretags) = "yaml:\"commission_rate\""
];
string min_self_delegation = 4 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
(gogoproto.moretags) = "yaml:\"min_self_delegation\""
];
}
// MsgDelegate defines an SDK message for performing a delegation from a
// delegate to a validator.
message MsgDelegate {
option (gogoproto.equal) = true;
bytes delegator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes validator_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_address\""
];
cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false];
}
// MsgBeginRedelegate defines an SDK message for performing a redelegation from
// a delegate and source validator to a destination validator.
message MsgBeginRedelegate {
option (gogoproto.equal) = true;
bytes delegator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes validator_src_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_src_address\""
];
bytes validator_dst_address = 3 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_dst_address\""
];
cosmos.base.v1beta1.Coin amount = 4 [(gogoproto.nullable) = false];
}
// MsgUndelegate defines an SDK message for performing an undelegation from a
// delegate and a validator.
message MsgUndelegate {
option (gogoproto.equal) = true;
bytes delegator_address = 1 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress",
(gogoproto.moretags) = "yaml:\"delegator_address\""
];
bytes validator_address = 2 [
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress",
(gogoproto.moretags) = "yaml:\"validator_address\""
];
cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false];
}

View File

@ -1,7 +1,7 @@
syntax = "proto3";
package cosmos.tx.signing;
package cosmos.tx.signing.v1beta1;
import "cosmos/crypto/crypto.proto";
import "cosmos/base/crypto/v1beta1/crypto.proto";
option go_package = "github.com/cosmos/cosmos-sdk/types/tx/signing";
@ -34,7 +34,7 @@ message SignatureDescriptors {
// itself. It is primarily used for coordinating signatures between clients.
message SignatureDescriptor {
// public_key is the public key of the signer
cosmos.crypto.PublicKey public_key = 1;
cosmos.base.crypto.v1beta1.PublicKey public_key = 1;
Data data = 2;
@ -52,7 +52,7 @@ message SignatureDescriptor {
// Single is the signature data for a single signer
message Single {
// mode is the signing mode of the single signer
cosmos.tx.signing.SignMode mode = 1;
SignMode mode = 1;
// signature is the raw signature bytes
bytes signature = 2;
@ -61,7 +61,7 @@ message SignatureDescriptor {
// Multi is the signature data for a multisig public key
message Multi {
// bitarray specifies which keys within the multisig are signing
cosmos.crypto.CompactBitArray bitarray = 1;
cosmos.base.crypto.v1beta1.CompactBitArray bitarray = 1;
// signatures is the signatures of the multi-signature
repeated Data signatures = 2;

View File

@ -1,8 +1,8 @@
syntax = "proto3";
package cosmos.tx;
package cosmos.tx.v1beta1;
import "cosmos/cosmos.proto";
import "cosmos/tx/tx.proto";
import "cosmos/base/abci/v1beta1/abci.proto";
import "cosmos/tx/v1beta1/tx.proto";
option go_package = "github.com/cosmos/cosmos-sdk/types/tx";
@ -20,6 +20,6 @@ message SimulateRequest {
// SimulateResponse is the response type for the Service.Simulate RPC method.
message SimulateResponse {
cosmos.GasInfo gas_info = 1;
cosmos.Result result = 2;
cosmos.base.abci.v1beta1.GasInfo gas_info = 1;
cosmos.base.abci.v1beta1.Result result = 2;
}

View File

@ -1,10 +1,10 @@
syntax = "proto3";
package cosmos.tx;
package cosmos.tx.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/crypto/crypto.proto";
import "cosmos/cosmos.proto";
import "cosmos/tx/signing/signing.proto";
import "cosmos/base/crypto/v1beta1/crypto.proto";
import "cosmos/base/v1beta1/coin.proto";
import "cosmos/tx/signing/v1beta1/signing.proto";
import "google/protobuf/any.proto";
option go_package = "github.com/cosmos/cosmos-sdk/types/tx";
@ -107,7 +107,7 @@ message SignerInfo {
// public_key is the public key of the signer. It is optional for accounts
// that already exist in state. If unset, the verifier can use the required \
// signer address for this position and lookup the public key.
cosmos.crypto.PublicKey public_key = 1;
cosmos.base.crypto.v1beta1.PublicKey public_key = 1;
// mode_info describes the signing mode of the signer and is a nested
// structure to support nested multisig pubkey's
@ -130,13 +130,13 @@ message ModeInfo {
// to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the future
message Single {
// mode is the signing mode of the single signer
cosmos.tx.signing.SignMode mode = 1;
cosmos.tx.signing.v1beta1.SignMode mode = 1;
}
// Multi is the mode info for a multisig public key
message Multi {
// bitarray specifies which keys within the multisig are signing
cosmos.crypto.CompactBitArray bitarray = 1;
cosmos.base.crypto.v1beta1.CompactBitArray bitarray = 1;
// mode_infos is the corresponding modes of the signers of the multisig
// which could include nested multisig public keys
@ -149,7 +149,7 @@ message ModeInfo {
// which must be above some miminum to be accepted into the mempool.
message Fee {
// amount is the amount of coins to be paid as a fee
repeated cosmos.Coin amount = 1
repeated cosmos.base.v1beta1.Coin amount = 1
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
// gas_limit is the maximum gas that can be used in transaction processing

View File

@ -1,7 +1,7 @@
syntax = "proto3";
package cosmos.upgrade;
package cosmos.upgrade.v1beta1;
import "cosmos/upgrade/upgrade.proto";
import "cosmos/upgrade/v1beta1/upgrade.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types";

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package cosmos.upgrade;
package cosmos.upgrade.v1beta1;
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";

View File

@ -1,9 +1,9 @@
syntax = "proto3";
package cosmos.vesting;
package cosmos.vesting.v1beta1;
import "gogoproto/gogo.proto";
import "cosmos/cosmos.proto";
import "cosmos/auth/auth.proto";
import "cosmos/base/v1beta1/coin.proto";
import "cosmos/auth/v1beta1/auth.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types";
@ -13,18 +13,18 @@ message BaseVestingAccount {
option (gogoproto.goproto_getters) = false;
option (gogoproto.goproto_stringer) = false;
cosmos.auth.BaseAccount base_account = 1 [(gogoproto.embed) = true];
repeated cosmos.Coin original_vesting = 2 [
cosmos.auth.v1beta1.BaseAccount base_account = 1 [(gogoproto.embed) = true];
repeated cosmos.base.v1beta1.Coin original_vesting = 2 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
(gogoproto.moretags) = "yaml:\"original_vesting\""
];
repeated cosmos.Coin delegated_free = 3 [
repeated cosmos.base.v1beta1.Coin delegated_free = 3 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
(gogoproto.moretags) = "yaml:\"delegated_free\""
];
repeated cosmos.Coin delegated_vesting = 4 [
repeated cosmos.base.v1beta1.Coin delegated_vesting = 4 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
(gogoproto.moretags) = "yaml:\"delegated_vesting\""
@ -57,7 +57,7 @@ message Period {
option (gogoproto.goproto_stringer) = false;
int64 length = 1;
repeated cosmos.Coin amount = 2 [
repeated cosmos.base.v1beta1.Coin amount = 2 [
(gogoproto.nullable) = false,
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
];

View File

@ -2,7 +2,7 @@ syntax = "proto3";
package ibc.channel;
import "gogoproto/gogo.proto";
import "cosmos/query/pagination.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "ibc/channel/channel.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/04-channel/types";
@ -63,7 +63,7 @@ message QueryChannelResponse {
// QueryChannelsRequest is the request type for the Query/Channels RPC method
message QueryChannelsRequest {
// pagination request
cosmos.query.PageRequest pagination = 1;
cosmos.base.query.v1beta1.PageRequest pagination = 1;
}
// QueryChannelsResponse is the response type for the Query/Channels RPC method.
@ -71,7 +71,7 @@ message QueryChannelsResponse {
// list of stored channels of the chain.
repeated ibc.channel.IdentifiedChannel channels = 1;
// pagination response
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
// query block height
int64 height = 3;
}
@ -81,7 +81,7 @@ message QueryConnectionChannelsRequest {
// connection unique identifier
string connection = 1;
// pagination request
cosmos.query.PageRequest pagination = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}
// QueryConnectionChannelsResponse is the Response type for the Query/QueryConnectionChannels RPC method
@ -89,7 +89,7 @@ message QueryConnectionChannelsResponse {
// list of channels associated with a connection.
repeated ibc.channel.IdentifiedChannel channels = 1;
// pagination response
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
// query block height
int64 height = 3;
}
@ -124,14 +124,14 @@ message QueryPacketCommitmentsRequest {
// channel unique identifier
string channel_id = 2 [(gogoproto.customname) = "ChannelID"];
// pagination request
cosmos.query.PageRequest pagination = 3;
cosmos.base.query.v1beta1.PageRequest pagination = 3;
}
// QueryPacketCommitmentsResponse is the request type for the Query/QueryPacketCommitments RPC method
message QueryPacketCommitmentsResponse {
repeated ibc.channel.PacketAckCommitment commitments = 1;
// pagination response
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
// query block height
int64 height = 3;
}

View File

@ -2,7 +2,7 @@ syntax = "proto3";
package ibc.connection;
import "gogoproto/gogo.proto";
import "cosmos/query/pagination.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "ibc/connection/connection.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/03-connection/types";
@ -41,7 +41,7 @@ message QueryConnectionResponse {
// QueryConnectionsRequest is the request type for the Query/Connections RPC method
message QueryConnectionsRequest {
cosmos.query.PageRequest pagination = 1;
cosmos.base.query.v1beta1.PageRequest pagination = 1;
}
// QueryConnectionsResponse is the response type for the Query/Connections RPC method.
@ -49,7 +49,7 @@ message QueryConnectionsResponse {
// list of stored connections of the chain.
repeated ibc.connection.IdentifiedConnection connections = 1;
// pagination response
cosmos.query.PageResponse pagination = 2;
cosmos.base.query.v1beta1.PageResponse pagination = 2;
// query block height
int64 height = 3;
}

View File

@ -4,7 +4,7 @@ package ibc.transfer;
option go_package = "github.com/cosmos/cosmos-sdk/x/ibc-transfer/types";
import "gogoproto/gogo.proto";
import "cosmos/cosmos.proto";
import "cosmos/base/v1beta1/coin.proto";
// MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between
// ICS20 enabled chains. See ICS Spec here:
@ -15,7 +15,7 @@ message MsgTransfer {
// the channel by which the packet will be sent
string source_channel = 2 [(gogoproto.moretags) = "yaml:\"source_channel\""];
// the tokens to be transferred
cosmos.Coin token = 3 [(gogoproto.nullable) = false];
cosmos.base.v1beta1.Coin token = 3 [(gogoproto.nullable) = false];
// the sender address
bytes sender = 4
[(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"];

View File

@ -94,7 +94,7 @@ func (s *IntegrationTestSuite) TestGRPC() {
servicesMap[s.Name] = true
}
// Make sure the following services are present
s.Require().True(servicesMap["cosmos.bank.Query"])
s.Require().True(servicesMap["cosmos.bank.v1beta1.Query"])
}
func TestIntegrationTestSuite(t *testing.T) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/store/commit_info.proto
// source: cosmos/base/store/v1beta1/commit_info.proto
package types
@ -34,7 +34,7 @@ func (m *CommitInfo) Reset() { *m = CommitInfo{} }
func (m *CommitInfo) String() string { return proto.CompactTextString(m) }
func (*CommitInfo) ProtoMessage() {}
func (*CommitInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_3e3b3900c32110a1, []int{0}
return fileDescriptor_83f4097f6265b52f, []int{0}
}
func (m *CommitInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -88,7 +88,7 @@ func (m *StoreInfo) Reset() { *m = StoreInfo{} }
func (m *StoreInfo) String() string { return proto.CompactTextString(m) }
func (*StoreInfo) ProtoMessage() {}
func (*StoreInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_3e3b3900c32110a1, []int{1}
return fileDescriptor_83f4097f6265b52f, []int{1}
}
func (m *StoreInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -141,7 +141,7 @@ type CommitID struct {
func (m *CommitID) Reset() { *m = CommitID{} }
func (*CommitID) ProtoMessage() {}
func (*CommitID) Descriptor() ([]byte, []int) {
return fileDescriptor_3e3b3900c32110a1, []int{2}
return fileDescriptor_83f4097f6265b52f, []int{2}
}
func (m *CommitID) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -185,34 +185,37 @@ func (m *CommitID) GetHash() []byte {
}
func init() {
proto.RegisterType((*CommitInfo)(nil), "cosmos.store.CommitInfo")
proto.RegisterType((*StoreInfo)(nil), "cosmos.store.StoreInfo")
proto.RegisterType((*CommitID)(nil), "cosmos.store.CommitID")
proto.RegisterType((*CommitInfo)(nil), "cosmos.base.store.v1beta1.CommitInfo")
proto.RegisterType((*StoreInfo)(nil), "cosmos.base.store.v1beta1.StoreInfo")
proto.RegisterType((*CommitID)(nil), "cosmos.base.store.v1beta1.CommitID")
}
func init() { proto.RegisterFile("cosmos/store/commit_info.proto", fileDescriptor_3e3b3900c32110a1) }
func init() {
proto.RegisterFile("cosmos/base/store/v1beta1/commit_info.proto", fileDescriptor_83f4097f6265b52f)
}
var fileDescriptor_3e3b3900c32110a1 = []byte{
// 289 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x2f, 0x2e, 0xc9, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0x2c, 0x89,
0xcf, 0xcc, 0x4b, 0xcb, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x81, 0xc8, 0xeb, 0x81,
0xe5, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x12, 0xfa, 0x20, 0x16, 0x44, 0x8d, 0x52, 0x1a,
0x17, 0x97, 0x33, 0x58, 0xa3, 0x67, 0x5e, 0x5a, 0xbe, 0x90, 0x04, 0x17, 0x7b, 0x59, 0x6a, 0x51,
0x71, 0x66, 0x7e, 0x9e, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x73, 0x10, 0x8c, 0x2b, 0x64, 0xc7, 0xc5,
0x0d, 0x36, 0x06, 0x6c, 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xb3, 0x06, 0xb7, 0x91, 0xb8, 0x1e, 0xb2,
0x0d, 0x7a, 0xc1, 0x20, 0x12, 0x64, 0x8e, 0x13, 0xcb, 0x89, 0x7b, 0xf2, 0x0c, 0x41, 0x5c, 0xc5,
0x30, 0x81, 0x62, 0xa5, 0x34, 0x2e, 0x4e, 0xb8, 0xb4, 0x90, 0x10, 0x17, 0x4b, 0x5e, 0x62, 0x6e,
0x2a, 0xd8, 0x0e, 0xce, 0x20, 0x30, 0x5b, 0xc8, 0x95, 0x8b, 0x13, 0xe6, 0x83, 0x14, 0x09, 0x26,
0x05, 0x46, 0x0d, 0x6e, 0x23, 0x31, 0x54, 0xe3, 0xa1, 0xee, 0x74, 0x71, 0x12, 0x00, 0x99, 0xfe,
0xe8, 0x9e, 0x3c, 0x07, 0x4c, 0x24, 0x88, 0x03, 0xa2, 0xd5, 0x33, 0x45, 0xc9, 0x8e, 0x0b, 0x2e,
0x8a, 0xc7, 0x37, 0x42, 0x5c, 0x2c, 0x19, 0x89, 0xc5, 0x19, 0x60, 0x7b, 0x78, 0x82, 0xc0, 0x6c,
0x2b, 0x96, 0x19, 0x0b, 0xe4, 0x19, 0x9c, 0x9c, 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, 0x23, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x1a,
0xf0, 0x10, 0x4a, 0xb7, 0x38, 0x25, 0x1b, 0x1a, 0x07, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c,
0xe0, 0xa0, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x2f, 0x20, 0xcc, 0x8d, 0xa0, 0x01, 0x00,
0x00,
var fileDescriptor_83f4097f6265b52f = []byte{
// 308 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xb1, 0x4e, 0xc3, 0x30,
0x10, 0x86, 0xe3, 0x36, 0x82, 0xd6, 0x65, 0x40, 0x16, 0x43, 0x60, 0x70, 0xab, 0xc2,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0x95, 0xef, 0xfa, 0x9d, 0x66, 0xa2, 0x3a, 0x95, 0xcf,
0x64, 0x36, 0xbc, 0xa7, 0xfb, 0xe9, 0x81, 0x9c, 0x8c, 0xba, 0xcb, 0x10, 0x97, 0x16, 0x7a, 0xa2,
0x6c, 0x7d, 0xe7, 0x7e, 0x7d, 0xf7, 0x9d, 0x20, 0xd8, 0xe4, 0x9c, 0x6c, 0x73, 0x4e, 0x7e, 0x73,
0x4e, 0x3e, 0x0b, 0xee, 0x6c, 0x0b, 0xee, 0xfc, 0x14, 0xdc, 0x79, 0xf1, 0x17, 0xb1, 0x59, 0xbe,
0x47, 0x62, 0x0a, 0x89, 0xac, 0x97, 0x55, 0x1d, 0x37, 0x38, 0x7b, 0xab, 0x57, 0x66, 0x3e, 0x56,
0x1a, 0xa3, 0x23, 0xfb, 0xe9, 0xb7, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x49, 0xb6, 0xbf, 0xab,
0xd4, 0x01, 0x00, 0x00,
}
func (m *CommitInfo) Marshal() (dAtA []byte, err error) {

View File

@ -3390,131 +3390,131 @@ func init() {
func init() { proto.RegisterFile("proto.proto", fileDescriptor_2fcc84b9998d60d8) }
var fileDescriptor_2fcc84b9998d60d8 = []byte{
// 1972 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcd, 0x6f, 0x1b, 0xc7,
0x15, 0xd7, 0x72, 0x49, 0x89, 0x7c, 0xa4, 0x29, 0x7a, 0xe2, 0xa4, 0x6b, 0x3a, 0x96, 0x95, 0x85,
0x63, 0xb3, 0x41, 0x4c, 0x59, 0x4b, 0x1a, 0x08, 0x7c, 0x28, 0x42, 0xca, 0x52, 0x64, 0xd4, 0x96,
0x8b, 0xb5, 0xeb, 0x16, 0xbe, 0x10, 0xcb, 0xdd, 0x21, 0xb9, 0x10, 0x39, 0xa3, 0xee, 0x0c, 0x2d,
0xb1, 0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, 0xfa, 0x05, 0x33, 0x3e, 0xe1, 0xfe, 0xa8, 0x1e, 0x31, 0xf7, 0x56, 0x65, 0x24,
0x34, 0xff, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x5f, 0xed, 0x9c, 0xb6, 0x1c, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -3,7 +3,7 @@ package testdata;
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
import "cosmos/tx/tx.proto";
import "cosmos/tx/v1beta1/tx.proto";
option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata";
@ -362,8 +362,8 @@ message TestUpdatedTxBody {
}
message TestUpdatedAuthInfo {
repeated cosmos.tx.SignerInfo signer_infos = 1;
cosmos.tx.Fee fee = 2;
repeated cosmos.tx.v1beta1.SignerInfo signer_infos = 1;
cosmos.tx.v1beta1.Fee fee = 2;
bytes new_field_3 = 3;
bytes new_field_1024 = 1024;
}

File diff suppressed because it is too large Load Diff

View File

@ -6,13 +6,13 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
)
// Register the sdk message type
// RegisterCodec registers the sdk message type.
func RegisterCodec(cdc *codec.LegacyAmino) {
cdc.RegisterInterface((*Msg)(nil), nil)
cdc.RegisterInterface((*Tx)(nil), nil)
}
// Register the sdk message type
// RegisterInterfaces registers the sdk message type.
func RegisterInterfaces(registry types.InterfaceRegistry) {
registry.RegisterInterface("cosmos_sdk.v1.Msg", (*Msg)(nil))
registry.RegisterInterface("cosmos.v1beta1.Msg", (*Msg)(nil))
}

990
types/coin.pb.go Normal file
View File

@ -0,0 +1,990 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/base/v1beta1/coin.proto
package types
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
io "io"
math "math"
math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// Coin defines a token with a denomination and an amount.
//
// NOTE: The amount field is an Int which implements the custom method
// signatures required by gogoproto.
type Coin struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
Amount Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=Int" json:"amount"`
}
func (m *Coin) Reset() { *m = Coin{} }
func (*Coin) ProtoMessage() {}
func (*Coin) Descriptor() ([]byte, []int) {
return fileDescriptor_189a96714eafc2df, []int{0}
}
func (m *Coin) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Coin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Coin.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Coin) XXX_Merge(src proto.Message) {
xxx_messageInfo_Coin.Merge(m, src)
}
func (m *Coin) XXX_Size() int {
return m.Size()
}
func (m *Coin) XXX_DiscardUnknown() {
xxx_messageInfo_Coin.DiscardUnknown(m)
}
var xxx_messageInfo_Coin proto.InternalMessageInfo
func (m *Coin) GetDenom() string {
if m != nil {
return m.Denom
}
return ""
}
// DecCoin defines a token with a denomination and a decimal amount.
//
// NOTE: The amount field is an Dec which implements the custom method
// signatures required by gogoproto.
type DecCoin struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
Amount Dec `protobuf:"bytes,2,opt,name=amount,proto3,customtype=Dec" json:"amount"`
}
func (m *DecCoin) Reset() { *m = DecCoin{} }
func (*DecCoin) ProtoMessage() {}
func (*DecCoin) Descriptor() ([]byte, []int) {
return fileDescriptor_189a96714eafc2df, []int{1}
}
func (m *DecCoin) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *DecCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_DecCoin.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *DecCoin) XXX_Merge(src proto.Message) {
xxx_messageInfo_DecCoin.Merge(m, src)
}
func (m *DecCoin) XXX_Size() int {
return m.Size()
}
func (m *DecCoin) XXX_DiscardUnknown() {
xxx_messageInfo_DecCoin.DiscardUnknown(m)
}
var xxx_messageInfo_DecCoin proto.InternalMessageInfo
func (m *DecCoin) GetDenom() string {
if m != nil {
return m.Denom
}
return ""
}
// IntProto defines a Protobuf wrapper around an Int object.
type IntProto struct {
Int Int `protobuf:"bytes,1,opt,name=int,proto3,customtype=Int" json:"int"`
}
func (m *IntProto) Reset() { *m = IntProto{} }
func (*IntProto) ProtoMessage() {}
func (*IntProto) Descriptor() ([]byte, []int) {
return fileDescriptor_189a96714eafc2df, []int{2}
}
func (m *IntProto) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *IntProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_IntProto.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *IntProto) XXX_Merge(src proto.Message) {
xxx_messageInfo_IntProto.Merge(m, src)
}
func (m *IntProto) XXX_Size() int {
return m.Size()
}
func (m *IntProto) XXX_DiscardUnknown() {
xxx_messageInfo_IntProto.DiscardUnknown(m)
}
var xxx_messageInfo_IntProto proto.InternalMessageInfo
// DecProto defines a Protobuf wrapper around a Dec object.
type DecProto struct {
Dec Dec `protobuf:"bytes,1,opt,name=dec,proto3,customtype=Dec" json:"dec"`
}
func (m *DecProto) Reset() { *m = DecProto{} }
func (*DecProto) ProtoMessage() {}
func (*DecProto) Descriptor() ([]byte, []int) {
return fileDescriptor_189a96714eafc2df, []int{3}
}
func (m *DecProto) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *DecProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_DecProto.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *DecProto) XXX_Merge(src proto.Message) {
xxx_messageInfo_DecProto.Merge(m, src)
}
func (m *DecProto) XXX_Size() int {
return m.Size()
}
func (m *DecProto) XXX_DiscardUnknown() {
xxx_messageInfo_DecProto.DiscardUnknown(m)
}
var xxx_messageInfo_DecProto proto.InternalMessageInfo
func init() {
proto.RegisterType((*Coin)(nil), "cosmos.base.v1beta1.Coin")
proto.RegisterType((*DecCoin)(nil), "cosmos.base.v1beta1.DecCoin")
proto.RegisterType((*IntProto)(nil), "cosmos.base.v1beta1.IntProto")
proto.RegisterType((*DecProto)(nil), "cosmos.base.v1beta1.DecProto")
}
func init() { proto.RegisterFile("cosmos/base/v1beta1/coin.proto", fileDescriptor_189a96714eafc2df) }
var fileDescriptor_189a96714eafc2df = []byte{
// 261 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x4a, 0x2c, 0x4e, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4,
0x4f, 0xce, 0xcf, 0xcc, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0xc8, 0xeb, 0x81,
0xe4, 0xf5, 0xa0, 0xf2, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0x79, 0x7d, 0x10, 0x0b, 0xa2,
0x54, 0xc9, 0x9d, 0x8b,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xb3, 0x7a,
0x93, 0x84, 0x01, 0x00, 0x00,
}
func (this *Coin) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*Coin)
if !ok {
that2, ok := that.(Coin)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.Denom != that1.Denom {
return false
}
if !this.Amount.Equal(that1.Amount) {
return false
}
return true
}
func (this *DecCoin) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*DecCoin)
if !ok {
that2, ok := that.(DecCoin)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if this.Denom != that1.Denom {
return false
}
if !this.Amount.Equal(that1.Amount) {
return false
}
return true
}
func (m *Coin) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *Coin) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *Coin) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
{
size := m.Amount.Size()
i -= size
if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil {
return 0, err
}
i = encodeVarintCoin(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
if len(m.Denom) > 0 {
i -= len(m.Denom)
copy(dAtA[i:], m.Denom)
i = encodeVarintCoin(dAtA, i, uint64(len(m.Denom)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *DecCoin) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *DecCoin) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *DecCoin) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
{
size := m.Amount.Size()
i -= size
if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil {
return 0, err
}
i = encodeVarintCoin(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
if len(m.Denom) > 0 {
i -= len(m.Denom)
copy(dAtA[i:], m.Denom)
i = encodeVarintCoin(dAtA, i, uint64(len(m.Denom)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *IntProto) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *IntProto) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *IntProto) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
{
size := m.Int.Size()
i -= size
if _, err := m.Int.MarshalTo(dAtA[i:]); err != nil {
return 0, err
}
i = encodeVarintCoin(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
return len(dAtA) - i, nil
}
func (m *DecProto) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *DecProto) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *DecProto) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
{
size := m.Dec.Size()
i -= size
if _, err := m.Dec.MarshalTo(dAtA[i:]); err != nil {
return 0, err
}
i = encodeVarintCoin(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
return len(dAtA) - i, nil
}
func encodeVarintCoin(dAtA []byte, offset int, v uint64) int {
offset -= sovCoin(v)
base := offset
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
v >>= 7
offset++
}
dAtA[offset] = uint8(v)
return base
}
func (m *Coin) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.Denom)
if l > 0 {
n += 1 + l + sovCoin(uint64(l))
}
l = m.Amount.Size()
n += 1 + l + sovCoin(uint64(l))
return n
}
func (m *DecCoin) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.Denom)
if l > 0 {
n += 1 + l + sovCoin(uint64(l))
}
l = m.Amount.Size()
n += 1 + l + sovCoin(uint64(l))
return n
}
func (m *IntProto) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = m.Int.Size()
n += 1 + l + sovCoin(uint64(l))
return n
}
func (m *DecProto) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = m.Dec.Size()
n += 1 + l + sovCoin(uint64(l))
return n
}
func sovCoin(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7
}
func sozCoin(x uint64) (n int) {
return sovCoin(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *Coin) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCoin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: Coin: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: Coin: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCoin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthCoin
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthCoin
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Denom = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCoin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthCoin
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthCoin
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipCoin(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthCoin
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthCoin
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *DecCoin) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCoin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DecCoin: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DecCoin: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCoin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthCoin
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthCoin
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Denom = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCoin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthCoin
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthCoin
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipCoin(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthCoin
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthCoin
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *IntProto) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCoin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: IntProto: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: IntProto: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Int", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCoin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthCoin
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthCoin
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.Int.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipCoin(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthCoin
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthCoin
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *DecProto) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCoin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: DecProto: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: DecProto: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Dec", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCoin
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthCoin
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthCoin
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.Dec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipCoin(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthCoin
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthCoin
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func skipCoin(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
depth := 0
for iNdEx < l {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowCoin
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
wireType := int(wire & 0x7)
switch wireType {
case 0:
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowCoin
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
iNdEx++
if dAtA[iNdEx-1] < 0x80 {
break
}
}
case 1:
iNdEx += 8
case 2:
var length int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowCoin
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
length |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if length < 0 {
return 0, ErrInvalidLengthCoin
}
iNdEx += length
case 3:
depth++
case 4:
if depth == 0 {
return 0, ErrUnexpectedEndOfGroupCoin
}
depth--
case 5:
iNdEx += 4
default:
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
}
if iNdEx < 0 {
return 0, ErrInvalidLengthCoin
}
if depth == 0 {
return iNdEx, nil
}
}
return 0, io.ErrUnexpectedEOF
}
var (
ErrInvalidLengthCoin = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowCoin = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupCoin = fmt.Errorf("proto: unexpected end of group")
)

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/kv/kv.proto
// source: cosmos/base/kv/v1beta1/kv.proto
package kv
@ -32,7 +32,7 @@ func (m *Pairs) Reset() { *m = Pairs{} }
func (m *Pairs) String() string { return proto.CompactTextString(m) }
func (*Pairs) ProtoMessage() {}
func (*Pairs) Descriptor() ([]byte, []int) {
return fileDescriptor_23371bd43b515c6e, []int{0}
return fileDescriptor_a44e87fe7182bb73, []int{0}
}
func (m *Pairs) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -78,7 +78,7 @@ func (m *Pair) Reset() { *m = Pair{} }
func (m *Pair) String() string { return proto.CompactTextString(m) }
func (*Pair) ProtoMessage() {}
func (*Pair) Descriptor() ([]byte, []int) {
return fileDescriptor_23371bd43b515c6e, []int{1}
return fileDescriptor_a44e87fe7182bb73, []int{1}
}
func (m *Pair) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -122,27 +122,28 @@ func (m *Pair) GetValue() []byte {
}
func init() {
proto.RegisterType((*Pairs)(nil), "cosmos.kv.Pairs")
proto.RegisterType((*Pair)(nil), "cosmos.kv.Pair")
proto.RegisterType((*Pairs)(nil), "cosmos.base.kv.v1beta1.Pairs")
proto.RegisterType((*Pair)(nil), "cosmos.base.kv.v1beta1.Pair")
}
func init() { proto.RegisterFile("cosmos/kv/kv.proto", fileDescriptor_23371bd43b515c6e) }
func init() { proto.RegisterFile("cosmos/base/kv/v1beta1/kv.proto", fileDescriptor_a44e87fe7182bb73) }
var fileDescriptor_23371bd43b515c6e = []byte{
// 200 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4a, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0xcf, 0x2e, 0xd3, 0xcf, 0x2e, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2,
0x84, 0x88, 0xe9, 0x65, 0x97, 0x49, 0x89, 0xa4, 0xe7, 0xa7, 0xe7, 0x83, 0x45, 0xf5, 0x41, 0x2c,
0x88, 0x02, 0x25, 0x13, 0x2e, 0xd6, 0x80, 0xc4, 0xcc, 0xa2, 0x62, 0x21, 0x6d, 0x2e, 0xd6, 0x02,
0x10, 0x43, 0x82, 0x51, 0x81, 0x59, 0x83, 0xdb, 0x88, 0x5f, 0x0f, 0xae, 0x53, 0x0f, 0xa4, 0xc0,
0x89, 0xe5, 0xc4, 0x3d, 0x79, 0x86, 0x20, 0x88, 0x1a, 0x25, 0x3d, 0x2e, 0x16, 0x90, 0xa0, 0x90,
0x00, 0x17, 0x73, 0x76, 0x6a, 0xa5, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x4f, 0x10, 0x88, 0x29, 0x24,
0xc2, 0xc5, 0x5a, 0x96, 0x98, 0x53, 0x9a, 0x2a, 0xc1, 0x04, 0x16, 0x83, 0x70, 0x9c, 0xec, 0x4f,
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, 0x35, 0x3d, 0xb3, 0x24, 0xa3, 0x34,
0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0xea, 0x7e, 0x08, 0xa5, 0x5b, 0x9c, 0x92, 0xad, 0x5f, 0x52,
0x59, 0x90, 0x0a, 0xf2, 0x50, 0x12, 0x1b, 0xd8, 0xb5, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff,
0xce, 0x49, 0x74, 0x20, 0xe4, 0x00, 0x00, 0x00,
var fileDescriptor_a44e87fe7182bb73 = []byte{
// 221 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x4a, 0x2c, 0x4e, 0xd5, 0xcf, 0x2e, 0xd3, 0x2f, 0x33, 0x4c, 0x4a, 0x2d,
0x49, 0x34, 0xd4, 0xcf, 0x2e, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x83, 0x28, 0xd0,
0x03, 0x29, 0xd0, 0xcb, 0x2e, 0xd3, 0x83, 0x2a, 0x90, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x2b,
0xd1, 0x07, 0xb1, 0x20, 0xaa, 0x95, 0x1c, 0xb9, 0x58, 0x03, 0x12, 0x33, 0x8b, 0x8a, 0x85, 0x2c,
0xb8, 0x58, 0x0b, 0x40, 0x0c, 0x09, 0x46, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x19, 0x3d, 0xec, 0xc6,
0xe8, 0x81, 0x54, 0x3b, 0xb1, 0x9c, 0xb8, 0x27, 0xcf, 0x10, 0x04, 0xd1, 0xa0, 0xa4, 0xc7, 0xc5,
0x02, 0x12, 0x14, 0x12, 0xe0, 0x62, 0xce, 0x4e, 0xad, 0x94, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x09,
0x02, 0x31, 0x85, 0x44, 0xb8, 0x58, 0xcb, 0x12, 0x73, 0x4a, 0x53, 0x25, 0x98, 0xc0, 0x62, 0x10,
0x8e, 0x93, 0xfd, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38,
0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xa9, 0xa6, 0x67,
0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0xbd, 0x09, 0xa1, 0x74, 0x8b, 0x53,
0xb2, 0xf5, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0xf5, 0xb3, 0xcb, 0x92, 0xd8, 0xc0, 0x4e, 0x37, 0x06,
0x04, 0x00, 0x00, 0xff, 0xff, 0x15, 0x18, 0x16, 0xcf, 0x0b, 0x01, 0x00, 0x00,
}
func (m *Pairs) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/query/pagination.proto
// source: cosmos/base/query/v1beta1/pagination.proto
package query
@ -51,7 +51,7 @@ func (m *PageRequest) Reset() { *m = PageRequest{} }
func (m *PageRequest) String() string { return proto.CompactTextString(m) }
func (*PageRequest) ProtoMessage() {}
func (*PageRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4353dcf7b0208338, []int{0}
return fileDescriptor_53d6d609fe6828af, []int{0}
}
func (m *PageRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -128,7 +128,7 @@ func (m *PageResponse) Reset() { *m = PageResponse{} }
func (m *PageResponse) String() string { return proto.CompactTextString(m) }
func (*PageResponse) ProtoMessage() {}
func (*PageResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4353dcf7b0208338, []int{1}
return fileDescriptor_53d6d609fe6828af, []int{1}
}
func (m *PageResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -172,30 +172,33 @@ func (m *PageResponse) GetTotal() uint64 {
}
func init() {
proto.RegisterType((*PageRequest)(nil), "cosmos.query.PageRequest")
proto.RegisterType((*PageResponse)(nil), "cosmos.query.PageResponse")
proto.RegisterType((*PageRequest)(nil), "cosmos.base.query.v1beta1.PageRequest")
proto.RegisterType((*PageResponse)(nil), "cosmos.base.query.v1beta1.PageResponse")
}
func init() { proto.RegisterFile("cosmos/query/pagination.proto", fileDescriptor_4353dcf7b0208338) }
func init() {
proto.RegisterFile("cosmos/base/query/v1beta1/pagination.proto", fileDescriptor_53d6d609fe6828af)
}
var fileDescriptor_4353dcf7b0208338 = []byte{
// 251 bytes of a gzipped FileDescriptorProto
var fileDescriptor_53d6d609fe6828af = []byte{
// 266 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0xc1, 0x4a, 0xc3, 0x40,
0x10, 0x86, 0xb3, 0xb6, 0xd6, 0x32, 0xcd, 0x41, 0x16, 0x91, 0x78, 0x70, 0x0d, 0x3d, 0xe5, 0x62,
0x72, 0xf0, 0x01, 0x84, 0x5e, 0xbd, 0x48, 0xf0, 0xe4, 0xa5, 0xa4, 0x71, 0x1a, 0x97, 0x36, 0x3b,
0x69, 0x77, 0x02, 0xe6, 0x2d, 0x7c, 0x2c, 0x8f, 0x3d, 0x7a, 0x94, 0xe4, 0x45, 0x24, 0xd9, 0x40,
0x4f, 0xbb, 0xdf, 0xff, 0xc3, 0x7c, 0xf0, 0x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, 0x24, 0x3b, 0x35, 0x92, 0xfd, 0x35, 0x92, 0x7d, 0xb7, 0xd2, 0x3b, 0xb5, 0xd2, 0xfb, 0x6d,
0xa5, 0xf7, 0x16, 0x66, 0x39, 0x7d, 0x54, 0x49, 0x94, 0x62, 0xa1, 0x86, 0x71, 0xdc, 0xf3, 0x60,
0xdf, 0x77, 0x8a, 0xea, 0x12, 0xac, 0x1b, 0x2a, 0x99, 0xf4, 0xb3, 0x3c, 0xfe, 0x07, 0x00, 0x00,
0xff, 0xff, 0xb5, 0x65, 0x82, 0x18, 0x44, 0x01, 0x00, 0x00,
}
func (m *PageRequest) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/tx/service.proto
// source: cosmos/tx/v1beta1/service.proto
package tx
@ -37,7 +37,7 @@ func (m *SimulateRequest) Reset() { *m = SimulateRequest{} }
func (m *SimulateRequest) String() string { return proto.CompactTextString(m) }
func (*SimulateRequest) ProtoMessage() {}
func (*SimulateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3815655f4ee03b11, []int{0}
return fileDescriptor_e0b00a618705eca7, []int{0}
}
func (m *SimulateRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -83,7 +83,7 @@ func (m *SimulateResponse) Reset() { *m = SimulateResponse{} }
func (m *SimulateResponse) String() string { return proto.CompactTextString(m) }
func (*SimulateResponse) ProtoMessage() {}
func (*SimulateResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_3815655f4ee03b11, []int{1}
return fileDescriptor_e0b00a618705eca7, []int{1}
}
func (m *SimulateResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -127,31 +127,33 @@ func (m *SimulateResponse) GetResult() *types.Result {
}
func init() {
proto.RegisterType((*SimulateRequest)(nil), "cosmos.tx.SimulateRequest")
proto.RegisterType((*SimulateResponse)(nil), "cosmos.tx.SimulateResponse")
proto.RegisterType((*SimulateRequest)(nil), "cosmos.tx.v1beta1.SimulateRequest")
proto.RegisterType((*SimulateResponse)(nil), "cosmos.tx.v1beta1.SimulateResponse")
}
func init() { proto.RegisterFile("cosmos/tx/service.proto", fileDescriptor_3815655f4ee03b11) }
func init() { proto.RegisterFile("cosmos/tx/v1beta1/service.proto", fileDescriptor_e0b00a618705eca7) }
var fileDescriptor_3815655f4ee03b11 = []byte{
// 266 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x2f, 0xa9, 0xd0, 0x2f, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2b, 0x28,
0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x84, 0x48, 0xe8, 0x95, 0x54, 0x48, 0x09, 0x43, 0xd5, 0x40, 0x45,
0xc0, 0xf2, 0x52, 0x42, 0x08, 0x8d, 0x25, 0x15, 0x10, 0x31, 0x25, 0x03, 0x2e, 0xfe, 0xe0, 0xcc,
0xdc, 0xd2, 0x9c, 0xc4, 0x92, 0xd4, 0xa0, 0xd4, 0xc2, 0xd2, 0xd4, 0xe2, 0x12, 0x21, 0x59, 0x2e,
0xa6, 0x92, 0x0a, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x5e, 0x3d, 0xb8, 0x99, 0x7a, 0x21,
0x15, 0x41, 0x4c, 0x25, 0x15, 0x4a, 0x69, 0x5c, 0x02, 0x08, 0x1d, 0xc5, 0x05, 0xf9, 0x79, 0xc5,
0xa9, 0x42, 0x5a, 0x5c, 0x1c, 0xe9, 0x89, 0xc5, 0xf1, 0x99, 0x79, 0x69, 0xf9, 0x50, 0x8d, 0xfc,
0x30, 0x8d, 0xee, 0x89, 0xc5, 0x9e, 0x79, 0x69, 0xf9, 0x41, 0xec, 0xe9, 0x10, 0x86, 0x90, 0x1a,
0x17, 0x5b, 0x51, 0x6a, 0x71, 0x69, 0x4e, 0x89, 0x04, 0x13, 0x58, 0x25, 0x1f, 0x4c, 0x65, 0x10,
0x58, 0x34, 0x08, 0x2a, 0x6b, 0x14, 0xc0, 0xc5, 0x1e, 0x0c, 0xf1, 0x9e, 0x90, 0x2b, 0x17, 0x07,
0xcc, 0x4a, 0x21, 0x29, 0x24, 0x17, 0xa1, 0xb9, 0x5c, 0x4a, 0x1a, 0xab, 0x1c, 0xc4, 0x8d, 0x4a,
0x0c, 0x4e, 0xf6, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3,
0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xa5, 0x9a, 0x9e,
0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x8f, 0x12, 0x72, 0xba, 0xc5, 0x29, 0xd9,
0xfa, 0x25, 0x95, 0x05, 0xa9, 0xa0, 0x50, 0x4b, 0x62, 0x03, 0x87, 0x99, 0x31, 0x20, 0x00, 0x00,
0xff, 0xff, 0x1f, 0x22, 0x57, 0x5f, 0x82, 0x01, 0x00, 0x00,
var fileDescriptor_e0b00a618705eca7 = []byte{
// 300 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x2f, 0xa9, 0xd0, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x4e,
0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x84, 0x28, 0xd0,
0x2b, 0xa9, 0xd0, 0x83, 0x2a, 0x90, 0x52, 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, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xd5, 0xf4,
0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x68, 0x48, 0x43, 0x28, 0xdd, 0xe2,
0x94, 0x6c, 0xfd, 0x92, 0xca, 0x82, 0x54, 0x50, 0xd0, 0x27, 0xb1, 0x81, 0x03, 0xdc, 0x18, 0x10,
0x00, 0x00, 0xff, 0xff, 0x16, 0x0a, 0x0d, 0x78, 0xe7, 0x01, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -180,7 +182,7 @@ func NewServiceClient(cc grpc1.ClientConn) ServiceClient {
func (c *serviceClient) Simulate(ctx context.Context, in *SimulateRequest, opts ...grpc.CallOption) (*SimulateResponse, error) {
out := new(SimulateResponse)
err := c.cc.Invoke(ctx, "/cosmos.tx.Service/Simulate", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.tx.v1beta1.Service/Simulate", in, out, opts...)
if err != nil {
return nil, err
}
@ -215,7 +217,7 @@ func _Service_Simulate_Handler(srv interface{}, ctx context.Context, dec func(in
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.tx.Service/Simulate",
FullMethod: "/cosmos.tx.v1beta1.Service/Simulate",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceServer).Simulate(ctx, req.(*SimulateRequest))
@ -224,7 +226,7 @@ func _Service_Simulate_Handler(srv interface{}, ctx context.Context, dec func(in
}
var _Service_serviceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.tx.Service",
ServiceName: "cosmos.tx.v1beta1.Service",
HandlerType: (*ServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -233,7 +235,7 @@ var _Service_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/tx/service.proto",
Metadata: "cosmos/tx/v1beta1/service.proto",
}
func (m *SimulateRequest) Marshal() (dAtA []byte, err error) {

View File

@ -1,37 +0,0 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/tx/sig_desc.proto
package tx
import (
fmt "fmt"
_ "github.com/cosmos/cosmos-sdk/types/tx/signing"
proto "github.com/gogo/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func init() { proto.RegisterFile("cosmos/tx/sig_desc.proto", fileDescriptor_d560eb6bd3d62ef7) }
var fileDescriptor_d560eb6bd3d62ef7 = []byte{
// 129 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x48, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x2f, 0xa9, 0xd0, 0x2f, 0xce, 0x4c, 0x8f, 0x4f, 0x49, 0x2d, 0x4e, 0xd6, 0x2b,
0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x84, 0xc8, 0xe8, 0x95, 0x54, 0x48, 0xc9, 0xa3, 0x28, 0xca,
0xcb, 0xcc, 0x4b, 0x87, 0xd1, 0x10, 0xb5, 0x4e, 0xf6, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24,
0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78,
0x2c, 0xc7, 0x10, 0xa5, 0x9a, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f,
0x35, 0x05, 0x42, 0xe9, 0x16, 0xa7, 0x64, 0xeb, 0x97, 0x54, 0x16, 0xa4, 0x82, 0x8c, 0x4d, 0x62,
0x03, 0x9b, 0x63, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x86, 0x8a, 0xa4, 0x8a, 0x8f, 0x00, 0x00,
0x00,
}

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/tx/signing/signing.proto
// source: cosmos/tx/signing/v1beta1/signing.proto
package signing
@ -59,7 +59,7 @@ func (x SignMode) String() string {
}
func (SignMode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8a04324e5f3729bf, []int{0}
return fileDescriptor_9a54958ff3d0b1b9, []int{0}
}
// SignatureDescriptors wraps multiple SignatureDescriptor's.
@ -72,7 +72,7 @@ func (m *SignatureDescriptors) Reset() { *m = SignatureDescriptors{} }
func (m *SignatureDescriptors) String() string { return proto.CompactTextString(m) }
func (*SignatureDescriptors) ProtoMessage() {}
func (*SignatureDescriptors) Descriptor() ([]byte, []int) {
return fileDescriptor_8a04324e5f3729bf, []int{0}
return fileDescriptor_9a54958ff3d0b1b9, []int{0}
}
func (m *SignatureDescriptors) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -121,7 +121,7 @@ func (m *SignatureDescriptor) Reset() { *m = SignatureDescriptor{} }
func (m *SignatureDescriptor) String() string { return proto.CompactTextString(m) }
func (*SignatureDescriptor) ProtoMessage() {}
func (*SignatureDescriptor) Descriptor() ([]byte, []int) {
return fileDescriptor_8a04324e5f3729bf, []int{1}
return fileDescriptor_9a54958ff3d0b1b9, []int{1}
}
func (m *SignatureDescriptor) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -178,7 +178,7 @@ func (m *SignatureDescriptor_Data) Reset() { *m = SignatureDescriptor_Da
func (m *SignatureDescriptor_Data) String() string { return proto.CompactTextString(m) }
func (*SignatureDescriptor_Data) ProtoMessage() {}
func (*SignatureDescriptor_Data) Descriptor() ([]byte, []int) {
return fileDescriptor_8a04324e5f3729bf, []int{1, 0}
return fileDescriptor_9a54958ff3d0b1b9, []int{1, 0}
}
func (m *SignatureDescriptor_Data) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -255,7 +255,7 @@ func (*SignatureDescriptor_Data) XXX_OneofWrappers() []interface{} {
// Single is the signature data for a single signer
type SignatureDescriptor_Data_Single struct {
// mode is the signing mode of the single signer
Mode SignMode `protobuf:"varint,1,opt,name=mode,proto3,enum=cosmos.tx.signing.SignMode" json:"mode,omitempty"`
Mode SignMode `protobuf:"varint,1,opt,name=mode,proto3,enum=cosmos.tx.signing.v1beta1.SignMode" json:"mode,omitempty"`
// signature is the raw signature bytes
Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}
@ -264,7 +264,7 @@ func (m *SignatureDescriptor_Data_Single) Reset() { *m = SignatureDescri
func (m *SignatureDescriptor_Data_Single) String() string { return proto.CompactTextString(m) }
func (*SignatureDescriptor_Data_Single) ProtoMessage() {}
func (*SignatureDescriptor_Data_Single) Descriptor() ([]byte, []int) {
return fileDescriptor_8a04324e5f3729bf, []int{1, 0, 0}
return fileDescriptor_9a54958ff3d0b1b9, []int{1, 0, 0}
}
func (m *SignatureDescriptor_Data_Single) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -319,7 +319,7 @@ func (m *SignatureDescriptor_Data_Multi) Reset() { *m = SignatureDescrip
func (m *SignatureDescriptor_Data_Multi) String() string { return proto.CompactTextString(m) }
func (*SignatureDescriptor_Data_Multi) ProtoMessage() {}
func (*SignatureDescriptor_Data_Multi) Descriptor() ([]byte, []int) {
return fileDescriptor_8a04324e5f3729bf, []int{1, 0, 1}
return fileDescriptor_9a54958ff3d0b1b9, []int{1, 0, 1}
}
func (m *SignatureDescriptor_Data_Multi) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -363,49 +363,52 @@ func (m *SignatureDescriptor_Data_Multi) GetSignatures() []*SignatureDescriptor_
}
func init() {
proto.RegisterEnum("cosmos.tx.signing.SignMode", SignMode_name, SignMode_value)
proto.RegisterType((*SignatureDescriptors)(nil), "cosmos.tx.signing.SignatureDescriptors")
proto.RegisterType((*SignatureDescriptor)(nil), "cosmos.tx.signing.SignatureDescriptor")
proto.RegisterType((*SignatureDescriptor_Data)(nil), "cosmos.tx.signing.SignatureDescriptor.Data")
proto.RegisterType((*SignatureDescriptor_Data_Single)(nil), "cosmos.tx.signing.SignatureDescriptor.Data.Single")
proto.RegisterType((*SignatureDescriptor_Data_Multi)(nil), "cosmos.tx.signing.SignatureDescriptor.Data.Multi")
proto.RegisterEnum("cosmos.tx.signing.v1beta1.SignMode", SignMode_name, SignMode_value)
proto.RegisterType((*SignatureDescriptors)(nil), "cosmos.tx.signing.v1beta1.SignatureDescriptors")
proto.RegisterType((*SignatureDescriptor)(nil), "cosmos.tx.signing.v1beta1.SignatureDescriptor")
proto.RegisterType((*SignatureDescriptor_Data)(nil), "cosmos.tx.signing.v1beta1.SignatureDescriptor.Data")
proto.RegisterType((*SignatureDescriptor_Data_Single)(nil), "cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single")
proto.RegisterType((*SignatureDescriptor_Data_Multi)(nil), "cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi")
}
func init() { proto.RegisterFile("cosmos/tx/signing/signing.proto", fileDescriptor_8a04324e5f3729bf) }
func init() {
proto.RegisterFile("cosmos/tx/signing/v1beta1/signing.proto", fileDescriptor_9a54958ff3d0b1b9)
}
var fileDescriptor_8a04324e5f3729bf = []byte{
// 487 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcb, 0x6e, 0xd3, 0x40,
0x14, 0xb5, 0x9b, 0x87, 0xda, 0x5b, 0x84, 0xdc, 0xa1, 0x95, 0x82, 0x8b, 0xdc, 0xaa, 0x0b, 0x54,
0x81, 0x6a, 0x8b, 0xb0, 0x40, 0x62, 0x83, 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xe1, 0x8e, 0xd5, 0x6e, 0xb4, 0x3e, 0xb8, 0x8d, 0xae, 0xdd, 0xeb, 0xbb,
0x6f, 0x9d, 0x7e, 0x4f, 0xf9, 0xd2, 0x6c, 0x7f, 0x9f, 0x69, 0xf2, 0xed, 0x4c, 0x93, 0x7f, 0xce,
0x34, 0xf9, 0x66, 0xae, 0x49, 0xb7, 0x73, 0x4d, 0xfa, 0x31, 0xd7, 0xa4, 0x8f, 0x27, 0x21, 0xe1,
0x9f, 0xd3, 0xa1, 0xee, 0xd3, 0xc8, 0x28, 0x96, 0x47, 0x94, 0x13, 0x36, 0xba, 0x32, 0xf8, 0x34,
0x0e, 0x56, 0x37, 0x70, 0x58, 0x15, 0xbb, 0xf4, 0xf2, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x82,
0x8c, 0xaa, 0x54, 0x9d, 0x03, 0x00, 0x00,
var fileDescriptor_9a54958ff3d0b1b9 = []byte{
// 506 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xcd, 0x6e, 0xd3, 0x40,
0x10, 0xc7, 0xed, 0x7c, 0xa9, 0x9d, 0x22, 0x14, 0x96, 0x56, 0x4a, 0x03, 0x32, 0x55, 0x11, 0xa2,
0x02, 0x75, 0xad, 0xa6, 0x07, 0x04, 0xb7, 0x24, 0x36, 0x69, 0xa0, 0x71, 0x8a, 0x9d, 0x4a, 0xc0,
0xc5, 0x5a, 0x3b, 0xc6, 0xac, 0x1a, 0x67, 0x2d, 0xef, 0x1a, 0x35, 0x27, 0x5e, 0x81, 0x97, 0xe0,
0x39, 0xb8, 0x72, 0xec, 0x91, 0x23, 0x4a, 0x24, 0x9e, 0x03, 0xc5, 0x1f, 0x49, 0x90, 0x0a, 0xa8,
0x39, 0xd9, 0x33, 0x3b, 0xf3, 0xfb, 0xff, 0x57, 0xb3, 0x03, 0x8f, 0x5d, 0xc6, 0x03, 0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e, 0xd0, 0xa7, 0xe2, 0x63, 0xec, 0x60, 0x97, 0x05, 0x6a, 0xb6, 0x93, 0xe9, 0xe7, 0x90, 0x0f,
0x2f, 0x54, 0x31, 0x09, 0xbd, 0xd5, 0x45, 0x77, 0x2a, 0xc9, 0x56, 0x1e, 0xff, 0x0e, 0x00, 0x00,
0xff, 0xff, 0x63, 0x6d, 0x8a, 0xc7, 0x04, 0x04, 0x00, 0x00,
}
func (m *SignatureDescriptors) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/tx/tx.proto
// source: cosmos/tx/v1beta1/tx.proto
package tx
@ -44,7 +44,7 @@ func (m *Tx) Reset() { *m = Tx{} }
func (m *Tx) String() string { return proto.CompactTextString(m) }
func (*Tx) ProtoMessage() {}
func (*Tx) Descriptor() ([]byte, []int) {
return fileDescriptor_9b35c9d5d6b7bce8, []int{0}
return fileDescriptor_96d1575ffde80842, []int{0}
}
func (m *Tx) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -112,7 +112,7 @@ func (m *TxRaw) Reset() { *m = TxRaw{} }
func (m *TxRaw) String() string { return proto.CompactTextString(m) }
func (*TxRaw) ProtoMessage() {}
func (*TxRaw) Descriptor() ([]byte, []int) {
return fileDescriptor_9b35c9d5d6b7bce8, []int{1}
return fileDescriptor_96d1575ffde80842, []int{1}
}
func (m *TxRaw) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -183,7 +183,7 @@ func (m *SignDoc) Reset() { *m = SignDoc{} }
func (m *SignDoc) String() string { return proto.CompactTextString(m) }
func (*SignDoc) ProtoMessage() {}
func (*SignDoc) Descriptor() ([]byte, []int) {
return fileDescriptor_9b35c9d5d6b7bce8, []int{2}
return fileDescriptor_96d1575ffde80842, []int{2}
}
func (m *SignDoc) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -275,7 +275,7 @@ func (m *TxBody) Reset() { *m = TxBody{} }
func (m *TxBody) String() string { return proto.CompactTextString(m) }
func (*TxBody) ProtoMessage() {}
func (*TxBody) Descriptor() ([]byte, []int) {
return fileDescriptor_9b35c9d5d6b7bce8, []int{3}
return fileDescriptor_96d1575ffde80842, []int{3}
}
func (m *TxBody) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -356,7 +356,7 @@ func (m *AuthInfo) Reset() { *m = AuthInfo{} }
func (m *AuthInfo) String() string { return proto.CompactTextString(m) }
func (*AuthInfo) ProtoMessage() {}
func (*AuthInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_9b35c9d5d6b7bce8, []int{4}
return fileDescriptor_96d1575ffde80842, []int{4}
}
func (m *AuthInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -414,7 +414,7 @@ func (m *SignerInfo) Reset() { *m = SignerInfo{} }
func (m *SignerInfo) String() string { return proto.CompactTextString(m) }
func (*SignerInfo) ProtoMessage() {}
func (*SignerInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_9b35c9d5d6b7bce8, []int{5}
return fileDescriptor_96d1575ffde80842, []int{5}
}
func (m *SignerInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -472,7 +472,7 @@ func (m *ModeInfo) Reset() { *m = ModeInfo{} }
func (m *ModeInfo) String() string { return proto.CompactTextString(m) }
func (*ModeInfo) ProtoMessage() {}
func (*ModeInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_9b35c9d5d6b7bce8, []int{6}
return fileDescriptor_96d1575ffde80842, []int{6}
}
func (m *ModeInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -550,14 +550,14 @@ func (*ModeInfo) XXX_OneofWrappers() []interface{} {
// to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the future
type ModeInfo_Single struct {
// mode is the signing mode of the single signer
Mode signing.SignMode `protobuf:"varint,1,opt,name=mode,proto3,enum=cosmos.tx.signing.SignMode" json:"mode,omitempty"`
Mode signing.SignMode `protobuf:"varint,1,opt,name=mode,proto3,enum=cosmos.tx.signing.v1beta1.SignMode" json:"mode,omitempty"`
}
func (m *ModeInfo_Single) Reset() { *m = ModeInfo_Single{} }
func (m *ModeInfo_Single) String() string { return proto.CompactTextString(m) }
func (*ModeInfo_Single) ProtoMessage() {}
func (*ModeInfo_Single) Descriptor() ([]byte, []int) {
return fileDescriptor_9b35c9d5d6b7bce8, []int{6, 0}
return fileDescriptor_96d1575ffde80842, []int{6, 0}
}
func (m *ModeInfo_Single) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -606,7 +606,7 @@ func (m *ModeInfo_Multi) Reset() { *m = ModeInfo_Multi{} }
func (m *ModeInfo_Multi) String() string { return proto.CompactTextString(m) }
func (*ModeInfo_Multi) ProtoMessage() {}
func (*ModeInfo_Multi) Descriptor() ([]byte, []int) {
return fileDescriptor_9b35c9d5d6b7bce8, []int{6, 1}
return fileDescriptor_96d1575ffde80842, []int{6, 1}
}
func (m *ModeInfo_Multi) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -664,7 +664,7 @@ func (m *Fee) Reset() { *m = Fee{} }
func (m *Fee) String() string { return proto.CompactTextString(m) }
func (*Fee) ProtoMessage() {}
func (*Fee) Descriptor() ([]byte, []int) {
return fileDescriptor_9b35c9d5d6b7bce8, []int{7}
return fileDescriptor_96d1575ffde80842, []int{7}
}
func (m *Fee) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -708,72 +708,74 @@ func (m *Fee) GetGasLimit() uint64 {
}
func init() {
proto.RegisterType((*Tx)(nil), "cosmos.tx.Tx")
proto.RegisterType((*TxRaw)(nil), "cosmos.tx.TxRaw")
proto.RegisterType((*SignDoc)(nil), "cosmos.tx.SignDoc")
proto.RegisterType((*TxBody)(nil), "cosmos.tx.TxBody")
proto.RegisterType((*AuthInfo)(nil), "cosmos.tx.AuthInfo")
proto.RegisterType((*SignerInfo)(nil), "cosmos.tx.SignerInfo")
proto.RegisterType((*ModeInfo)(nil), "cosmos.tx.ModeInfo")
proto.RegisterType((*ModeInfo_Single)(nil), "cosmos.tx.ModeInfo.Single")
proto.RegisterType((*ModeInfo_Multi)(nil), "cosmos.tx.ModeInfo.Multi")
proto.RegisterType((*Fee)(nil), "cosmos.tx.Fee")
proto.RegisterType((*Tx)(nil), "cosmos.tx.v1beta1.Tx")
proto.RegisterType((*TxRaw)(nil), "cosmos.tx.v1beta1.TxRaw")
proto.RegisterType((*SignDoc)(nil), "cosmos.tx.v1beta1.SignDoc")
proto.RegisterType((*TxBody)(nil), "cosmos.tx.v1beta1.TxBody")
proto.RegisterType((*AuthInfo)(nil), "cosmos.tx.v1beta1.AuthInfo")
proto.RegisterType((*SignerInfo)(nil), "cosmos.tx.v1beta1.SignerInfo")
proto.RegisterType((*ModeInfo)(nil), "cosmos.tx.v1beta1.ModeInfo")
proto.RegisterType((*ModeInfo_Single)(nil), "cosmos.tx.v1beta1.ModeInfo.Single")
proto.RegisterType((*ModeInfo_Multi)(nil), "cosmos.tx.v1beta1.ModeInfo.Multi")
proto.RegisterType((*Fee)(nil), "cosmos.tx.v1beta1.Fee")
}
func init() { proto.RegisterFile("cosmos/tx/tx.proto", fileDescriptor_9b35c9d5d6b7bce8) }
func init() { proto.RegisterFile("cosmos/tx/v1beta1/tx.proto", fileDescriptor_96d1575ffde80842) }
var fileDescriptor_9b35c9d5d6b7bce8 = []byte{
// 795 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x6f, 0xe3, 0x44,
0x14, 0x8f, 0xe3, 0x24, 0x8d, 0x5f, 0xff, 0xed, 0xce, 0x2e, 0x92, 0x9b, 0x0a, 0x37, 0x8a, 0x54,
0x14, 0x0e, 0xd8, 0xa5, 0x20, 0xf1, 0xe7, 0x82, 0x9a, 0xc2, 0xaa, 0x2b, 0x58, 0x40, 0x93, 0x8a,
0xc3, 0x5e, 0x2c, 0xdb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, 0xa1, 0x83, 0x40, 0x06, 0x00, 0x00,
var fileDescriptor_96d1575ffde80842 = []byte{
// 830 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x6f, 0xdc, 0x44,
0x14, 0x5f, 0xef, 0xbf, 0xec, 0xbe, 0x24, 0x4d, 0x3b, 0xaa, 0xd0, 0x66, 0xa3, 0xba, 0xc1, 0x28,
0xb0, 0x08, 0xd5, 0x6e, 0xc3, 0x81, 0x3f, 0x42, 0x82, 0x6c, 0x4b, 0x49, 0x05, 0x05, 0x34, 0xc9,
0xa9, 0x17, 0x6b, 0xec, 0x9d, 0x78, 0x47, 0x5d, 0xcf, 0x2c, 0x9e, 0x71, 0xb1, 0x3f, 0x01, 0x97,
0x22, 0x71, 0xe1, 0x4b, 0xf0, 0x1d, 0xb8, 0xf7, 0xd8, 0x23, 0x07, 0x04, 0x28, 0xf9, 0x20, 0xa0,
0x19, 0x8f, 0xdd, 0x50, 0xa2, 0xdd, 0x0b, 0xa7, 0x7d, 0xf3, 0xe6, 0xf7, 0xfb, 0xbd, 0xdf, 0xbe,
0x37, 0xcf, 0x30, 0x8e, 0x85, 0x4c, 0x85, 0x0c, 0x54, 0x11, 0x3c, 0xbb, 0x17, 0x51, 0x45, 0xee,
0x05, 0xaa, 0xf0, 0x97, 0x99, 0x50, 0x02, 0xdd, 0xa8, 0xee, 0x7c, 0x55, 0xf8, 0xf6, 0x6e, 0x7c,
0x33, 0x11, 0x89, 0x30, 0xb7, 0x81, 0x8e, 0x2a, 0xe0, 0xf8, 0x1d, 0x2b, 0x12, 0x11, 0x49, 0x83,
0x38, 0x2b, 0x97, 0x4a, 0x34, 0x6a, 0xd5, 0xd1, 0x02, 0xdd, 0xcb, 0xc0, 0x06, 0x21, 0x18, 0x7f,
0x4d, 0x48, 0x15, 0x81, 0x64, 0x09, 0x67, 0x3c, 0x69, 0x50, 0xf6, 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e8, 0x95, 0x15, 0xc6, 0xa7, 0x77, 0x5f, 0xfc, 0x71, 0xbb, 0xf5, 0xcb, 0x9f, 0xb7,
0x27, 0x09, 0x53, 0xf3, 0x3c, 0xf2, 0x63, 0x91, 0x06, 0xf6, 0x3b, 0x5e, 0xfd, 0xdc, 0x91, 0xb3,
0xa7, 0x81, 0x2a, 0x97, 0x54, 0x1a, 0x82, 0xc4, 0x56, 0x1a, 0xed, 0xc1, 0x30, 0x21, 0x32, 0x5c,
0xb0, 0x94, 0x29, 0x33, 0x84, 0x2e, 0x1e, 0x24, 0x44, 0x7e, 0xa5, 0xcf, 0xd3, 0x4f, 0x5f, 0x9c,
0xbb, 0xce, 0xcb, 0x73, 0xd7, 0xf9, 0xeb, 0xdc, 0x75, 0x7e, 0xba, 0x70, 0x5b, 0x2f, 0x2f, 0xdc,
0xd6, 0x6f, 0x17, 0x6e, 0xeb, 0xc9, 0xc1, 0xfa, 0x42, 0x81, 0x2a, 0xa2, 0xbe, 0xd9, 0xad, 0xf7,
0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x43, 0xc7, 0xe9, 0x47, 0xe3, 0x06, 0x00, 0x00,
}
func (m *Tx) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/auth/auth.proto
// source: cosmos/auth/v1beta1/auth.proto
package types
@ -38,7 +38,7 @@ type BaseAccount struct {
func (m *BaseAccount) Reset() { *m = BaseAccount{} }
func (*BaseAccount) ProtoMessage() {}
func (*BaseAccount) Descriptor() ([]byte, []int) {
return fileDescriptor_ec2401f40a84da7e, []int{0}
return fileDescriptor_7e1f7e915d020d2d, []int{0}
}
func (m *BaseAccount) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -77,7 +77,7 @@ type ModuleAccount struct {
func (m *ModuleAccount) Reset() { *m = ModuleAccount{} }
func (*ModuleAccount) ProtoMessage() {}
func (*ModuleAccount) Descriptor() ([]byte, []int) {
return fileDescriptor_ec2401f40a84da7e, []int{1}
return fileDescriptor_7e1f7e915d020d2d, []int{1}
}
func (m *ModuleAccount) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -118,7 +118,7 @@ type Params struct {
func (m *Params) Reset() { *m = Params{} }
func (*Params) ProtoMessage() {}
func (*Params) Descriptor() ([]byte, []int) {
return fileDescriptor_ec2401f40a84da7e, []int{2}
return fileDescriptor_7e1f7e915d020d2d, []int{2}
}
func (m *Params) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -183,56 +183,57 @@ func (m *Params) GetSigVerifyCostSecp256k1() uint64 {
}
func init() {
proto.RegisterType((*BaseAccount)(nil), "cosmos.auth.BaseAccount")
proto.RegisterType((*ModuleAccount)(nil), "cosmos.auth.ModuleAccount")
proto.RegisterType((*Params)(nil), "cosmos.auth.Params")
proto.RegisterType((*BaseAccount)(nil), "cosmos.auth.v1beta1.BaseAccount")
proto.RegisterType((*ModuleAccount)(nil), "cosmos.auth.v1beta1.ModuleAccount")
proto.RegisterType((*Params)(nil), "cosmos.auth.v1beta1.Params")
}
func init() { proto.RegisterFile("cosmos/auth/auth.proto", fileDescriptor_ec2401f40a84da7e) }
func init() { proto.RegisterFile("cosmos/auth/v1beta1/auth.proto", fileDescriptor_7e1f7e915d020d2d) }
var fileDescriptor_ec2401f40a84da7e = []byte{
// 650 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0x4f, 0x4f, 0xdb, 0x4e,
0x10, 0x8d, 0x49, 0x7e, 0xfc, 0xd9, 0x00, 0x12, 0x26, 0x80, 0xc9, 0xaf, 0xf2, 0x46, 0x3e, 0x51,
0xa9, 0x09, 0x82, 0x8a, 0x4a, 0xe4, 0x50, 0x15, 0xd3, 0x56, 0x42, 0x14, 0x84, 0x16, 0xa9, 0xaa,
0x7a, 0xb1, 0xd6, 0xce, 0x36, 0x58, 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,
0x53, 0x7b, 0x7f, 0x65, 0x96, 0x2e, 0xaf, 0xcc, 0xd2, 0xb7, 0x2b, 0xb3, 0xf4, 0xfa, 0xfe, 0x3f,
0x6f, 0xeb, 0x40, 0x3d, 0x20, 0xf2, 0xd2, 0xba, 0x93, 0xf2, 0x11, 0x78, 0xf8, 0x27, 0x00, 0x00,
0xff, 0xff, 0x10, 0x68, 0x06, 0x78, 0x5c, 0x04, 0x00, 0x00,
var fileDescriptor_7e1f7e915d020d2d = []byte{
// 657 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xbf, 0x6f, 0xd3, 0x40,
0x14, 0x8e, 0x9b, 0xd0, 0x1f, 0x97, 0xb6, 0x52, 0xdd, 0xb4, 0x4d, 0x03, 0xf2, 0x59, 0x9e, 0x8a,
0x44, 0x12, 0xa5, 0xa8, 0x48, 0xcd, 0x80, 0xa8, 0x0b, 0x48, 0x55, 0x69, 0x55, 0xb9, 0x12, 0x03,
0x8b, 0x39, 0x3b, 0x47, 0x6a, 0x35, 0x97, 0x73, 0x7d, 0xe7, 0x2a, 0xee, 0x5f, 0xc0, 0xc8, 0x84,
0x18, 0xfb, 0x47, 0xf0, 0x1f, 0xb0, 0x30, 0x56, 0x4c, 0x4c, 0x06, 0xa5, 0x0b, 0x62, 0xf4, 0xc8,
0x84, 0x7c, 0xe7, 0xa6, 0x4e, 0x15, 0x98, 0x7c, 0xef, 0x7b, 0xdf, 0xf7, 0xbd, 0xe7, 0xf7, 0x74,
0x07, 0x34, 0x97, 0x32, 0x42, 0x59, 0x13, 0x85, 0xfc, 0xa4, 0x79, 0xde, 0x72, 0x30, 0x47, 0x2d,
0x11, 0x34, 0xfc, 0x80, 0x72, 0xaa, 0x2e, 0xcb, 0x7c, 0x43, 0x40, 0x59, 0xbe, 0xb6, 0x2e, 0x41,
0x5b, 0x50, 0x9a, 0x19, 0x43, 0x04, 0xb5,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e3, 0x47, 0x38, 0x30, 0x23, 0x8e, 0xd5, 0x33, 0xb0,
0x96, 0x56, 0x3b, 0xc7, 0x81, 0xf7, 0x2e, 0x92, 0x7c, 0xdc, 0xd9, 0xdc, 0xda, 0x6a, 0x6d, 0xcb,
0x85, 0x9b, 0xed, 0x61, 0x0c, 0x2b, 0xc7, 0x5e, 0xf7, 0xb5, 0x60, 0xa4, 0xd2, 0x17, 0xcf, 0x45,
0x3e, 0x89, 0xa1, 0x26, 0xab, 0xfd, 0xc3, 0xc0, 0xb0, 0x2a, 0x6c, 0x4c, 0x27, 0x61, 0x35, 0x02,
0xeb, 0x77, 0x15, 0x0c, 0xbb, 0xfe, 0xe6, 0xd6, 0x93, 0xd3, 0x56, 0xf5, 0x9e, 0x28, 0xfa, 0x74,
0x18, 0xc3, 0xd5, 0xb1, 0xa2, 0xc7, 0x37, 0x8c, 0x24, 0x86, 0xfa, 0xe4, 0xb2, 0x23, 0x13, 0xc3,
0x5a, 0x65, 0x13, 0xb5, 0xed, 0xd9, 0x74, 0xdf, 0xbf, 0x2e, 0xa1, 0x62, 0xee, 0x7e, 0x1d, 0x6a,
0xca, 0xd5, 0x50, 0x53, 0x7e, 0x0e, 0x35, 0xe5, 0xc3, 0xb5, 0x56, 0xb8, 0xba, 0xd6, 0x0a, 0xdf,
0xaf, 0xb5, 0xc2, 0x9b, 0x87, 0xff, 0xbd, 0xb5, 0x03, 0xf9, 0xb0, 0x88, 0xcb, 0xeb, 0x4c, 0x8b,
0xc7, 0xe0, 0xf1, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x11, 0x68, 0xfa, 0x1e, 0x74, 0x04, 0x00,
0x00,
}
func (this *Params) Equal(that interface{}) bool {

View File

@ -21,7 +21,7 @@ func RegisterCodec(cdc *codec.LegacyAmino) {
// and creates a registry of it's concrete implementations
func RegisterInterfaces(registry types.InterfaceRegistry) {
registry.RegisterInterface(
"cosmos_sdk.auth.v1.AccountI",
"cosmos.auth.v1beta1.AccountI",
(*AccountI)(nil),
&BaseAccount{},
&ModuleAccount{},

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/auth/genesis.proto
// source: cosmos/auth/v1beta1/genesis.proto
package types
@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_eb73f4d82d582a1f, []int{0}
return fileDescriptor_d897ccbce9822332, []int{0}
}
func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -78,29 +78,30 @@ func (m *GenesisState) GetAccounts() []*types.Any {
}
func init() {
proto.RegisterType((*GenesisState)(nil), "cosmos.auth.GenesisState")
proto.RegisterType((*GenesisState)(nil), "cosmos.auth.v1beta1.GenesisState")
}
func init() { proto.RegisterFile("cosmos/auth/genesis.proto", fileDescriptor_eb73f4d82d582a1f) }
func init() { proto.RegisterFile("cosmos/auth/v1beta1/genesis.proto", fileDescriptor_d897ccbce9822332) }
var fileDescriptor_eb73f4d82d582a1f = []byte{
// 246 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x2c, 0x2d, 0xc9, 0xd0, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6,
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0x48, 0xe9, 0x81, 0xa4, 0xa4, 0x24, 0xd3, 0xf3,
0xf3, 0xd3, 0x73, 0x52, 0xf5, 0xc1, 0x52, 0x49, 0xa5, 0x69, 0xfa, 0x89, 0x79, 0x95, 0x10, 0x75,
0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0xa6, 0x3e, 0x88, 0x05, 0x15, 0x15, 0x43, 0x36, 0x18,
0x44, 0x40, 0xc4, 0x95, 0x6a, 0xb9, 0x78, 0xdc, 0x21, 0xd6, 0x04, 0x97, 0x24, 0x96, 0xa4, 0x0a,
0x59, 0x73, 0xb1, 0x15, 0x24, 0x16, 0x25, 0xe6, 0x16, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x1b,
0x09, 0xeb, 0x21, 0x59, 0xab, 0x17, 0x00, 0x96, 0x72, 0xe2, 0x3b, 0x71, 0x4f, 0x9e, 0xe1, 0xd7,
0x3d, 0x79, 0x36, 0x08, 0x3f, 0x08, 0xaa, 0x45, 0xc8, 0x80, 0x8b, 0x23, 0x31, 0x39, 0x39, 0xbf,
0x34, 0xaf, 0xa4, 0x58, 0x82, 0x49, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x44, 0x0f, 0xe2, 0x50, 0x3d,
0x98, 0x43, 0xf5, 0x1c, 0xf3, 0x2a, 0x83, 0xe0, 0xaa, 0x9c, 0x9c, 0x4f, 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, 0x33, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f,
0x57, 0x1f, 0xea, 0x76, 0x08, 0xa5, 0x5b, 0x9c, 0x92, 0xad, 0x5f, 0x01, 0xf1, 0x48, 0x49, 0x65,
0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x70, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x47, 0xda,
0x47, 0x7b, 0x3d, 0x01, 0x00, 0x00,
var fileDescriptor_d897ccbce9822332 = []byte{
// 259 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0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72,
0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7,
0x72, 0x0c, 0x51, 0x9a, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x50,
0xcf, 0x40, 0x28, 0xdd, 0xe2, 0x94, 0x6c, 0xfd, 0x0a, 0x88, 0xcf, 0x4a, 0x2a, 0x0b, 0x52, 0x8b,
0x93, 0xd8, 0xc0, 0x86, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x3b, 0x4f, 0x3d, 0x94, 0x5e,
0x01, 0x00, 0x00,
}
func (m *GenesisState) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/auth/query.proto
// source: cosmos/auth/v1beta1/query.proto
package types
@ -41,7 +41,7 @@ func (m *QueryAccountRequest) Reset() { *m = QueryAccountRequest{} }
func (m *QueryAccountRequest) String() string { return proto.CompactTextString(m) }
func (*QueryAccountRequest) ProtoMessage() {}
func (*QueryAccountRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_e1bc52f4cb65abdb, []int{0}
return fileDescriptor_c451370b3929a27c, []int{0}
}
func (m *QueryAccountRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -87,7 +87,7 @@ func (m *QueryAccountResponse) Reset() { *m = QueryAccountResponse{} }
func (m *QueryAccountResponse) String() string { return proto.CompactTextString(m) }
func (*QueryAccountResponse) ProtoMessage() {}
func (*QueryAccountResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_e1bc52f4cb65abdb, []int{1}
return fileDescriptor_c451370b3929a27c, []int{1}
}
func (m *QueryAccountResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -131,7 +131,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} }
func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryParamsRequest) ProtoMessage() {}
func (*QueryParamsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_e1bc52f4cb65abdb, []int{2}
return fileDescriptor_c451370b3929a27c, []int{2}
}
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -170,7 +170,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} }
func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryParamsResponse) ProtoMessage() {}
func (*QueryParamsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_e1bc52f4cb65abdb, []int{3}
return fileDescriptor_c451370b3929a27c, []int{3}
}
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -207,39 +207,40 @@ func (m *QueryParamsResponse) GetParams() Params {
}
func init() {
proto.RegisterType((*QueryAccountRequest)(nil), "cosmos.auth.QueryAccountRequest")
proto.RegisterType((*QueryAccountResponse)(nil), "cosmos.auth.QueryAccountResponse")
proto.RegisterType((*QueryParamsRequest)(nil), "cosmos.auth.QueryParamsRequest")
proto.RegisterType((*QueryParamsResponse)(nil), "cosmos.auth.QueryParamsResponse")
proto.RegisterType((*QueryAccountRequest)(nil), "cosmos.auth.v1beta1.QueryAccountRequest")
proto.RegisterType((*QueryAccountResponse)(nil), "cosmos.auth.v1beta1.QueryAccountResponse")
proto.RegisterType((*QueryParamsRequest)(nil), "cosmos.auth.v1beta1.QueryParamsRequest")
proto.RegisterType((*QueryParamsResponse)(nil), "cosmos.auth.v1beta1.QueryParamsResponse")
}
func init() { proto.RegisterFile("cosmos/auth/query.proto", fileDescriptor_e1bc52f4cb65abdb) }
func init() { proto.RegisterFile("cosmos/auth/v1beta1/query.proto", fileDescriptor_c451370b3929a27c) }
var fileDescriptor_e1bc52f4cb65abdb = []byte{
// 364 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0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 0x06, 0x7c, 0x5a,
0x10, 0x86, 0x42, 0x8c, 0x43, 0x25, 0x8c, 0x8d, 0x83, 0x7f, 0x03, 0x9c, 0xcd, 0x0c, 0x56, 0xd0,
0x9c, 0x11, 0x78, 0x0a, 0xea, 0x89, 0x82, 0x64, 0x48, 0xa3, 0xef, 0x20, 0xd5, 0x0d, 0x99, 0x6e,
0x28, 0xcc, 0xa7, 0x51, 0xf3, 0xfd, 0xad, 0xbb, 0xa3, 0xb5, 0x17, 0xb1, 0x91, 0xf8, 0x0e, 0x80,
0xd2, 0x75, 0x90, 0x94, 0xc9, 0x98, 0xe9, 0x83, 0xfb, 0xe7, 0xba, 0x8f, 0x41, 0x75, 0x54, 0x0f,
0xd4, 0x0a, 0x89, 0xe8, 0xa4, 0x16, 0x5a, 0x1b, 0x34, 0x52, 0xe4, 0xe8, 0xdf, 0x6c, 0xd1, 0xb6,
0x62, 0x4d, 0xec, 0xbf, 0xda, 0xe0, 0xbf, 0xb4, 0x82, 0x03, 0x50, 0xd7, 0xf1, 0xb0, 0xb3, 0xa1,
0xfb, 0x65, 0x72, 0xee, 0xe1, 0x16, 0x86, 0x3a, 0x8c, 0x6f, 0xc1, 0x2b, 0x50, 0x53, 0x99, 0xb0,
0xfd, 0x93, 0xbe, 0x51, 0xc8, 0xed, 0xfc, 0x4d, 0x30, 0x76, 0xd1, 0xd9, 0x6c, 0xe9, 0xd9, 0xf3,
0xa5, 0x67, 0x7f, 0x2e, 0x3d, 0xfb, 0x65, 0xe5, 0x59, 0xf3, 0x95, 0x67, 0x7d, 0xac, 0x3c, 0xeb,
0xf6, 0x78, 0xeb, 0x95, 0x3d, 0xab, 0x3f, 0x45, 0xde, 0x5c, 0x5a, 0x93, 0x43, 0x3f, 0xf9, 0x0e,
0x00, 0x00, 0xff, 0xff, 0xf2, 0xf9, 0x5a, 0x33, 0x9c, 0x02, 0x00, 0x00,
var fileDescriptor_c451370b3929a27c = []byte{
// 371 bytes of a gzipped FileDescriptorProto
0x1f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}
// Reference imports to suppress errors if they are not otherwise used.
@ -270,7 +271,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) Account(ctx context.Context, in *QueryAccountRequest, opts ...grpc.CallOption) (*QueryAccountResponse, error) {
out := new(QueryAccountResponse)
err := c.cc.Invoke(ctx, "/cosmos.auth.Query/Account", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.auth.v1beta1.Query/Account", in, out, opts...)
if err != nil {
return nil, err
}
@ -279,7 +280,7 @@ func (c *queryClient) Account(ctx context.Context, in *QueryAccountRequest, opts
func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
out := new(QueryParamsResponse)
err := c.cc.Invoke(ctx, "/cosmos.auth.Query/Params", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.auth.v1beta1.Query/Params", in, out, opts...)
if err != nil {
return nil, err
}
@ -319,7 +320,7 @@ func _Query_Account_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.auth.Query/Account",
FullMethod: "/cosmos.auth.v1beta1.Query/Account",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Account(ctx, req.(*QueryAccountRequest))
@ -337,7 +338,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.auth.Query/Params",
FullMethod: "/cosmos.auth.v1beta1.Query/Params",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
@ -346,7 +347,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf
}
var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.auth.Query",
ServiceName: "cosmos.auth.v1beta1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -359,7 +360,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/auth/query.proto",
Metadata: "cosmos/auth/v1beta1/query.proto",
}
func (m *QueryAccountRequest) Marshal() (dAtA []byte, err error) {

View File

@ -21,7 +21,7 @@ func RegisterCodec(cdc *codec.LegacyAmino) {
// Interfaces and creates a registry of it's concrete implementations
func RegisterInterfaces(registry types.InterfaceRegistry) {
registry.RegisterInterface(
"cosmos_sdk.auth.vesting.v1.VestingAccount",
"cosmos.vesting.v1beta1.VestingAccount",
(*exported.VestingAccount)(nil),
&ContinuousVestingAccount{},
&DelayedVestingAccount{},

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/vesting/vesting.proto
// source: cosmos/vesting/v1beta1/vesting.proto
package types
@ -39,7 +39,7 @@ type BaseVestingAccount struct {
func (m *BaseVestingAccount) Reset() { *m = BaseVestingAccount{} }
func (*BaseVestingAccount) ProtoMessage() {}
func (*BaseVestingAccount) Descriptor() ([]byte, []int) {
return fileDescriptor_ae36726ee12abd18, []int{0}
return fileDescriptor_89e80273ca606d6e, []int{0}
}
func (m *BaseVestingAccount) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -78,7 +78,7 @@ type ContinuousVestingAccount struct {
func (m *ContinuousVestingAccount) Reset() { *m = ContinuousVestingAccount{} }
func (*ContinuousVestingAccount) ProtoMessage() {}
func (*ContinuousVestingAccount) Descriptor() ([]byte, []int) {
return fileDescriptor_ae36726ee12abd18, []int{1}
return fileDescriptor_89e80273ca606d6e, []int{1}
}
func (m *ContinuousVestingAccount) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -117,7 +117,7 @@ type DelayedVestingAccount struct {
func (m *DelayedVestingAccount) Reset() { *m = DelayedVestingAccount{} }
func (*DelayedVestingAccount) ProtoMessage() {}
func (*DelayedVestingAccount) Descriptor() ([]byte, []int) {
return fileDescriptor_ae36726ee12abd18, []int{2}
return fileDescriptor_89e80273ca606d6e, []int{2}
}
func (m *DelayedVestingAccount) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -155,7 +155,7 @@ type Period struct {
func (m *Period) Reset() { *m = Period{} }
func (*Period) ProtoMessage() {}
func (*Period) Descriptor() ([]byte, []int) {
return fileDescriptor_ae36726ee12abd18, []int{3}
return fileDescriptor_89e80273ca606d6e, []int{3}
}
func (m *Period) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -209,7 +209,7 @@ type PeriodicVestingAccount struct {
func (m *PeriodicVestingAccount) Reset() { *m = PeriodicVestingAccount{} }
func (*PeriodicVestingAccount) ProtoMessage() {}
func (*PeriodicVestingAccount) Descriptor() ([]byte, []int) {
return fileDescriptor_ae36726ee12abd18, []int{4}
return fileDescriptor_89e80273ca606d6e, []int{4}
}
func (m *PeriodicVestingAccount) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -239,53 +239,57 @@ func (m *PeriodicVestingAccount) XXX_DiscardUnknown() {
var xxx_messageInfo_PeriodicVestingAccount proto.InternalMessageInfo
func init() {
proto.RegisterType((*BaseVestingAccount)(nil), "cosmos.vesting.BaseVestingAccount")
proto.RegisterType((*ContinuousVestingAccount)(nil), "cosmos.vesting.ContinuousVestingAccount")
proto.RegisterType((*DelayedVestingAccount)(nil), "cosmos.vesting.DelayedVestingAccount")
proto.RegisterType((*Period)(nil), "cosmos.vesting.Period")
proto.RegisterType((*PeriodicVestingAccount)(nil), "cosmos.vesting.PeriodicVestingAccount")
proto.RegisterType((*BaseVestingAccount)(nil), "cosmos.vesting.v1beta1.BaseVestingAccount")
proto.RegisterType((*ContinuousVestingAccount)(nil), "cosmos.vesting.v1beta1.ContinuousVestingAccount")
proto.RegisterType((*DelayedVestingAccount)(nil), "cosmos.vesting.v1beta1.DelayedVestingAccount")
proto.RegisterType((*Period)(nil), "cosmos.vesting.v1beta1.Period")
proto.RegisterType((*PeriodicVestingAccount)(nil), "cosmos.vesting.v1beta1.PeriodicVestingAccount")
}
func init() { proto.RegisterFile("cosmos/vesting/vesting.proto", fileDescriptor_ae36726ee12abd18) }
func init() {
proto.RegisterFile("cosmos/vesting/v1beta1/vesting.proto", fileDescriptor_89e80273ca606d6e)
}
var fileDescriptor_ae36726ee12abd18 = []byte{
// 567 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0xb1, 0x6e, 0x13, 0x31,
0x18, 0xc7, 0xcf, 0x49, 0x08, 0xc5, 0x29, 0x49, 0xeb, 0x36, 0xe1, 0x54, 0xa1, 0xbb, 0xe8, 0xa6,
0x2c, 0x5c, 0xa0, 0x30, 0x65, 0xeb, 0x15, 0x21, 0xa1, 0x32, 0xa0, 0x13, 0xea, 0xd0, 0x25, 0x72,
0x72, 0xe6, 0x62, 0x91, 0x3b, 0x47, 0x67, 0x07, 0x91, 0x81, 0x4e, 0x48, 0x30, 0xb2, 0x20, 0x31,
0x56, 0x8c, 0x3c, 0x00, 0xcf, 0xd0, 0x31, 0x23, 0x53, 0x40, 0xc9, 0x1b, 0xe4, 0x09, 0x50, 0x6c,
0x5f, 0x42, 0xae, 0x11, 0x52, 0x19, 0x10, 0x4b, 0x72, 0xfe, 0xec, 0xef, 0xff, 0xfd, 0xfc, 0xf9,
0x6f, 0xc3, 0xbb, 0x5d, 0xc6, 0x23, 0xc6, 0x9b, 0xaf, 0x09, 0x17, 0x34, 0x0e, 0xd3, 0x7f, 0x77,
0x90, 0x30, 0xc1, 0x50, 0x59, 0xcd, 0xba, 0x3a, 0x7a, 0xb0, 0x1f, 0xb2, 0x90, 0xc9, 0xa9, 0xe6,
0xe2, 0x4b, 0xad, 0x3a, 0xd8, 0xd3, 0x1a, 0x7a, 0xb1, 0x0a, 0xd6, 0x74, 0x10, 0x0f, 0x45, 0x4f,
0xfe, 0xa8, 0xb8, 0xf3, 0xa5, 0x00, 0x91, 0x87, 0x39,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, 0xe0, 0xe7, 0xd4, 0x02, 0x1f, 0x67, 0x96,
0x31, 0x9e, 0x59, 0xc6, 0xf7, 0x99, 0x65, 0x9c, 0x3d, 0xf8, 0x63, 0xa7, 0xdf, 0xa8, 0xe7, 0x33,
0x7d, 0x9c, 0x65, 0xe3, 0x3b, 0x45, 0xf9, 0x90, 0x3e, 0xfc, 0x15, 0x00, 0x00, 0xff, 0xff, 0xb4,
0x69, 0xaa, 0x1c, 0xbb, 0x05, 0x00, 0x00,
var fileDescriptor_89e80273ca606d6e = []byte{
// 593 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x95, 0xbf, 0x6f, 0xd3, 0x40,
0x14, 0xc7, 0x7d, 0x49, 0x08, 0xe5, 0x02, 0x4d, 0x6b, 0x9a, 0x60, 0x3a, 0xd8, 0x91, 0xc5, 0x10,
0x21, 0xe1, 0x90, 0xc2, 0x94, 0x0d, 0x17, 0x21, 0x55, 0x65, 0x40, 0x16, 0x62, 0x60, 0x89, 0xfc,
0xe3, 0x70, 0x4e, 0xc4, 0xbe, 0xc8, 0x77, 0xa9, 0xc8, 0x1f, 0x80, 0x84, 0xd4, 0x05, 0x24, 0x06,
0xc6, 0x2e, 0x2c, 0xfc, 0x11, 0xcc, 0x1d, 0x23, 0x26, 0xa6, 0x80, 0x92, 0xff, 0x20, 0x7f, 0x01,
0xf2, 0xdd, 0xd9, 0x01, 0x17, 0x88, 0xca, 0x80, 0xd4, 0x29, 0x79, 0xf7, 0xde, 0xfb, 0xde, 0xe7,
0xbd, 0x7b, 0x77, 0x86, 0xb7, 0x7c, 0x42, 0x23, 0x42, 0x3b, 0x47, 0x88, 0x32, 0x1c, 0x87, 0x9d,
0xa3, 0xae, 0x87, 0x98, 0xdb, 0xcd, 0x6c, 0x6b, 0x94, 0x10, 0x46, 0xd4, 0xa6, 0x88, 0xb2, 0xb2,
0x55, 0x19, 0xb5, 0xbb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 0x34, 0xd8, 0xbf, 0x28, 0x87, 0xaa, 0x86, 0xb0, 0x9e, 0x41,
0x8d, 0x38, 0x3b, 0x95, 0x57, 0x5d, 0xff, 0x13, 0x94, 0x28, 0xd1, 0xd6, 0xe5, 0xf5, 0x6a, 0x0a,
0xf9, 0x82, 0x88, 0xe9, 0x6c, 0xca, 0x15, 0x11, 0x4e, 0x57, 0xa7, 0x66, 0x1f, 0x9e, 0xce, 0x75,
0x30, 0x9d, 0xeb, 0xe0, 0xfb, 0x5c, 0x07, 0x6f, 0x17, 0xba, 0x32, 0x5d, 0xe8, 0xca, 0xd7, 0x85,
0xae, 0x3c, 0xef, 0xfe, 0xb5, 0xf3, 0xaf, 0xe4, 0x2b, 0x2d, 0x3f, 0x0f, 0xfc, 0x20, 0xbc, 0x2a,
0x7f, 0xa7, 0xef, 0xfd, 0x08, 0x00, 0x00, 0xff, 0xff, 0x97, 0xc5, 0xe2, 0xb4, 0x3d, 0x06, 0x00,
0x00,
}
func (m *BaseVestingAccount) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/bank/bank.proto
// source: cosmos/bank/v1beta1/bank.proto
package types
@ -36,7 +36,7 @@ type Params struct {
func (m *Params) Reset() { *m = Params{} }
func (*Params) ProtoMessage() {}
func (*Params) Descriptor() ([]byte, []int) {
return fileDescriptor_717c78e54d4b5794, []int{0}
return fileDescriptor_dd052eee12edf988, []int{0}
}
func (m *Params) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -88,7 +88,7 @@ type SendEnabled struct {
func (m *SendEnabled) Reset() { *m = SendEnabled{} }
func (*SendEnabled) ProtoMessage() {}
func (*SendEnabled) Descriptor() ([]byte, []int) {
return fileDescriptor_717c78e54d4b5794, []int{1}
return fileDescriptor_dd052eee12edf988, []int{1}
}
func (m *SendEnabled) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -131,67 +131,6 @@ func (m *SendEnabled) GetEnabled() bool {
return false
}
// MsgSend - high level transaction of the coin module
type MsgSend struct {
FromAddress github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"from_address,omitempty" yaml:"from_address"`
ToAddress github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"to_address,omitempty" yaml:"to_address"`
Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}
func (m *MsgSend) Reset() { *m = MsgSend{} }
func (m *MsgSend) String() string { return proto.CompactTextString(m) }
func (*MsgSend) ProtoMessage() {}
func (*MsgSend) Descriptor() ([]byte, []int) {
return fileDescriptor_717c78e54d4b5794, []int{2}
}
func (m *MsgSend) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgSend.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgSend) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgSend.Merge(m, src)
}
func (m *MsgSend) XXX_Size() int {
return m.Size()
}
func (m *MsgSend) XXX_DiscardUnknown() {
xxx_messageInfo_MsgSend.DiscardUnknown(m)
}
var xxx_messageInfo_MsgSend proto.InternalMessageInfo
func (m *MsgSend) GetFromAddress() github_com_cosmos_cosmos_sdk_types.AccAddress {
if m != nil {
return m.FromAddress
}
return nil
}
func (m *MsgSend) GetToAddress() github_com_cosmos_cosmos_sdk_types.AccAddress {
if m != nil {
return m.ToAddress
}
return nil
}
func (m *MsgSend) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins {
if m != nil {
return m.Amount
}
return nil
}
// Input models transaction input
type Input struct {
Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"`
@ -202,7 +141,7 @@ func (m *Input) Reset() { *m = Input{} }
func (m *Input) String() string { return proto.CompactTextString(m) }
func (*Input) ProtoMessage() {}
func (*Input) Descriptor() ([]byte, []int) {
return fileDescriptor_717c78e54d4b5794, []int{3}
return fileDescriptor_dd052eee12edf988, []int{2}
}
func (m *Input) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -255,7 +194,7 @@ func (m *Output) Reset() { *m = Output{} }
func (m *Output) String() string { return proto.CompactTextString(m) }
func (*Output) ProtoMessage() {}
func (*Output) Descriptor() ([]byte, []int) {
return fileDescriptor_717c78e54d4b5794, []int{4}
return fileDescriptor_dd052eee12edf988, []int{3}
}
func (m *Output) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -298,59 +237,6 @@ func (m *Output) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins {
return nil
}
// MsgMultiSend - high level transaction of the coin module
type MsgMultiSend struct {
Inputs []Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs"`
Outputs []Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs"`
}
func (m *MsgMultiSend) Reset() { *m = MsgMultiSend{} }
func (m *MsgMultiSend) String() string { return proto.CompactTextString(m) }
func (*MsgMultiSend) ProtoMessage() {}
func (*MsgMultiSend) Descriptor() ([]byte, []int) {
return fileDescriptor_717c78e54d4b5794, []int{5}
}
func (m *MsgMultiSend) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgMultiSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgMultiSend.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgMultiSend) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgMultiSend.Merge(m, src)
}
func (m *MsgMultiSend) XXX_Size() int {
return m.Size()
}
func (m *MsgMultiSend) XXX_DiscardUnknown() {
xxx_messageInfo_MsgMultiSend.DiscardUnknown(m)
}
var xxx_messageInfo_MsgMultiSend proto.InternalMessageInfo
func (m *MsgMultiSend) GetInputs() []Input {
if m != nil {
return m.Inputs
}
return nil
}
func (m *MsgMultiSend) GetOutputs() []Output {
if m != nil {
return m.Outputs
}
return nil
}
// Supply represents a struct that passively keeps track of the total supply
// amounts in the network.
type Supply struct {
@ -360,7 +246,7 @@ type Supply struct {
func (m *Supply) Reset() { *m = Supply{} }
func (*Supply) ProtoMessage() {}
func (*Supply) Descriptor() ([]byte, []int) {
return fileDescriptor_717c78e54d4b5794, []int{6}
return fileDescriptor_dd052eee12edf988, []int{4}
}
func (m *Supply) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -401,7 +287,7 @@ func (m *DenomUnits) Reset() { *m = DenomUnits{} }
func (m *DenomUnits) String() string { return proto.CompactTextString(m) }
func (*DenomUnits) ProtoMessage() {}
func (*DenomUnits) Descriptor() ([]byte, []int) {
return fileDescriptor_717c78e54d4b5794, []int{7}
return fileDescriptor_dd052eee12edf988, []int{5}
}
func (m *DenomUnits) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -464,7 +350,7 @@ func (m *Metadata) Reset() { *m = Metadata{} }
func (m *Metadata) String() string { return proto.CompactTextString(m) }
func (*Metadata) ProtoMessage() {}
func (*Metadata) Descriptor() ([]byte, []int) {
return fileDescriptor_717c78e54d4b5794, []int{8}
return fileDescriptor_dd052eee12edf988, []int{6}
}
func (m *Metadata) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -522,65 +408,56 @@ func (m *Metadata) GetDisplay() string {
}
func init() {
proto.RegisterType((*Params)(nil), "cosmos.bank.Params")
proto.RegisterType((*SendEnabled)(nil), "cosmos.bank.SendEnabled")
proto.RegisterType((*MsgSend)(nil), "cosmos.bank.MsgSend")
proto.RegisterType((*Input)(nil), "cosmos.bank.Input")
proto.RegisterType((*Output)(nil), "cosmos.bank.Output")
proto.RegisterType((*MsgMultiSend)(nil), "cosmos.bank.MsgMultiSend")
proto.RegisterType((*Supply)(nil), "cosmos.bank.Supply")
proto.RegisterType((*DenomUnits)(nil), "cosmos.bank.DenomUnits")
proto.RegisterType((*Metadata)(nil), "cosmos.bank.Metadata")
proto.RegisterType((*Params)(nil), "cosmos.bank.v1beta1.Params")
proto.RegisterType((*SendEnabled)(nil), "cosmos.bank.v1beta1.SendEnabled")
proto.RegisterType((*Input)(nil), "cosmos.bank.v1beta1.Input")
proto.RegisterType((*Output)(nil), "cosmos.bank.v1beta1.Output")
proto.RegisterType((*Supply)(nil), "cosmos.bank.v1beta1.Supply")
proto.RegisterType((*DenomUnits)(nil), "cosmos.bank.v1beta1.DenomUnits")
proto.RegisterType((*Metadata)(nil), "cosmos.bank.v1beta1.Metadata")
}
func init() { proto.RegisterFile("cosmos/bank/bank.proto", fileDescriptor_717c78e54d4b5794) }
func init() { proto.RegisterFile("cosmos/bank/v1beta1/bank.proto", fileDescriptor_dd052eee12edf988) }
var fileDescriptor_717c78e54d4b5794 = []byte{
// 697 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x55, 0xcf, 0x6b, 0x13, 0x4d,
0x18, 0xce, 0xa6, 0x69, 0x92, 0xbe, 0xc9, 0x77, 0xf8, 0xa6, 0xe5, 0xfb, 0xd6, 0x82, 0xd9, 0xb8,
0x20, 0xa4, 0x62, 0x37, 0xd5, 0x22, 0x48, 0x6e, 0x4d, 0xad, 0x5a, 0x24, 0x28, 0x5b, 0x15, 0x51,
0x30, 0x4c, 0xb2, 0xd3, 0xb8, 0x74, 0x77, 0x67, 0xc9, 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4, 0xf3, 0xfe, 0x3f, 0x33, 0xef, 0xa9, 0x51, 0x1b, 0x9c, 0xa9,
0x69, 0x04, 0x85, 0x1e, 0x66, 0x44, 0x9f, 0x91, 0xa4, 0xf2, 0x5b, 0xd8, 0x72, 0x5c, 0x16, 0x7a,
0x78, 0xa4, 0x17, 0x64, 0x3a, 0x09, 0xdb, 0xeb, 0xfb, 0x87, 0x35, 0xed, 0xe0, 0xb0, 0xa6, 0x7d,
0x3a, 0xac, 0x69, 0x4f, 0x8f, 0x6a, 0xb9, 0x83, 0xa3, 0x5a, 0xee, 0xc3, 0x51, 0x2d, 0x77, 0x7f,
0xe9, 0x24, 0x03, 0x94, 0x37, 0xd1, 0x2b, 0xca, 0x5f, 0x87, 0xd5, 0xaf, 0x01, 0x00, 0x00, 0xff,
0xff, 0xde, 0xcf, 0x77, 0x95, 0x8a, 0x06, 0x00, 0x00,
var fileDescriptor_dd052eee12edf988 = []byte{
// 586 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x54, 0xbf, 0x6f, 0xd3, 0x4e,
0x14, 0xf7, 0x35, 0x69, 0x9a, 0x5e, 0xfa, 0x5d, 0xfc, 0xcd, 0xe0, 0x46, 0xc2, 0x36, 0x96, 0x90,
0x52, 0x44, 0x1c, 0x02, 0x62, 0xc9, 0x44, 0x53, 0x2a, 0x54, 0x21, 0x04, 0x72, 0x85, 0x84, 0x60,
0x88, 0x2e, 0xbe, 0x6b, 0xb0, 0x6a, 0xdf, 0x59, 0xb9, 0x33, 0x6a, 0xfe, 0x03, 0x46, 0x46, 0x06,
0x86, 0xcc, 0x8c, 0x88, 0x15, 0xe6, 0x8e, 0x15, 0x2c, 0x4c, 0x01, 0x25, 0x0b, 0x73, 0x47, 0x26,
0x74, 0x77, 0xce, 0x8f, 0x4a, 0x01, 0x75, 0x60, 0x61, 0x8a, 0xdf, 0x7b, 0x9f, 0xf7, 0xf9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 0x99, 0x28, 0x8e, 0x10,
0x27, 0xdc, 0x2a, 0xb8, 0x85, 0xfa, 0x66, 0x30, 0x0b, 0xbd, 0xb7, 0x00, 0x96, 0x1f, 0x12, 0x81,
0x30, 0x12, 0xc8, 0x74, 0x61, 0x05, 0x13, 0x1e, 0x0e, 0xa2, 0x54, 0x44, 0x8c, 0xe6, 0xf4, 0xcb,
0x29, 0xf3, 0xae, 0x44, 0x50, 0x96, 0x74, 0x33, 0xe9, 0x24, 0x5f, 0x96, 0xb3, 0xf2, 0x8d, 0x5e,
0x18, 0x0e, 0x20, 0x5e, 0x98, 0x37, 0x61, 0x51, 0xce, 0xd7, 0x2a, 0x28, 0x72, 0xf5, 0x2c, 0xed,
0xe1, 0x88, 0xa7, 0x31, 0x1a, 0x5a, 0x45, 0x95, 0x9e, 0x85, 0x9d, 0xbd, 0xd3, 0x89, 0x0d, 0xce,
0x26, 0x36, 0xf8, 0x3e, 0xb1, 0xc1, 0xeb, 0xa9, 0x6d, 0x9c, 0x4d, 0x6d, 0xe3, 0xeb, 0xd4, 0x36,
0x9e, 0xed, 0x5c, 0x66, 0x90, 0x6a, 0x23, 0xbd, 0x92, 0xfa, 0x32, 0xdd, 0xfe, 0x15, 0x00, 0x00,
0xff, 0xff, 0xe3, 0xc7, 0xfe, 0xdc, 0x21, 0x05, 0x00, 0x00,
}
func (this *SendEnabled) Equal(that interface{}) bool {
@ -610,41 +487,6 @@ func (this *SendEnabled) Equal(that interface{}) bool {
}
return true
}
func (this *MsgSend) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*MsgSend)
if !ok {
that2, ok := that.(MsgSend)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if !bytes.Equal(this.FromAddress, that1.FromAddress) {
return false
}
if !bytes.Equal(this.ToAddress, that1.ToAddress) {
return false
}
if len(this.Amount) != len(that1.Amount) {
return false
}
for i := range this.Amount {
if !this.Amount[i].Equal(&that1.Amount[i]) {
return false
}
}
return true
}
func (this *Input) Equal(that interface{}) bool {
if that == nil {
return this == nil
@ -709,43 +551,6 @@ func (this *Output) Equal(that interface{}) bool {
}
return true
}
func (this *MsgMultiSend) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*MsgMultiSend)
if !ok {
that2, ok := that.(MsgMultiSend)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if len(this.Inputs) != len(that1.Inputs) {
return false
}
for i := range this.Inputs {
if !this.Inputs[i].Equal(&that1.Inputs[i]) {
return false
}
}
if len(this.Outputs) != len(that1.Outputs) {
return false
}
for i := range this.Outputs {
if !this.Outputs[i].Equal(&that1.Outputs[i]) {
return false
}
}
return true
}
func (this *Supply) Equal(that interface{}) bool {
if that == nil {
return this == nil
@ -862,57 +667,6 @@ func (m *SendEnabled) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
func (m *MsgSend) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *MsgSend) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *MsgSend) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if len(m.Amount) > 0 {
for iNdEx := len(m.Amount) - 1; iNdEx >= 0; iNdEx-- {
{
size, err := m.Amount[iNdEx].MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintBank(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
}
if len(m.ToAddress) > 0 {
i -= len(m.ToAddress)
copy(dAtA[i:], m.ToAddress)
i = encodeVarintBank(dAtA, i, uint64(len(m.ToAddress)))
i--
dAtA[i] = 0x12
}
if len(m.FromAddress) > 0 {
i -= len(m.FromAddress)
copy(dAtA[i:], m.FromAddress)
i = encodeVarintBank(dAtA, i, uint64(len(m.FromAddress)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *Input) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@ -1001,57 +755,6 @@ func (m *Output) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
func (m *MsgMultiSend) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *MsgMultiSend) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *MsgMultiSend) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if len(m.Outputs) > 0 {
for iNdEx := len(m.Outputs) - 1; iNdEx >= 0; iNdEx-- {
{
size, err := m.Outputs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintBank(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
}
if len(m.Inputs) > 0 {
for iNdEx := len(m.Inputs) - 1; iNdEx >= 0; iNdEx-- {
{
size, err := m.Inputs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintBank(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
}
return len(dAtA) - i, nil
}
func (m *Supply) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@ -1236,29 +939,6 @@ func (m *SendEnabled) Size() (n int) {
return n
}
func (m *MsgSend) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.FromAddress)
if l > 0 {
n += 1 + l + sovBank(uint64(l))
}
l = len(m.ToAddress)
if l > 0 {
n += 1 + l + sovBank(uint64(l))
}
if len(m.Amount) > 0 {
for _, e := range m.Amount {
l = e.Size()
n += 1 + l + sovBank(uint64(l))
}
}
return n
}
func (m *Input) Size() (n int) {
if m == nil {
return 0
@ -1297,27 +977,6 @@ func (m *Output) Size() (n int) {
return n
}
func (m *MsgMultiSend) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if len(m.Inputs) > 0 {
for _, e := range m.Inputs {
l = e.Size()
n += 1 + l + sovBank(uint64(l))
}
}
if len(m.Outputs) > 0 {
for _, e := range m.Outputs {
l = e.Size()
n += 1 + l + sovBank(uint64(l))
}
}
return n
}
func (m *Supply) Size() (n int) {
if m == nil {
return 0
@ -1600,161 +1259,6 @@ func (m *SendEnabled) Unmarshal(dAtA []byte) error {
}
return nil
}
func (m *MsgSend) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowBank
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: MsgSend: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: MsgSend: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field FromAddress", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowBank
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthBank
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthBank
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.FromAddress = append(m.FromAddress[:0], dAtA[iNdEx:postIndex]...)
if m.FromAddress == nil {
m.FromAddress = []byte{}
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ToAddress", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowBank
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthBank
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthBank
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.ToAddress = append(m.ToAddress[:0], dAtA[iNdEx:postIndex]...)
if m.ToAddress == nil {
m.ToAddress = []byte{}
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowBank
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthBank
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthBank
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Amount = append(m.Amount, types.Coin{})
if err := m.Amount[len(m.Amount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipBank(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthBank
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthBank
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *Input) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@ -1997,127 +1501,6 @@ func (m *Output) Unmarshal(dAtA []byte) error {
}
return nil
}
func (m *MsgMultiSend) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowBank
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: MsgMultiSend: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: MsgMultiSend: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Inputs", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowBank
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthBank
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthBank
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Inputs = append(m.Inputs, Input{})
if err := m.Inputs[len(m.Inputs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Outputs", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowBank
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthBank
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthBank
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Outputs = append(m.Outputs, Output{})
if err := m.Outputs[len(m.Outputs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipBank(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthBank
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthBank
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *Supply) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0

View File

@ -24,7 +24,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
)
registry.RegisterInterface(
"cosmos_sdk.bank.v1.bank",
"cosmos.bank.v1beta1.SupplyI",
(*exported.SupplyI)(nil),
&Supply{},
)

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/bank/genesis.proto
// source: cosmos/bank/v1beta1/genesis.proto
package types
@ -37,7 +37,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_f22ff2f01147af72, []int{0}
return fileDescriptor_8f007de11b420c6e, []int{0}
}
func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -105,7 +105,7 @@ func (m *Balance) Reset() { *m = Balance{} }
func (m *Balance) String() string { return proto.CompactTextString(m) }
func (*Balance) ProtoMessage() {}
func (*Balance) Descriptor() ([]byte, []int) {
return fileDescriptor_f22ff2f01147af72, []int{1}
return fileDescriptor_8f007de11b420c6e, []int{1}
}
func (m *Balance) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -135,39 +135,40 @@ func (m *Balance) XXX_DiscardUnknown() {
var xxx_messageInfo_Balance proto.InternalMessageInfo
func init() {
proto.RegisterType((*GenesisState)(nil), "cosmos.bank.GenesisState")
proto.RegisterType((*Balance)(nil), "cosmos.bank.Balance")
proto.RegisterType((*GenesisState)(nil), "cosmos.bank.v1beta1.GenesisState")
proto.RegisterType((*Balance)(nil), "cosmos.bank.v1beta1.Balance")
}
func init() { proto.RegisterFile("cosmos/bank/genesis.proto", fileDescriptor_f22ff2f01147af72) }
func init() { proto.RegisterFile("cosmos/bank/v1beta1/genesis.proto", fileDescriptor_8f007de11b420c6e) }
var fileDescriptor_f22ff2f01147af72 = []byte{
// 391 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x4a, 0xcc, 0xcb, 0xd6, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6,
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0x48, 0xe9, 0x81, 0xa4, 0xa4, 0x44, 0xd2, 0xf3,
0xd3, 0xf3, 0xc1, 0xe2, 0xfa, 0x20, 0x16, 0x44, 0x89, 0x94, 0x30, 0x54, 0x37, 0x54, 0x25, 0x44,
0x50, 0x0c, 0xd9, 0x48, 0x10, 0x01, 0x11, 0x57, 0x3a, 0xcf, 0xc4, 0xc5, 0xe3, 0x0e, 0xb1, 0x21,
0xb8, 0x24, 0xb1, 0x24, 0x55, 0xc8, 0x9a, 0x8b, 0xad, 0x20, 0xb1, 0x28, 0x31, 0xb7, 0x58, 0x82,
0x51, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x58, 0x0f, 0xc9, 0x46, 0xbd, 0x00, 0xb0, 0x94, 0x13, 0xdf,
0x89, 0x7b, 0xf2, 0x0c, 0xbf, 0xee, 0xc9, 0xb3, 0x41, 0xf8, 0x41, 0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0x34, 0x06, 0xc1, 0x4c, 0x10, 0x0a, 0xe1, 0x62, 0x4d, 0x06, 0x79,
0x09, 0x1a, 0xb2, 0x94, 0x06, 0x0c, 0xc4, 0x30, 0x2b, 0x96, 0x8e, 0x05, 0xf2, 0x0c, 0x4e, 0xce,
0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72,
0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xa5, 0x89, 0xd7, 0xc0, 0x0a, 0x48,
0x82, 0x02, 0x9b, 0x9b, 0xc4, 0x06, 0x4e, 0x52, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6f,
0xbb, 0xec, 0xe0, 0xbf, 0x02, 0x00, 0x00,
var fileDescriptor_8f007de11b420c6e = []byte{
// 415 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0x31, 0x6f, 0xda, 0x40,
0x14, 0x80, 0x6d, 0xa0, 0x06, 0x1d, 0x94, 0x4a, 0x6e, 0x2b, 0xb9, 0xb4, 0xb5, 0xa9, 0x27, 0x18,
0xb0, 0x0b, 0xdd, 0xd8, 0x30, 0x43, 0x55, 0x55, 0x91, 0x22, 0x67, 0xcb, 0x12, 0x9d, 0xed, 0x93,
0x63, 0x81, 0x7d, 0x16, 0x77, 0x44, 0xe1, 0x1f, 0x64, 0xcc, 0x4f, 0xc8, 0x9c, 0x3f, 0x91, 0x95,
0x91, 0x31, 0x93, 0x13, 0xc1, 0x3f, 0x88, 0x32, 0x31, 0x45, 0xbe, 0xb3, 0x9d, 0x44, 0x41, 0x51,
0x86, 0x4c, 0xf6, 0xf9, 0x7d, 0xef, 0x7b, 0xf7, 0x9e, 0x1f, 0xf8, 0xe5, 0x62, 0x12, 0x62, 0x62,
0x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 0xa1, 0x07, 0x29, 0x54, 0x2a, 0xac, 0xd8,
0xcf, 0x9d, 0xb7, 0xde, 0xcb, 0x20, 0xab, 0x9b, 0x16, 0xbc, 0x4b, 0xb4, 0xaf, 0x0b, 0x18, 0x4e,
0x87, 0xfa, 0x73, 0x85, 0xbe, 0x4d, 0xb4, 0x5a, 0x8e, 0xda, 0x1f, 0x59, 0x30, 0x3f, 0xea, 0x57,
0x22, 0xc8, 0x7b, 0x95, 0xff, 0x83, 0x2a, 0xf4, 0xbc, 0x19, 0x22, 0x7c, 0xe4, 0x0d, 0xab, 0xbf,
0x4d, 0xb4, 0xde, 0x1b, 0x7a, 0x18, 0xb9, 0xee, 0x88, 0x27, 0xda, 0xb9, 0x41, 0x86, 0xe0, 0x43,
0xfa, 0xf7, 0xf3, 0xb1, 0xbf, 0xeb, 0xb4, 0xb8, 0x79, 0x58, 0x39, 0xbb, 0xd0, 0x04, 0x6b, 0xbc,
0x5c, 0xab, 0xe2, 0x6a, 0xad, 0x8a, 0xb7, 0x6b, 0x55, 0x3c, 0xdf, 0xa8, 0xc2, 0x6a, 0xa3, 0x0a,
0xd7, 0x1b, 0x55, 0x38, 0xec, 0xbe, 0x2a, 0x3c, 0xe5, 0xab, 0xc8, 0xbc, 0x8e, 0xc4, 0x96, 0xf0,
0xcf, 0x43, 0x00, 0x00, 0x00, 0xff, 0xff, 0x71, 0xf1, 0xcb, 0x90, 0x14, 0x03, 0x00, 0x00,
}
func (m *GenesisState) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/bank/query.proto
// source: cosmos/bank/v1beta1/query.proto
package types
@ -43,7 +43,7 @@ func (m *QueryBalanceRequest) Reset() { *m = QueryBalanceRequest{} }
func (m *QueryBalanceRequest) String() string { return proto.CompactTextString(m) }
func (*QueryBalanceRequest) ProtoMessage() {}
func (*QueryBalanceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_1b02ea4db7d9aa9f, []int{0}
return fileDescriptor_9c6fc1939682df13, []int{0}
}
func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -96,7 +96,7 @@ func (m *QueryBalanceResponse) Reset() { *m = QueryBalanceResponse{} }
func (m *QueryBalanceResponse) String() string { return proto.CompactTextString(m) }
func (*QueryBalanceResponse) ProtoMessage() {}
func (*QueryBalanceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_1b02ea4db7d9aa9f, []int{1}
return fileDescriptor_9c6fc1939682df13, []int{1}
}
func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -144,7 +144,7 @@ func (m *QueryAllBalancesRequest) Reset() { *m = QueryAllBalancesRequest
func (m *QueryAllBalancesRequest) String() string { return proto.CompactTextString(m) }
func (*QueryAllBalancesRequest) ProtoMessage() {}
func (*QueryAllBalancesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_1b02ea4db7d9aa9f, []int{2}
return fileDescriptor_9c6fc1939682df13, []int{2}
}
func (m *QueryAllBalancesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -199,7 +199,7 @@ func (m *QueryAllBalancesResponse) Reset() { *m = QueryAllBalancesRespon
func (m *QueryAllBalancesResponse) String() string { return proto.CompactTextString(m) }
func (*QueryAllBalancesResponse) ProtoMessage() {}
func (*QueryAllBalancesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_1b02ea4db7d9aa9f, []int{3}
return fileDescriptor_9c6fc1939682df13, []int{3}
}
func (m *QueryAllBalancesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -250,7 +250,7 @@ func (m *QueryTotalSupplyRequest) Reset() { *m = QueryTotalSupplyRequest
func (m *QueryTotalSupplyRequest) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyRequest) ProtoMessage() {}
func (*QueryTotalSupplyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_1b02ea4db7d9aa9f, []int{4}
return fileDescriptor_9c6fc1939682df13, []int{4}
}
func (m *QueryTotalSupplyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -289,7 +289,7 @@ func (m *QueryTotalSupplyResponse) Reset() { *m = QueryTotalSupplyRespon
func (m *QueryTotalSupplyResponse) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyResponse) ProtoMessage() {}
func (*QueryTotalSupplyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_1b02ea4db7d9aa9f, []int{5}
return fileDescriptor_9c6fc1939682df13, []int{5}
}
func (m *QueryTotalSupplyResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -335,7 +335,7 @@ func (m *QuerySupplyOfRequest) Reset() { *m = QuerySupplyOfRequest{} }
func (m *QuerySupplyOfRequest) String() string { return proto.CompactTextString(m) }
func (*QuerySupplyOfRequest) ProtoMessage() {}
func (*QuerySupplyOfRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_1b02ea4db7d9aa9f, []int{6}
return fileDescriptor_9c6fc1939682df13, []int{6}
}
func (m *QuerySupplyOfRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -381,7 +381,7 @@ func (m *QuerySupplyOfResponse) Reset() { *m = QuerySupplyOfResponse{} }
func (m *QuerySupplyOfResponse) String() string { return proto.CompactTextString(m) }
func (*QuerySupplyOfResponse) ProtoMessage() {}
func (*QuerySupplyOfResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_1b02ea4db7d9aa9f, []int{7}
return fileDescriptor_9c6fc1939682df13, []int{7}
}
func (m *QuerySupplyOfResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -411,53 +411,54 @@ func (m *QuerySupplyOfResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_QuerySupplyOfResponse proto.InternalMessageInfo
func init() {
proto.RegisterType((*QueryBalanceRequest)(nil), "cosmos.bank.QueryBalanceRequest")
proto.RegisterType((*QueryBalanceResponse)(nil), "cosmos.bank.QueryBalanceResponse")
proto.RegisterType((*QueryAllBalancesRequest)(nil), "cosmos.bank.QueryAllBalancesRequest")
proto.RegisterType((*QueryAllBalancesResponse)(nil), "cosmos.bank.QueryAllBalancesResponse")
proto.RegisterType((*QueryTotalSupplyRequest)(nil), "cosmos.bank.QueryTotalSupplyRequest")
proto.RegisterType((*QueryTotalSupplyResponse)(nil), "cosmos.bank.QueryTotalSupplyResponse")
proto.RegisterType((*QuerySupplyOfRequest)(nil), "cosmos.bank.QuerySupplyOfRequest")
proto.RegisterType((*QuerySupplyOfResponse)(nil), "cosmos.bank.QuerySupplyOfResponse")
proto.RegisterType((*QueryBalanceRequest)(nil), "cosmos.bank.v1beta1.QueryBalanceRequest")
proto.RegisterType((*QueryBalanceResponse)(nil), "cosmos.bank.v1beta1.QueryBalanceResponse")
proto.RegisterType((*QueryAllBalancesRequest)(nil), "cosmos.bank.v1beta1.QueryAllBalancesRequest")
proto.RegisterType((*QueryAllBalancesResponse)(nil), "cosmos.bank.v1beta1.QueryAllBalancesResponse")
proto.RegisterType((*QueryTotalSupplyRequest)(nil), "cosmos.bank.v1beta1.QueryTotalSupplyRequest")
proto.RegisterType((*QueryTotalSupplyResponse)(nil), "cosmos.bank.v1beta1.QueryTotalSupplyResponse")
proto.RegisterType((*QuerySupplyOfRequest)(nil), "cosmos.bank.v1beta1.QuerySupplyOfRequest")
proto.RegisterType((*QuerySupplyOfResponse)(nil), "cosmos.bank.v1beta1.QuerySupplyOfResponse")
}
func init() { proto.RegisterFile("cosmos/bank/query.proto", fileDescriptor_1b02ea4db7d9aa9f) }
func init() { proto.RegisterFile("cosmos/bank/v1beta1/query.proto", fileDescriptor_9c6fc1939682df13) }
var fileDescriptor_1b02ea4db7d9aa9f = []byte{
// 521 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x3f, 0x6f, 0xd3, 0x40,
0x1c, 0x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0xae, 0x93, 0xc9, 0xfb, 0x3e, 0x6b, 0x3f, 0xb8, 0xa2, 0x3c, 0x4f, 0x93, 0xf5, 0x7e,
0x6d, 0xc0, 0xa6, 0x1c, 0x88, 0x0f, 0xa1, 0xae, 0x23, 0xc6, 0x1d, 0xbb, 0xf0, 0xb1, 0xda, 0x15,
0xdf, 0x97, 0x79, 0x67, 0x0d, 0x42, 0x09, 0x26, 0x06, 0x7e, 0x0f, 0x8d, 0x42, 0x6f, 0xf0, 0xdd,
0xf2, 0x99, 0x72, 0xf5, 0xcd, 0x7b, 0xff, 0x40, 0x15, 0xd9, 0x0b, 0x31, 0x56, 0xb1, 0x97, 0x0b,
0x50, 0xc5, 0x5e, 0xd1, 0x05, 0x62, 0xe0, 0x23, 0xd8, 0xca, 0x23, 0xc0, 0x15, 0x66, 0x57, 0xc2,
0x34, 0xc9, 0x3a, 0x48, 0x4e, 0xea, 0x1e, 0x9c, 0xcf, 0x2d, 0x74, 0x31, 0xb7, 0xd0, 0xcf, 0xb9,
0x85, 0x3e, 0x2d, 0x2c, 0xe3, 0x62, 0x61, 0x19, 0xdf, 0x16, 0x96, 0x71, 0xfc, 0x70, 0x6d, 0x6e,
0x67, 0xea, 0x77, 0x2a, 0xe3, 0x1b, 0xd4, 0xe4, 0x8f, 0xef, 0xe9, 0x9f, 0x00, 0x00, 0x00, 0xff,
0xff, 0xd4, 0x4d, 0xf4, 0x62, 0x6a, 0x05, 0x00, 0x00,
var fileDescriptor_9c6fc1939682df13 = []byte{
// 544 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x31, 0x72, 0xd3, 0x40,
0x14, 0x95, 0xc8, 0xc4, 0x0e, 0xdf, 0x54, 0x1b, 0x33, 0x38, 0x2e, 0xa4, 0x8c, 0x0a, 0xe2, 0x64,
0x62, 0x09, 0x3b, 0x27, 0xb0, 0x32, 0x03, 0x45, 0x0a, 0x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, 0x41, 0xcd, 0x59,
0x1d, 0xc1, 0x3c, 0xbc, 0xda, 0x82, 0xed, 0xbc, 0x3b, 0x7a, 0x0f, 0x4d, 0x11, 0x0b, 0xd4, 0x33,
0x37, 0x5c, 0x0d, 0xe6, 0x86, 0xb7, 0xb6, 0x7b, 0x58, 0x03, 0xc9, 0xd5, 0x18, 0x0a, 0x0a, 0xa1,
0x55, 0xca, 0x1e, 0x3a, 0xfe, 0x7f, 0xed, 0xfa, 0x3b, 0xd5, 0xed, 0xd7, 0x44, 0x97, 0xbb, 0x95,
0x02, 0x50, 0xd5, 0x6d, 0x3d, 0x42, 0x55, 0xdd, 0x36, 0xa4, 0xca, 0x50, 0x90, 0x07, 0x3b, 0x72,
0x7f, 0xa8, 0xc2, 0x94, 0x5b, 0x89, 0xe8, 0x1e, 0xd5, 0x81, 0xca, 0x26, 0xf6, 0xe9, 0xf5, 0x42,
0x53, 0x6f, 0x16, 0x9a, 0xfa, 0x7b, 0xa1, 0xa9, 0x5f, 0x97, 0x9a, 0x72, 0xb3, 0xd4, 0x94, 0x1f,
0x4b, 0x4d, 0x79, 0x77, 0x58, 0xb9, 0xf7, 0x4b, 0xfe, 0x27, 0x90, 0xaf, 0xdf, 0x6d, 0xe4, 0xd7,
0xf0, 0xc9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x74, 0xd8, 0x3c, 0x1b, 0x20, 0x06, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -492,7 +493,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) {
out := new(QueryBalanceResponse)
err := c.cc.Invoke(ctx, "/cosmos.bank.Query/Balance", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.bank.v1beta1.Query/Balance", in, out, opts...)
if err != nil {
return nil, err
}
@ -501,7 +502,7 @@ func (c *queryClient) Balance(ctx context.Context, in *QueryBalanceRequest, opts
func (c *queryClient) AllBalances(ctx context.Context, in *QueryAllBalancesRequest, opts ...grpc.CallOption) (*QueryAllBalancesResponse, error) {
out := new(QueryAllBalancesResponse)
err := c.cc.Invoke(ctx, "/cosmos.bank.Query/AllBalances", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.bank.v1beta1.Query/AllBalances", in, out, opts...)
if err != nil {
return nil, err
}
@ -510,7 +511,7 @@ func (c *queryClient) AllBalances(ctx context.Context, in *QueryAllBalancesReque
func (c *queryClient) TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) {
out := new(QueryTotalSupplyResponse)
err := c.cc.Invoke(ctx, "/cosmos.bank.Query/TotalSupply", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.bank.v1beta1.Query/TotalSupply", in, out, opts...)
if err != nil {
return nil, err
}
@ -519,7 +520,7 @@ func (c *queryClient) TotalSupply(ctx context.Context, in *QueryTotalSupplyReque
func (c *queryClient) SupplyOf(ctx context.Context, in *QuerySupplyOfRequest, opts ...grpc.CallOption) (*QuerySupplyOfResponse, error) {
out := new(QuerySupplyOfResponse)
err := c.cc.Invoke(ctx, "/cosmos.bank.Query/SupplyOf", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.bank.v1beta1.Query/SupplyOf", in, out, opts...)
if err != nil {
return nil, err
}
@ -569,7 +570,7 @@ func _Query_Balance_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.bank.Query/Balance",
FullMethod: "/cosmos.bank.v1beta1.Query/Balance",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Balance(ctx, req.(*QueryBalanceRequest))
@ -587,7 +588,7 @@ func _Query_AllBalances_Handler(srv interface{}, ctx context.Context, dec func(i
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.bank.Query/AllBalances",
FullMethod: "/cosmos.bank.v1beta1.Query/AllBalances",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AllBalances(ctx, req.(*QueryAllBalancesRequest))
@ -605,7 +606,7 @@ func _Query_TotalSupply_Handler(srv interface{}, ctx context.Context, dec func(i
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.bank.Query/TotalSupply",
FullMethod: "/cosmos.bank.v1beta1.Query/TotalSupply",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TotalSupply(ctx, req.(*QueryTotalSupplyRequest))
@ -623,7 +624,7 @@ func _Query_SupplyOf_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.bank.Query/SupplyOf",
FullMethod: "/cosmos.bank.v1beta1.Query/SupplyOf",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).SupplyOf(ctx, req.(*QuerySupplyOfRequest))
@ -632,7 +633,7 @@ func _Query_SupplyOf_Handler(srv interface{}, ctx context.Context, dec func(inte
}
var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.bank.Query",
ServiceName: "cosmos.bank.v1beta1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -653,7 +654,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/bank/query.proto",
Metadata: "cosmos/bank/v1beta1/query.proto",
}
func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error) {

772
x/bank/types/tx.pb.go Normal file
View File

@ -0,0 +1,772 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/bank/v1beta1/tx.proto
package types
import (
bytes "bytes"
fmt "fmt"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
io "io"
math "math"
math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// MsgSend - high level transaction of the coin module
type MsgSend struct {
FromAddress github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"from_address,omitempty" yaml:"from_address"`
ToAddress github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"to_address,omitempty" yaml:"to_address"`
Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}
func (m *MsgSend) Reset() { *m = MsgSend{} }
func (m *MsgSend) String() string { return proto.CompactTextString(m) }
func (*MsgSend) ProtoMessage() {}
func (*MsgSend) Descriptor() ([]byte, []int) {
return fileDescriptor_1d8cb1613481f5b7, []int{0}
}
func (m *MsgSend) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgSend.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgSend) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgSend.Merge(m, src)
}
func (m *MsgSend) XXX_Size() int {
return m.Size()
}
func (m *MsgSend) XXX_DiscardUnknown() {
xxx_messageInfo_MsgSend.DiscardUnknown(m)
}
var xxx_messageInfo_MsgSend proto.InternalMessageInfo
func (m *MsgSend) GetFromAddress() github_com_cosmos_cosmos_sdk_types.AccAddress {
if m != nil {
return m.FromAddress
}
return nil
}
func (m *MsgSend) GetToAddress() github_com_cosmos_cosmos_sdk_types.AccAddress {
if m != nil {
return m.ToAddress
}
return nil
}
func (m *MsgSend) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins {
if m != nil {
return m.Amount
}
return nil
}
// MsgMultiSend - high level transaction of the coin module
type MsgMultiSend struct {
Inputs []Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs"`
Outputs []Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs"`
}
func (m *MsgMultiSend) Reset() { *m = MsgMultiSend{} }
func (m *MsgMultiSend) String() string { return proto.CompactTextString(m) }
func (*MsgMultiSend) ProtoMessage() {}
func (*MsgMultiSend) Descriptor() ([]byte, []int) {
return fileDescriptor_1d8cb1613481f5b7, []int{1}
}
func (m *MsgMultiSend) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgMultiSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgMultiSend.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgMultiSend) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgMultiSend.Merge(m, src)
}
func (m *MsgMultiSend) XXX_Size() int {
return m.Size()
}
func (m *MsgMultiSend) XXX_DiscardUnknown() {
xxx_messageInfo_MsgMultiSend.DiscardUnknown(m)
}
var xxx_messageInfo_MsgMultiSend proto.InternalMessageInfo
func (m *MsgMultiSend) GetInputs() []Input {
if m != nil {
return m.Inputs
}
return nil
}
func (m *MsgMultiSend) GetOutputs() []Output {
if m != nil {
return m.Outputs
}
return nil
}
func init() {
proto.RegisterType((*MsgSend)(nil), "cosmos.bank.v1beta1.MsgSend")
proto.RegisterType((*MsgMultiSend)(nil), "cosmos.bank.v1beta1.MsgMultiSend")
}
func init() { proto.RegisterFile("cosmos/bank/v1beta1/tx.proto", fileDescriptor_1d8cb1613481f5b7) }
var fileDescriptor_1d8cb1613481f5b7 = []byte{
// 383 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x4a, 0xcc, 0xcb, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4,
0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0xc8, 0xea, 0x81, 0x64, 0xf5,
0xa0, 0xb2, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0x79, 0x7d, 0x10, 0x0b, 0xa2, 0x54, 0x4a,
0x0e, 0x6e, 0x50, 0x71, 0x2a, 0xdc, 0xa0, 0xe4, 0xfc, 0xcc, 0x3c, 0x0c, 0x79, 0x24, 0x8b, 0xc0,
0xe6, 0x82, 0xe5, 0x95, 0x4e, 0x30, 0x71, 0xb1, 0xfb, 0x16, 0xa7, 0x07, 0xa7, 0xe6, 0xa5, 0x08,
0x65, 0x73, 0xf1, 0xa4, 0x15, 0xe5, 0xe7, 0xc6, 0x27, 0xa6, 0xa4, 0x14, 0xa5, 0x16, 0x17, 0x4b,
0x30, 0x2a, 0x30, 0x6a, 0xf0, 0x38, 0x79, 0x7c, 0xba, 0x27, 0x2f, 0x5c, 0x99, 0x98, 0x9b, 0x63,
0xa5, 0x84, 0x2c, 0xab, 0xf4, 0xeb, 0x9e, 0xbc, 0x6e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e,
0x72, 0x7e, 0xae, 0x3e, 0xd4, 0x1e, 0x08, 0xa5, 0x5b, 0x9c, 0x92, 0xad, 0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63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5,
0x18, 0xa2, 0x34, 0xf1, 0xfa, 0xaf, 0x02, 0x92, 0x54, 0xc0, 0xde, 0x4c, 0x62, 0x03, 0x27, 0x12,
0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x04, 0xdf, 0x97, 0xaf, 0x02, 0x00, 0x00,
}
func (this *MsgSend) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*MsgSend)
if !ok {
that2, ok := that.(MsgSend)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if !bytes.Equal(this.FromAddress, that1.FromAddress) {
return false
}
if !bytes.Equal(this.ToAddress, that1.ToAddress) {
return false
}
if len(this.Amount) != len(that1.Amount) {
return false
}
for i := range this.Amount {
if !this.Amount[i].Equal(&that1.Amount[i]) {
return false
}
}
return true
}
func (this *MsgMultiSend) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*MsgMultiSend)
if !ok {
that2, ok := that.(MsgMultiSend)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if len(this.Inputs) != len(that1.Inputs) {
return false
}
for i := range this.Inputs {
if !this.Inputs[i].Equal(&that1.Inputs[i]) {
return false
}
}
if len(this.Outputs) != len(that1.Outputs) {
return false
}
for i := range this.Outputs {
if !this.Outputs[i].Equal(&that1.Outputs[i]) {
return false
}
}
return true
}
func (m *MsgSend) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *MsgSend) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *MsgSend) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if len(m.Amount) > 0 {
for iNdEx := len(m.Amount) - 1; iNdEx >= 0; iNdEx-- {
{
size, err := m.Amount[iNdEx].MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintTx(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x1a
}
}
if len(m.ToAddress) > 0 {
i -= len(m.ToAddress)
copy(dAtA[i:], m.ToAddress)
i = encodeVarintTx(dAtA, i, uint64(len(m.ToAddress)))
i--
dAtA[i] = 0x12
}
if len(m.FromAddress) > 0 {
i -= len(m.FromAddress)
copy(dAtA[i:], m.FromAddress)
i = encodeVarintTx(dAtA, i, uint64(len(m.FromAddress)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *MsgMultiSend) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *MsgMultiSend) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *MsgMultiSend) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if len(m.Outputs) > 0 {
for iNdEx := len(m.Outputs) - 1; iNdEx >= 0; iNdEx-- {
{
size, err := m.Outputs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintTx(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
}
if len(m.Inputs) > 0 {
for iNdEx := len(m.Inputs) - 1; iNdEx >= 0; iNdEx-- {
{
size, err := m.Inputs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintTx(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
}
return len(dAtA) - i, nil
}
func encodeVarintTx(dAtA []byte, offset int, v uint64) int {
offset -= sovTx(v)
base := offset
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
v >>= 7
offset++
}
dAtA[offset] = uint8(v)
return base
}
func (m *MsgSend) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.FromAddress)
if l > 0 {
n += 1 + l + sovTx(uint64(l))
}
l = len(m.ToAddress)
if l > 0 {
n += 1 + l + sovTx(uint64(l))
}
if len(m.Amount) > 0 {
for _, e := range m.Amount {
l = e.Size()
n += 1 + l + sovTx(uint64(l))
}
}
return n
}
func (m *MsgMultiSend) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if len(m.Inputs) > 0 {
for _, e := range m.Inputs {
l = e.Size()
n += 1 + l + sovTx(uint64(l))
}
}
if len(m.Outputs) > 0 {
for _, e := range m.Outputs {
l = e.Size()
n += 1 + l + sovTx(uint64(l))
}
}
return n
}
func sovTx(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7
}
func sozTx(x uint64) (n int) {
return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *MsgSend) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: MsgSend: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: MsgSend: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field FromAddress", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthTx
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.FromAddress = append(m.FromAddress[:0], dAtA[iNdEx:postIndex]...)
if m.FromAddress == nil {
m.FromAddress = []byte{}
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ToAddress", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthTx
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.ToAddress = append(m.ToAddress[:0], dAtA[iNdEx:postIndex]...)
if m.ToAddress == nil {
m.ToAddress = []byte{}
}
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthTx
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Amount = append(m.Amount, types.Coin{})
if err := m.Amount[len(m.Amount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthTx
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthTx
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *MsgMultiSend) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: MsgMultiSend: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: MsgMultiSend: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Inputs", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthTx
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Inputs = append(m.Inputs, Input{})
if err := m.Inputs[len(m.Inputs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Outputs", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthTx
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Outputs = append(m.Outputs, Output{})
if err := m.Outputs[len(m.Outputs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthTx
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthTx
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func skipTx(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
depth := 0
for iNdEx < l {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowTx
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
wireType := int(wire & 0x7)
switch wireType {
case 0:
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowTx
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
iNdEx++
if dAtA[iNdEx-1] < 0x80 {
break
}
}
case 1:
iNdEx += 8
case 2:
var length int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowTx
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
length |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if length < 0 {
return 0, ErrInvalidLengthTx
}
iNdEx += length
case 3:
depth++
case 4:
if depth == 0 {
return 0, ErrUnexpectedEndOfGroupTx
}
depth--
case 5:
iNdEx += 4
default:
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
}
if iNdEx < 0 {
return 0, ErrInvalidLengthTx
}
if depth == 0 {
return iNdEx, nil
}
}
return 0, io.ErrUnexpectedEOF
}
var (
ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowTx = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/capability/capability.proto
// source: cosmos/capability/v1beta1/capability.proto
package types
@ -32,7 +32,7 @@ type Capability struct {
func (m *Capability) Reset() { *m = Capability{} }
func (*Capability) ProtoMessage() {}
func (*Capability) Descriptor() ([]byte, []int) {
return fileDescriptor_ed9f06ee1908474a, []int{0}
return fileDescriptor_6308261edd8470a9, []int{0}
}
func (m *Capability) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -78,7 +78,7 @@ type Owner struct {
func (m *Owner) Reset() { *m = Owner{} }
func (*Owner) ProtoMessage() {}
func (*Owner) Descriptor() ([]byte, []int) {
return fileDescriptor_ed9f06ee1908474a, []int{1}
return fileDescriptor_6308261edd8470a9, []int{1}
}
func (m *Owner) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -117,7 +117,7 @@ func (m *CapabilityOwners) Reset() { *m = CapabilityOwners{} }
func (m *CapabilityOwners) String() string { return proto.CompactTextString(m) }
func (*CapabilityOwners) ProtoMessage() {}
func (*CapabilityOwners) Descriptor() ([]byte, []int) {
return fileDescriptor_ed9f06ee1908474a, []int{2}
return fileDescriptor_6308261edd8470a9, []int{2}
}
func (m *CapabilityOwners) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -154,35 +154,36 @@ func (m *CapabilityOwners) GetOwners() []Owner {
}
func init() {
proto.RegisterType((*Capability)(nil), "cosmos.capability.Capability")
proto.RegisterType((*Owner)(nil), "cosmos.capability.Owner")
proto.RegisterType((*CapabilityOwners)(nil), "cosmos.capability.CapabilityOwners")
proto.RegisterType((*Capability)(nil), "cosmos.capability.v1beta1.Capability")
proto.RegisterType((*Owner)(nil), "cosmos.capability.v1beta1.Owner")
proto.RegisterType((*CapabilityOwners)(nil), "cosmos.capability.v1beta1.CapabilityOwners")
}
func init() {
proto.RegisterFile("cosmos/capability/capability.proto", fileDescriptor_ed9f06ee1908474a)
proto.RegisterFile("cosmos/capability/v1beta1/capability.proto", fileDescriptor_6308261edd8470a9)
}
var fileDescriptor_ed9f06ee1908474a = []byte{
// 288 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4a, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x4e, 0x2c, 0x48, 0x4c, 0xca, 0xcc, 0xc9, 0x2c, 0xa9, 0x44, 0x62, 0xea,
0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x09, 0x42, 0xd4, 0xe8, 0x21, 0x24, 0xa4, 0x44, 0xd2, 0xf3,
0xd3, 0xf3, 0xc1, 0xb2, 0xfa, 0x20, 0x16, 0x44, 0xa1, 0x92, 0x15, 0x17, 0x97, 0x33, 0x5c, 0x8d,
0x90, 0x1a, 0x17, 0x6b, 0x66, 0x5e, 0x4a, 0x6a, 0x85, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x8b, 0x93,
0xc0, 0xa7, 0x7b, 0xf2, 0x3c, 0x95, 0x89, 0xb9, 0x39, 0x56, 0x4a, 0x60, 0x61, 0xa5, 0x20, 0x88,
0xb4, 0x15, 0xcb, 0x8c, 0x05, 0xf2, 0x0c, 0x4a, 0x89, 0x5c, 0xac, 0xfe, 0xe5, 0x79, 0xa9, 0x45,
0x42, 0x9a, 0x5c, 0x6c, 0xb9, 0xf9, 0x29, 0xa5, 0x39, 0xa9, 0x60, 0x7d, 0x9c, 0x4e, 0x82, 0x9f,
0xee, 0xc9, 0xf3, 0x42, 0xf4, 0x41, 0xc4, 0x95, 0x82, 0xa0, 0x0a, 0x84, 0x94, 0xb9, 0x58, 0xf2,
0x12, 0x73, 0x53, 0x25, 0x98, 0xc0, 0x0a, 0xf9, 0x3f, 0xdd, 0x93, 0xe7, 0x86, 0x28, 0x04, 0x89,
0x2a, 0x05, 0x81, 0x25, 0xad, 0x38, 0x3a, 0x16, 0xc8, 0x33, 0x80, 0xad, 0xf0, 0xe2, 0x12, 0x40,
0x38, 0x0f, 0x6c, 0x59, 0xb1, 0x90, 0x19, 0x17, 0x5b, 0x3e, 0x98, 0x25, 0xc1, 0xa8, 0xc0, 0xac,
0xc1, 0x6d, 0x24, 0xa1, 0x87, 0xe1, 0x59, 0x3d, 0xb0, 0x52, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19,
0x82, 0xa0, 0xaa, 0x9d, 0x3c, 0x4f, 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,
0x3f, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x16, 0xb8, 0x60, 0x4a,
0xb7, 0x38, 0x25, 0x5b, 0xbf, 0x02, 0x39, 0xa4, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0,
0x81, 0x67, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xdd, 0x3f, 0x01, 0xd9, 0x8b, 0x01, 0x00, 0x00,
var fileDescriptor_6308261edd8470a9 = []byte{
// 299 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4a, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x4e, 0x2c, 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x9e, 0xd6, 0x03, 0x6b, 0x71, 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08, 0xaa, 0xcb, 0xc9, 0xf3,
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, 0xf4, 0xd3, 0x33, 0x4b, 0x32, 0x4a,
0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x61, 0x81, 0x0e, 0xa6, 0x74, 0x8b, 0x53, 0xb2, 0xf5, 0x2b,
0x90, 0x63, 0xa0, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0x88, 0xc6, 0x80, 0x00, 0x00,
0x00, 0xff, 0xff, 0x1d, 0xc9, 0xe6, 0xa8, 0xa3, 0x01, 0x00, 0x00,
}
func (m *Capability) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/capability/genesis.proto
// source: cosmos/capability/v1beta1/genesis.proto
package types
@ -33,7 +33,7 @@ func (m *GenesisOwners) Reset() { *m = GenesisOwners{} }
func (m *GenesisOwners) String() string { return proto.CompactTextString(m) }
func (*GenesisOwners) ProtoMessage() {}
func (*GenesisOwners) Descriptor() ([]byte, []int) {
return fileDescriptor_b0ea5aff5facb31f, []int{0}
return fileDescriptor_94922dd16a11c23e, []int{0}
}
func (m *GenesisOwners) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -89,7 +89,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_b0ea5aff5facb31f, []int{1}
return fileDescriptor_94922dd16a11c23e, []int{1}
}
func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -133,31 +133,34 @@ func (m *GenesisState) GetOwners() []GenesisOwners {
}
func init() {
proto.RegisterType((*GenesisOwners)(nil), "cosmos.capability.GenesisOwners")
proto.RegisterType((*GenesisState)(nil), "cosmos.capability.GenesisState")
proto.RegisterType((*GenesisOwners)(nil), "cosmos.capability.v1beta1.GenesisOwners")
proto.RegisterType((*GenesisState)(nil), "cosmos.capability.v1beta1.GenesisState")
}
func init() { proto.RegisterFile("cosmos/capability/genesis.proto", fileDescriptor_b0ea5aff5facb31f) }
func init() {
proto.RegisterFile("cosmos/capability/v1beta1/genesis.proto", fileDescriptor_94922dd16a11c23e)
}
var fileDescriptor_b0ea5aff5facb31f = []byte{
// 270 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x4e, 0x2c, 0x48, 0x4c, 0xca, 0xcc, 0xc9, 0x2c, 0xa9, 0xd4, 0x4f, 0x4f,
0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x84, 0x28, 0xd0,
0x43, 0x28, 0x90, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xcb, 0xea, 0x83, 0x58, 0x10, 0x85, 0x52,
0x4a, 0x98, 0x26, 0x21, 0x98, 0x10, 0x35, 0x4a, 0xfd, 0x8c, 0x5c, 0xbc, 0xee, 0x10, 0xe3, 0xfd,
0xcb, 0xf3, 0x52, 0x8b, 0x8a, 0x85, 0x44, 0xb8, 0x58, 0x33, 0xf3, 0x52, 0x52, 0x2b, 0x24, 0x18,
0x15, 0x18, 0x35, 0x58, 0x82, 0x20, 0x1c, 0xa1, 0x0c, 0x2e, 0xb6, 0x7c, 0xb0, 0xbc, 0x04, 0x93,
0x02, 0xa3, 0x06, 0xb7, 0x91, 0xb2, 0x1e, 0x86, 0x2b, 0xf4, 0x9c, 0xe1, 0x4c, 0x88, 0x51, 0x4e,
0xda, 0x27, 0xee, 0xc9, 0x33, 0xbc, 0xba, 0x27, 0xcf, 0x03, 0x36, 0x23, 0x1e, 0x62, 0xc0, 0xa7,
0x7b, 0xf2, 0xc2, 0x95, 0x89, 0xb9, 0x39, 0x56, 0x4a, 0xc8, 0xa2, 0x4a, 0x41, 0x50, 0xf3, 0x95,
0x52, 0xb8, 0x78, 0xa0, 0x0e, 0x0a, 0x2e, 0x49, 0x2c, 0x49, 0xc5, 0xe1, 0x1e, 0x3b, 0x24, 0xf7,
0x30, 0x6b, 0x70, 0x1b, 0x29, 0x60, 0x71, 0x0f, 0x8a, 0xbf, 0x9c, 0x58, 0x40, 0x8e, 0x81, 0xd9,
0xe2, 0xe4, 0x79, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e,
0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xfa, 0xe9, 0x99,
0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xb0, 0x00, 0x04, 0x53, 0xba, 0xc5, 0x29,
0xd9, 0xfa, 0x15, 0xc8, 0xa1, 0x59, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x49, 0x63,
0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x48, 0xa3, 0xc6, 0xf7, 0xb9, 0x01, 0x00, 0x00,
var fileDescriptor_94922dd16a11c23e = []byte{
// 282 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0xce, 0x2f, 0xce,
0xcd, 0x2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 0xb3, 0xcd, 0xc9, 0xf3, 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, 0xf4, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93,
0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x61, 0x01, 0x0b, 0xa6, 0x74, 0x8b, 0x53, 0xb2, 0xf5, 0x2b, 0x90,
0x43, 0xb9, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0xb2, 0xc6, 0x80, 0x00, 0x00, 0x00,
0xff, 0xff, 0x44, 0x83, 0x9f, 0x99, 0xe1, 0x01, 0x00, 0x00,
}
func (m *GenesisOwners) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/crisis/genesis.proto
// source: cosmos/crisis/v1beta1/genesis.proto
package types
@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_174b7a013a29fb57, []int{0}
return fileDescriptor_7a9c2781aa8a27ae, []int{0}
}
func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -64,27 +64,31 @@ func (m *GenesisState) XXX_DiscardUnknown() {
var xxx_messageInfo_GenesisState proto.InternalMessageInfo
func init() {
proto.RegisterType((*GenesisState)(nil), "cosmos.crisis.GenesisState")
proto.RegisterType((*GenesisState)(nil), "cosmos.crisis.v1beta1.GenesisState")
}
func init() { proto.RegisterFile("cosmos/crisis/genesis.proto", fileDescriptor_174b7a013a29fb57) }
func init() {
proto.RegisterFile("cosmos/crisis/v1beta1/genesis.proto", fileDescriptor_7a9c2781aa8a27ae)
}
var fileDescriptor_174b7a013a29fb57 = []byte{
// 222 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x2e, 0xca, 0x2c, 0xce, 0x2c, 0xd6, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce,
0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0x48, 0xea, 0x41, 0x24, 0xa5, 0x44,
0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x32, 0xfa, 0x20, 0x16, 0x44, 0x91, 0x94, 0x30, 0xcc, 0x04, 0x88,
0x5a, 0xb0, 0xa0, 0x52, 0x3b, 0x23, 0x17, 0x8f, 0x3b, 0xc4, 0xac, 0xe0, 0x92, 0xc4, 0x92, 0x54,
0xa1, 0x72, 0x2e, 0x9e, 0xe4, 0xfc, 0xbc, 0xe2, 0x92, 0xc4, 0xbc, 0x92, 0xf8, 0xb4, 0xd4, 0x54,
0x09, 0x66, 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x1e, 0x3d, 0xa8, 0x2e, 0xe7, 0xfc, 0xcc, 0x3c, 0x27,
0xb7, 0x13, 0xf7, 0xe4, 0x19, 0x6e, 0xdd, 0x93, 0x57, 0x4f, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2,
0x4b, 0xce, 0xcf, 0xd5, 0x47, 0x31, 0x5c, 0xb7, 0x38, 0x25, 0x5b, 0xbf, 0xa4, 0xb2, 0x20, 0x15,
0xa2, 0xe1, 0xd3, 0x3d, 0x79, 0xe1, 0xca, 0xc4, 0xdc, 0x1c, 0x2b, 0x25, 0x64, 0xa3, 0x95, 0x82,
0xb8, 0x61, 0x5c, 0xb7, 0xd4, 0x54, 0x27, 0xd7, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63,
0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96,
0x63, 0x88, 0xd2, 0xc6, 0x6b, 0x4d, 0x05, 0x2c, 0x48, 0xc0, 0xf6, 0x25, 0xb1, 0x81, 0xfd, 0x65,
0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x7d, 0x6a, 0xff, 0x30, 0x01, 0x00, 0x00,
var fileDescriptor_7a9c2781aa8a27ae = []byte{
// 251 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x2e, 0xca, 0x2c, 0xce, 0x2c, 0xd6, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49,
0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17,
0x12, 0x85, 0x28, 0xd2, 0x83, 0x28, 0xd2, 0x83, 0x2a, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07,
0xab, 0xd0, 0x07, 0xb1, 0x20, 0x8a, 0xa5, 0xe4, 0xa0, 0x26, 0x26, 0x25, 0x16, 0xa7, 0xc2, 0xcd,
0x4b, 0xce, 0xcf, 0xcc, 0x83, 0xc8, 0x2b, 0x4d, 0x65, 0xe4, 0xe2, 0x71, 0x87, 0x18, 0x1f, 0x5c,
0x92, 0x58, 0x92, 0x2a, 0xd4, 0xc2, 0xc8, 0xc5, 0x93, 0x9c, 0x9f, 0x57, 0x5c, 0x92, 0x98, 0x57,
0x12, 0x9f, 0x96, 0x9a, 0x2a, 0xc1, 0xac, 0xc0, 0xa8, 0xc1, 0x6d, 0x24, 0xa9, 0x07, 0xb5, 0x15,
0x64, 0x10, 0xcc, 0x4e, 0x3d, 0xe7, 0xfc, 0xcc, 0x3c, 0x27, 0xb7, 0x13, 0xf7, 0xe4, 0x19, 0x6e,
0xdd, 0x93, 0x57, 0x4f, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0xf9,
0x03, 0x4c, 0xe9, 0x16, 0xa7, 0x64, 0xeb, 0x97, 0x54, 0x16, 0xa4, 0x16, 0x83, 0x35, 0x7c, 0xba,
0x27, 0x2f, 0x5c, 0x99, 0x98, 0x9b, 0x63, 0xa5, 0x84, 0x6c, 0x8f, 0x52, 0x10, 0x37, 0x8c, 0xeb,
0x96, 0x9a, 0xea, 0xe4, 0x7a, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9,
0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xda,
0x78, 0xad, 0xa9, 0x80, 0x85, 0x1d, 0xd8, 0xbe, 0x24, 0x36, 0xb0, 0x2f, 0x8d, 0x01, 0x01, 0x00,
0x00, 0xff, 0xff, 0x08, 0x1c, 0xb6, 0x7f, 0x59, 0x01, 0x00, 0x00,
}
func (m *GenesisState) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/crisis/crisis.proto
// source: cosmos/crisis/v1beta1/tx.proto
package types
@ -36,7 +36,7 @@ func (m *MsgVerifyInvariant) Reset() { *m = MsgVerifyInvariant{} }
func (m *MsgVerifyInvariant) String() string { return proto.CompactTextString(m) }
func (*MsgVerifyInvariant) ProtoMessage() {}
func (*MsgVerifyInvariant) Descriptor() ([]byte, []int) {
return fileDescriptor_cc68222b2e6ddda9, []int{0}
return fileDescriptor_61276163172fe867, []int{0}
}
func (m *MsgVerifyInvariant) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -87,31 +87,32 @@ func (m *MsgVerifyInvariant) GetInvariantRoute() string {
}
func init() {
proto.RegisterType((*MsgVerifyInvariant)(nil), "cosmos.crisis.MsgVerifyInvariant")
proto.RegisterType((*MsgVerifyInvariant)(nil), "cosmos.crisis.v1beta1.MsgVerifyInvariant")
}
func init() { proto.RegisterFile("cosmos/crisis/crisis.proto", fileDescriptor_cc68222b2e6ddda9) }
func init() { proto.RegisterFile("cosmos/crisis/v1beta1/tx.proto", fileDescriptor_61276163172fe867) }
var fileDescriptor_cc68222b2e6ddda9 = []byte{
// 282 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x2e, 0xca, 0x2c, 0xce, 0x84, 0x51, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9,
0x42, 0xbc, 0x10, 0x39, 0x3d, 0x88, 0xa0, 0x94, 0x48, 0x7a, 0x7e, 0x7a, 0x3e, 0x58, 0x46, 0x1f,
0xc4, 0x82, 0x28, 0x52, 0x6a, 0x60, 0xe2, 0x12, 0xf2, 0x2d, 0x4e, 0x0f, 0x4b, 0x2d, 0xca, 0x4c,
0xab, 0xf4, 0xcc, 0x2b, 0x4b, 0x2c, 0xca, 0x4c, 0xcc, 0x2b, 0x11, 0xf2, 0xe4, 0x62, 0x2b, 0x4e,
0xcd, 0x4b, 0x49, 0x2d, 0x92, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x71, 0x32, 0xfc, 0x75, 0x4f, 0x5e,
0x37, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x66, 0x2d, 0x98, 0xd2,
0x2d, 0x4e, 0xc9, 0xd6, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x73, 0x4c, 0x4e, 0x76, 0x4c, 0x49,
0x29, 0x4a, 0x2d, 0x2e, 0x0e, 0x82, 0x1a, 0x20, 0x14, 0xc2, 0x25, 0x9a, 0x09, 0x33, 0x37, 0x3e,
0x37, 0x3f, 0xa5, 0x34, 0x27, 0x35, 0x3e, 0x2f, 0x31, 0x37, 0x55, 0x82, 0x49, 0x81, 0x51, 0x83,
0xd3, 0x49, 0xe1, 0xd3, 0x3d, 0x79, 0x99, 0xca, 0xc4, 0xdc, 0x1c, 0x2b, 0x25, 0xac, 0xca, 0x94,
0x82, 0x84, 0xe1, 0xe2, 0xbe, 0x60, 0x61, 0xbf, 0xc4, 0xdc, 0x54, 0x21, 0x67, 0x2e, 0x7e, 0x84,
0xf2, 0xa2, 0xfc, 0xd2, 0x92, 0x54, 0x09, 0x66, 0xb0, 0x79, 0x52, 0x9f, 0xee, 0xc9, 0x8b, 0xa1,
0x9b, 0x07, 0x56, 0xa0, 0x14, 0xc4, 0x07, 0x17, 0x09, 0x02, 0x09, 0x58, 0xb1, 0xbc, 0x58, 0x20,
0xcf, 0xe8, 0xe4, 0x7a, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31,
0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xda, 0x78,
0x7d, 0x5c, 0x01, 0x0b, 0x75, 0xb0, 0xd7, 0x93, 0xd8, 0xc0, 0x01, 0x6a, 0x0c, 0x08, 0x00, 0x00,
0xff, 0xff, 0xe1, 0xbb, 0x7c, 0x71, 0x93, 0x01, 0x00, 0x00,
var fileDescriptor_61276163172fe867 = []byte{
// 296 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xce, 0x2f, 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 0x72, 0xe6, 0xe2, 0x47, 0x28, 0x2f, 0xca,
0x2f, 0x2d, 0x49, 0x95, 0x60, 0x06, 0x9b, 0x27, 0xf5, 0xe9, 0x9e, 0xbc, 0x18, 0xba, 0x79, 0x60,
0x05, 0x4a, 0x41, 0x7c, 0x70, 0x91, 0x20, 0x90, 0x80, 0x15, 0xcb, 0x8b, 0x05, 0xf2, 0x8c, 0x4e,
0xae, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7,
0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xa5, 0x8d, 0xd7, 0xc7, 0x15,
0xb0, 0x18, 0x00, 0x7b, 0x3d, 0x89, 0x0d, 0x1c, 0xa0, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff,
0xb0, 0xb6, 0x10, 0xbd, 0x9f, 0x01, 0x00, 0x00,
}
func (this *MsgVerifyInvariant) Equal(that interface{}) bool {
@ -167,29 +168,29 @@ func (m *MsgVerifyInvariant) MarshalToSizedBuffer(dAtA []byte) (int, error) {
if len(m.InvariantRoute) > 0 {
i -= len(m.InvariantRoute)
copy(dAtA[i:], m.InvariantRoute)
i = encodeVarintCrisis(dAtA, i, uint64(len(m.InvariantRoute)))
i = encodeVarintTx(dAtA, i, uint64(len(m.InvariantRoute)))
i--
dAtA[i] = 0x1a
}
if len(m.InvariantModuleName) > 0 {
i -= len(m.InvariantModuleName)
copy(dAtA[i:], m.InvariantModuleName)
i = encodeVarintCrisis(dAtA, i, uint64(len(m.InvariantModuleName)))
i = encodeVarintTx(dAtA, i, uint64(len(m.InvariantModuleName)))
i--
dAtA[i] = 0x12
}
if len(m.Sender) > 0 {
i -= len(m.Sender)
copy(dAtA[i:], m.Sender)
i = encodeVarintCrisis(dAtA, i, uint64(len(m.Sender)))
i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func encodeVarintCrisis(dAtA []byte, offset int, v uint64) int {
offset -= sovCrisis(v)
func encodeVarintTx(dAtA []byte, offset int, v uint64) int {
offset -= sovTx(v)
base := offset
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
@ -207,24 +208,24 @@ func (m *MsgVerifyInvariant) Size() (n int) {
_ = l
l = len(m.Sender)
if l > 0 {
n += 1 + l + sovCrisis(uint64(l))
n += 1 + l + sovTx(uint64(l))
}
l = len(m.InvariantModuleName)
if l > 0 {
n += 1 + l + sovCrisis(uint64(l))
n += 1 + l + sovTx(uint64(l))
}
l = len(m.InvariantRoute)
if l > 0 {
n += 1 + l + sovCrisis(uint64(l))
n += 1 + l + sovTx(uint64(l))
}
return n
}
func sovCrisis(x uint64) (n int) {
func sovTx(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7
}
func sozCrisis(x uint64) (n int) {
return sovCrisis(uint64((x << 1) ^ uint64((int64(x) >> 63))))
func sozTx(x uint64) (n int) {
return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *MsgVerifyInvariant) Unmarshal(dAtA []byte) error {
l := len(dAtA)
@ -234,7 +235,7 @@ func (m *MsgVerifyInvariant) Unmarshal(dAtA []byte) error {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCrisis
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@ -262,7 +263,7 @@ func (m *MsgVerifyInvariant) Unmarshal(dAtA []byte) error {
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCrisis
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@ -275,11 +276,11 @@ func (m *MsgVerifyInvariant) Unmarshal(dAtA []byte) error {
}
}
if byteLen < 0 {
return ErrInvalidLengthCrisis
return ErrInvalidLengthTx
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthCrisis
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
@ -296,7 +297,7 @@ func (m *MsgVerifyInvariant) Unmarshal(dAtA []byte) error {
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCrisis
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@ -310,11 +311,11 @@ func (m *MsgVerifyInvariant) Unmarshal(dAtA []byte) error {
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthCrisis
return ErrInvalidLengthTx
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthCrisis
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
@ -328,7 +329,7 @@ func (m *MsgVerifyInvariant) Unmarshal(dAtA []byte) error {
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowCrisis
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
@ -342,11 +343,11 @@ func (m *MsgVerifyInvariant) Unmarshal(dAtA []byte) error {
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthCrisis
return ErrInvalidLengthTx
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthCrisis
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
@ -355,15 +356,15 @@ func (m *MsgVerifyInvariant) Unmarshal(dAtA []byte) error {
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipCrisis(dAtA[iNdEx:])
skippy, err := skipTx(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthCrisis
return ErrInvalidLengthTx
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthCrisis
return ErrInvalidLengthTx
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
@ -377,7 +378,7 @@ func (m *MsgVerifyInvariant) Unmarshal(dAtA []byte) error {
}
return nil
}
func skipCrisis(dAtA []byte) (n int, err error) {
func skipTx(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
depth := 0
@ -385,7 +386,7 @@ func skipCrisis(dAtA []byte) (n int, err error) {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowCrisis
return 0, ErrIntOverflowTx
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
@ -402,7 +403,7 @@ func skipCrisis(dAtA []byte) (n int, err error) {
case 0:
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowCrisis
return 0, ErrIntOverflowTx
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
@ -418,7 +419,7 @@ func skipCrisis(dAtA []byte) (n int, err error) {
var length int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowCrisis
return 0, ErrIntOverflowTx
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
@ -431,14 +432,14 @@ func skipCrisis(dAtA []byte) (n int, err error) {
}
}
if length < 0 {
return 0, ErrInvalidLengthCrisis
return 0, ErrInvalidLengthTx
}
iNdEx += length
case 3:
depth++
case 4:
if depth == 0 {
return 0, ErrUnexpectedEndOfGroupCrisis
return 0, ErrUnexpectedEndOfGroupTx
}
depth--
case 5:
@ -447,7 +448,7 @@ func skipCrisis(dAtA []byte) (n int, err error) {
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
}
if iNdEx < 0 {
return 0, ErrInvalidLengthCrisis
return 0, ErrInvalidLengthTx
}
if depth == 0 {
return iNdEx, nil
@ -457,7 +458,7 @@ func skipCrisis(dAtA []byte) (n int, err error) {
}
var (
ErrInvalidLengthCrisis = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowCrisis = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupCrisis = fmt.Errorf("proto: unexpected end of group")
ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowTx = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/distribution/genesis.proto
// source: cosmos/distribution/v1beta1/genesis.proto
package types
@ -38,7 +38,7 @@ func (m *DelegatorWithdrawInfo) Reset() { *m = DelegatorWithdrawInfo{} }
func (m *DelegatorWithdrawInfo) String() string { return proto.CompactTextString(m) }
func (*DelegatorWithdrawInfo) ProtoMessage() {}
func (*DelegatorWithdrawInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_7a45655a6b48d269, []int{0}
return fileDescriptor_76eed0f9489db580, []int{0}
}
func (m *DelegatorWithdrawInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -92,7 +92,7 @@ func (m *ValidatorOutstandingRewardsRecord) Reset() { *m = ValidatorOuts
func (m *ValidatorOutstandingRewardsRecord) String() string { return proto.CompactTextString(m) }
func (*ValidatorOutstandingRewardsRecord) ProtoMessage() {}
func (*ValidatorOutstandingRewardsRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_7a45655a6b48d269, []int{1}
return fileDescriptor_76eed0f9489db580, []int{1}
}
func (m *ValidatorOutstandingRewardsRecord) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -146,7 +146,7 @@ func (m *ValidatorAccumulatedCommissionRecord) Reset() { *m = ValidatorA
func (m *ValidatorAccumulatedCommissionRecord) String() string { return proto.CompactTextString(m) }
func (*ValidatorAccumulatedCommissionRecord) ProtoMessage() {}
func (*ValidatorAccumulatedCommissionRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_7a45655a6b48d269, []int{2}
return fileDescriptor_76eed0f9489db580, []int{2}
}
func (m *ValidatorAccumulatedCommissionRecord) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -201,7 +201,7 @@ func (m *ValidatorHistoricalRewardsRecord) Reset() { *m = ValidatorHisto
func (m *ValidatorHistoricalRewardsRecord) String() string { return proto.CompactTextString(m) }
func (*ValidatorHistoricalRewardsRecord) ProtoMessage() {}
func (*ValidatorHistoricalRewardsRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_7a45655a6b48d269, []int{3}
return fileDescriptor_76eed0f9489db580, []int{3}
}
func (m *ValidatorHistoricalRewardsRecord) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -262,7 +262,7 @@ func (m *ValidatorCurrentRewardsRecord) Reset() { *m = ValidatorCurrentR
func (m *ValidatorCurrentRewardsRecord) String() string { return proto.CompactTextString(m) }
func (*ValidatorCurrentRewardsRecord) ProtoMessage() {}
func (*ValidatorCurrentRewardsRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_7a45655a6b48d269, []int{4}
return fileDescriptor_76eed0f9489db580, []int{4}
}
func (m *ValidatorCurrentRewardsRecord) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -317,7 +317,7 @@ func (m *DelegatorStartingInfoRecord) Reset() { *m = DelegatorStartingIn
func (m *DelegatorStartingInfoRecord) String() string { return proto.CompactTextString(m) }
func (*DelegatorStartingInfoRecord) ProtoMessage() {}
func (*DelegatorStartingInfoRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_7a45655a6b48d269, []int{5}
return fileDescriptor_76eed0f9489db580, []int{5}
}
func (m *DelegatorStartingInfoRecord) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -380,7 +380,7 @@ func (m *ValidatorSlashEventRecord) Reset() { *m = ValidatorSlashEventRe
func (m *ValidatorSlashEventRecord) String() string { return proto.CompactTextString(m) }
func (*ValidatorSlashEventRecord) ProtoMessage() {}
func (*ValidatorSlashEventRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_7a45655a6b48d269, []int{6}
return fileDescriptor_76eed0f9489db580, []int{6}
}
func (m *ValidatorSlashEventRecord) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -455,7 +455,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_7a45655a6b48d269, []int{7}
return fileDescriptor_76eed0f9489db580, []int{7}
}
func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -555,88 +555,92 @@ func (m *GenesisState) GetValidatorSlashEvents() []ValidatorSlashEventRecord {
}
func init() {
proto.RegisterType((*DelegatorWithdrawInfo)(nil), "cosmos.distribution.DelegatorWithdrawInfo")
proto.RegisterType((*ValidatorOutstandingRewardsRecord)(nil), "cosmos.distribution.ValidatorOutstandingRewardsRecord")
proto.RegisterType((*ValidatorAccumulatedCommissionRecord)(nil), "cosmos.distribution.ValidatorAccumulatedCommissionRecord")
proto.RegisterType((*ValidatorHistoricalRewardsRecord)(nil), "cosmos.distribution.ValidatorHistoricalRewardsRecord")
proto.RegisterType((*ValidatorCurrentRewardsRecord)(nil), "cosmos.distribution.ValidatorCurrentRewardsRecord")
proto.RegisterType((*DelegatorStartingInfoRecord)(nil), "cosmos.distribution.DelegatorStartingInfoRecord")
proto.RegisterType((*ValidatorSlashEventRecord)(nil), "cosmos.distribution.ValidatorSlashEventRecord")
proto.RegisterType((*GenesisState)(nil), "cosmos.distribution.GenesisState")
proto.RegisterType((*DelegatorWithdrawInfo)(nil), "cosmos.distribution.v1beta1.DelegatorWithdrawInfo")
proto.RegisterType((*ValidatorOutstandingRewardsRecord)(nil), "cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord")
proto.RegisterType((*ValidatorAccumulatedCommissionRecord)(nil), "cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord")
proto.RegisterType((*ValidatorHistoricalRewardsRecord)(nil), "cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord")
proto.RegisterType((*ValidatorCurrentRewardsRecord)(nil), "cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord")
proto.RegisterType((*DelegatorStartingInfoRecord)(nil), "cosmos.distribution.v1beta1.DelegatorStartingInfoRecord")
proto.RegisterType((*ValidatorSlashEventRecord)(nil), "cosmos.distribution.v1beta1.ValidatorSlashEventRecord")
proto.RegisterType((*GenesisState)(nil), "cosmos.distribution.v1beta1.GenesisState")
}
func init() { proto.RegisterFile("cosmos/distribution/genesis.proto", fileDescriptor_7a45655a6b48d269) }
func init() {
proto.RegisterFile("cosmos/distribution/v1beta1/genesis.proto", fileDescriptor_76eed0f9489db580)
}
var fileDescriptor_7a45655a6b48d269 = []byte{
// 1085 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcd, 0x6f, 0x1b, 0x45,
0x14, 0xcf, 0x6e, 0x5a, 0xa7, 0x4c, 0x5c, 0xd2, 0x6e, 0xd2, 0xc4, 0x75, 0x5b, 0x6f, 0xb2, 0x20,
0x14, 0x51, 0xba, 0xa6, 0x29, 0x45, 0x02, 0x71, 0x20, 0x9b, 0xd2, 0x52, 0x09, 0x48, 0xd8, 0xa0,
0x82, 0xe0, 0x60, 0x6d, 0x76, 0x27, 0xf6, 0xa8, 0xeb, 0x1d, 0x6b, 0x67, 0xec, 0x10, 0x38, 0x70,
0xe3, 0xc4, 0x01, 0x09, 0x89, 0x23, 0x47, 0x54, 0x71, 0x42, 0x08, 0x04, 0xfc, 0x07, 0x39, 0xf6,
0xc8, 0xc9, 0x45, 0xc9, 0x7f, 0x90, 0x63, 0x4e, 0x68, 0x3e, 0xf6, 0xcb, 0x5e, 0xaf, 0xdd, 0x1e,
0x68, 0x6e, 0xde, 0xdd, 0x37, 0xef, 0xf7, 0x31, 0x6f, 0xde, 0x3c, 0x83, 0x15, 0x17, 0x93, 0x36,
0x26, 0x75, 0x0f, 0x11, 0x1a, 0xa2, 0x9d, 0x2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, 0xca, 0xf7, 0x47, 0xb5, 0xa9, 0xc7, 0x47, 0xb5, 0xa9, 0x7f, 0x8e, 0x6a, 0x53, 0x9f, 0xdf,
0x2c, 0xec, 0x6d, 0x5f, 0x66, 0xff, 0x70, 0xf3, 0x56, 0xb7, 0x53, 0xe2, 0x7f, 0xb5, 0x6f, 0xfd,
0x17, 0x00, 0x00, 0xff, 0xff, 0x48, 0x83, 0xa5, 0x19, 0xf7, 0x0f, 0x00, 0x00,
var fileDescriptor_76eed0f9489db580 = []byte{
// 1113 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4b, 0x6c, 0x1b, 0x45,
0x18, 0xce, 0xda, 0xad, 0x53, 0x26, 0x0e, 0x6d, 0xb7, 0x69, 0xe2, 0xba, 0xad, 0x37, 0xdd, 0xf6,
0x10, 0x54, 0x75, 0x4d, 0x42, 0x79, 0xa8, 0x3c, 0x44, 0x36, 0xa5, 0xa5, 0x12, 0x90, 0xb0, 0x91,
0x0a, 0x42, 0x48, 0xd6, 0x78, 0x77, 0x62, 0x8f, 0xb0, 0x77, 0xac, 0x9d, 0xb1, 0x43, 0xe1, 0xc4,
0x89, 0x0b, 0x42, 0xdc, 0x39, 0xc0, 0x09, 0x21, 0x90, 0x10, 0x47, 0x84, 0x38, 0x00, 0xa7, 0x1e,
0x73, 0xe4, 0x64, 0x50, 0x72, 0xe0, 0x9e, 0x63, 0x4e, 0x68, 0x1e, 0xfb, 0xf2, 0x63, 0xe3, 0x04,
0x09, 0x72, 0xb2, 0x77, 0xf7, 0xf7, 0xff, 0x3d, 0xe6, 0xdf, 0xff, 0xff, 0x0d, 0x9e, 0x72, 0x09,
0x6d, 0x13, 0x5a, 0xf5, 0x30, 0x65, 0x01, 0xae, 0x77, 0x19, 0x26, 0x7e, 0xb5, 0xb7, 0x5c, 0x47,
0x0c, 0x2e, 0x57, 0x1b, 0xc8, 0x47, 0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,
0xdd, 0x8a, 0xf6, 0x78, 0xb7, 0xa2, 0xed, 0xec, 0x56, 0xb4, 0xbf, 0x76, 0x2b, 0xda, 0x17, 0x7b,
0x95, 0xa9, 0x9d, 0xbd, 0xca, 0xd4, 0x1f, 0x7b, 0x95, 0xa9, 0xf7, 0x96, 0x33, 0x7b, 0xe1, 0x87,
0xe9, 0xff, 0xfd, 0xa2, 0x35, 0xd6, 0x0b, 0xe2, 0x9f, 0xfe, 0x33, 0xff, 0x04, 0x00, 0x00, 0xff,
0xff, 0xcd, 0xd9, 0xe6, 0xed, 0x99, 0x10, 0x00, 0x00,
}
func (this *DelegatorWithdrawInfo) Equal(that interface{}) bool {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/distribution/query.proto
// source: cosmos/distribution/v1beta1/query.proto
package types
@ -39,7 +39,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} }
func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryParamsRequest) ProtoMessage() {}
func (*QueryParamsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{0}
return fileDescriptor_5efd02cbc06efdc9, []int{0}
}
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -78,7 +78,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} }
func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryParamsResponse) ProtoMessage() {}
func (*QueryParamsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{1}
return fileDescriptor_5efd02cbc06efdc9, []int{1}
}
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -126,7 +126,7 @@ func (m *QueryValidatorOutstandingRewardsRequest) Reset() {
func (m *QueryValidatorOutstandingRewardsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryValidatorOutstandingRewardsRequest) ProtoMessage() {}
func (*QueryValidatorOutstandingRewardsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{2}
return fileDescriptor_5efd02cbc06efdc9, []int{2}
}
func (m *QueryValidatorOutstandingRewardsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -173,7 +173,7 @@ func (m *QueryValidatorOutstandingRewardsResponse) Reset() {
func (m *QueryValidatorOutstandingRewardsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryValidatorOutstandingRewardsResponse) ProtoMessage() {}
func (*QueryValidatorOutstandingRewardsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{3}
return fileDescriptor_5efd02cbc06efdc9, []int{3}
}
func (m *QueryValidatorOutstandingRewardsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -219,7 +219,7 @@ func (m *QueryValidatorCommissionRequest) Reset() { *m = QueryValidatorC
func (m *QueryValidatorCommissionRequest) String() string { return proto.CompactTextString(m) }
func (*QueryValidatorCommissionRequest) ProtoMessage() {}
func (*QueryValidatorCommissionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{4}
return fileDescriptor_5efd02cbc06efdc9, []int{4}
}
func (m *QueryValidatorCommissionRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -265,7 +265,7 @@ func (m *QueryValidatorCommissionResponse) Reset() { *m = QueryValidator
func (m *QueryValidatorCommissionResponse) String() string { return proto.CompactTextString(m) }
func (*QueryValidatorCommissionResponse) ProtoMessage() {}
func (*QueryValidatorCommissionResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{5}
return fileDescriptor_5efd02cbc06efdc9, []int{5}
}
func (m *QueryValidatorCommissionResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -317,7 +317,7 @@ func (m *QueryValidatorSlashesRequest) Reset() { *m = QueryValidatorSlas
func (m *QueryValidatorSlashesRequest) String() string { return proto.CompactTextString(m) }
func (*QueryValidatorSlashesRequest) ProtoMessage() {}
func (*QueryValidatorSlashesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{6}
return fileDescriptor_5efd02cbc06efdc9, []int{6}
}
func (m *QueryValidatorSlashesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -386,7 +386,7 @@ func (m *QueryValidatorSlashesResponse) Reset() { *m = QueryValidatorSla
func (m *QueryValidatorSlashesResponse) String() string { return proto.CompactTextString(m) }
func (*QueryValidatorSlashesResponse) ProtoMessage() {}
func (*QueryValidatorSlashesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{7}
return fileDescriptor_5efd02cbc06efdc9, []int{7}
}
func (m *QueryValidatorSlashesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -441,7 +441,7 @@ func (m *QueryDelegationRewardsRequest) Reset() { *m = QueryDelegationRe
func (m *QueryDelegationRewardsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryDelegationRewardsRequest) ProtoMessage() {}
func (*QueryDelegationRewardsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{8}
return fileDescriptor_5efd02cbc06efdc9, []int{8}
}
func (m *QueryDelegationRewardsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -494,7 +494,7 @@ func (m *QueryDelegationRewardsResponse) Reset() { *m = QueryDelegationR
func (m *QueryDelegationRewardsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryDelegationRewardsResponse) ProtoMessage() {}
func (*QueryDelegationRewardsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{9}
return fileDescriptor_5efd02cbc06efdc9, []int{9}
}
func (m *QueryDelegationRewardsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -540,7 +540,7 @@ func (m *QueryDelegationTotalRewardsRequest) Reset() { *m = QueryDelegat
func (m *QueryDelegationTotalRewardsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryDelegationTotalRewardsRequest) ProtoMessage() {}
func (*QueryDelegationTotalRewardsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{10}
return fileDescriptor_5efd02cbc06efdc9, []int{10}
}
func (m *QueryDelegationTotalRewardsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -588,7 +588,7 @@ func (m *QueryDelegationTotalRewardsResponse) Reset() { *m = QueryDelega
func (m *QueryDelegationTotalRewardsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryDelegationTotalRewardsResponse) ProtoMessage() {}
func (*QueryDelegationTotalRewardsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{11}
return fileDescriptor_5efd02cbc06efdc9, []int{11}
}
func (m *QueryDelegationTotalRewardsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -641,7 +641,7 @@ func (m *QueryDelegatorValidatorsRequest) Reset() { *m = QueryDelegatorV
func (m *QueryDelegatorValidatorsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryDelegatorValidatorsRequest) ProtoMessage() {}
func (*QueryDelegatorValidatorsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{12}
return fileDescriptor_5efd02cbc06efdc9, []int{12}
}
func (m *QueryDelegatorValidatorsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -687,7 +687,7 @@ func (m *QueryDelegatorValidatorsResponse) Reset() { *m = QueryDelegator
func (m *QueryDelegatorValidatorsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryDelegatorValidatorsResponse) ProtoMessage() {}
func (*QueryDelegatorValidatorsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{13}
return fileDescriptor_5efd02cbc06efdc9, []int{13}
}
func (m *QueryDelegatorValidatorsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -733,7 +733,7 @@ func (m *QueryDelegatorWithdrawAddressRequest) Reset() { *m = QueryDeleg
func (m *QueryDelegatorWithdrawAddressRequest) String() string { return proto.CompactTextString(m) }
func (*QueryDelegatorWithdrawAddressRequest) ProtoMessage() {}
func (*QueryDelegatorWithdrawAddressRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{14}
return fileDescriptor_5efd02cbc06efdc9, []int{14}
}
func (m *QueryDelegatorWithdrawAddressRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -779,7 +779,7 @@ func (m *QueryDelegatorWithdrawAddressResponse) Reset() { *m = QueryDele
func (m *QueryDelegatorWithdrawAddressResponse) String() string { return proto.CompactTextString(m) }
func (*QueryDelegatorWithdrawAddressResponse) ProtoMessage() {}
func (*QueryDelegatorWithdrawAddressResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{15}
return fileDescriptor_5efd02cbc06efdc9, []int{15}
}
func (m *QueryDelegatorWithdrawAddressResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -823,7 +823,7 @@ func (m *QueryCommunityPoolRequest) Reset() { *m = QueryCommunityPoolReq
func (m *QueryCommunityPoolRequest) String() string { return proto.CompactTextString(m) }
func (*QueryCommunityPoolRequest) ProtoMessage() {}
func (*QueryCommunityPoolRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{16}
return fileDescriptor_5efd02cbc06efdc9, []int{16}
}
func (m *QueryCommunityPoolRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -862,7 +862,7 @@ func (m *QueryCommunityPoolResponse) Reset() { *m = QueryCommunityPoolRe
func (m *QueryCommunityPoolResponse) String() string { return proto.CompactTextString(m) }
func (*QueryCommunityPoolResponse) ProtoMessage() {}
func (*QueryCommunityPoolResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_2111c1b119d22af6, []int{17}
return fileDescriptor_5efd02cbc06efdc9, []int{17}
}
func (m *QueryCommunityPoolResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -899,89 +899,93 @@ func (m *QueryCommunityPoolResponse) GetPool() github_com_cosmos_cosmos_sdk_type
}
func init() {
proto.RegisterType((*QueryParamsRequest)(nil), "cosmos.distribution.QueryParamsRequest")
proto.RegisterType((*QueryParamsResponse)(nil), "cosmos.distribution.QueryParamsResponse")
proto.RegisterType((*QueryValidatorOutstandingRewardsRequest)(nil), "cosmos.distribution.QueryValidatorOutstandingRewardsRequest")
proto.RegisterType((*QueryValidatorOutstandingRewardsResponse)(nil), "cosmos.distribution.QueryValidatorOutstandingRewardsResponse")
proto.RegisterType((*QueryValidatorCommissionRequest)(nil), "cosmos.distribution.QueryValidatorCommissionRequest")
proto.RegisterType((*QueryValidatorCommissionResponse)(nil), "cosmos.distribution.QueryValidatorCommissionResponse")
proto.RegisterType((*QueryValidatorSlashesRequest)(nil), "cosmos.distribution.QueryValidatorSlashesRequest")
proto.RegisterType((*QueryValidatorSlashesResponse)(nil), "cosmos.distribution.QueryValidatorSlashesResponse")
proto.RegisterType((*QueryDelegationRewardsRequest)(nil), "cosmos.distribution.QueryDelegationRewardsRequest")
proto.RegisterType((*QueryDelegationRewardsResponse)(nil), "cosmos.distribution.QueryDelegationRewardsResponse")
proto.RegisterType((*QueryDelegationTotalRewardsRequest)(nil), "cosmos.distribution.QueryDelegationTotalRewardsRequest")
proto.RegisterType((*QueryDelegationTotalRewardsResponse)(nil), "cosmos.distribution.QueryDelegationTotalRewardsResponse")
proto.RegisterType((*QueryDelegatorValidatorsRequest)(nil), "cosmos.distribution.QueryDelegatorValidatorsRequest")
proto.RegisterType((*QueryDelegatorValidatorsResponse)(nil), "cosmos.distribution.QueryDelegatorValidatorsResponse")
proto.RegisterType((*QueryDelegatorWithdrawAddressRequest)(nil), "cosmos.distribution.QueryDelegatorWithdrawAddressRequest")
proto.RegisterType((*QueryDelegatorWithdrawAddressResponse)(nil), "cosmos.distribution.QueryDelegatorWithdrawAddressResponse")
proto.RegisterType((*QueryCommunityPoolRequest)(nil), "cosmos.distribution.QueryCommunityPoolRequest")
proto.RegisterType((*QueryCommunityPoolResponse)(nil), "cosmos.distribution.QueryCommunityPoolResponse")
proto.RegisterType((*QueryParamsRequest)(nil), "cosmos.distribution.v1beta1.QueryParamsRequest")
proto.RegisterType((*QueryParamsResponse)(nil), "cosmos.distribution.v1beta1.QueryParamsResponse")
proto.RegisterType((*QueryValidatorOutstandingRewardsRequest)(nil), "cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest")
proto.RegisterType((*QueryValidatorOutstandingRewardsResponse)(nil), "cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse")
proto.RegisterType((*QueryValidatorCommissionRequest)(nil), "cosmos.distribution.v1beta1.QueryValidatorCommissionRequest")
proto.RegisterType((*QueryValidatorCommissionResponse)(nil), "cosmos.distribution.v1beta1.QueryValidatorCommissionResponse")
proto.RegisterType((*QueryValidatorSlashesRequest)(nil), "cosmos.distribution.v1beta1.QueryValidatorSlashesRequest")
proto.RegisterType((*QueryValidatorSlashesResponse)(nil), "cosmos.distribution.v1beta1.QueryValidatorSlashesResponse")
proto.RegisterType((*QueryDelegationRewardsRequest)(nil), "cosmos.distribution.v1beta1.QueryDelegationRewardsRequest")
proto.RegisterType((*QueryDelegationRewardsResponse)(nil), "cosmos.distribution.v1beta1.QueryDelegationRewardsResponse")
proto.RegisterType((*QueryDelegationTotalRewardsRequest)(nil), "cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest")
proto.RegisterType((*QueryDelegationTotalRewardsResponse)(nil), "cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse")
proto.RegisterType((*QueryDelegatorValidatorsRequest)(nil), "cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest")
proto.RegisterType((*QueryDelegatorValidatorsResponse)(nil), "cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse")
proto.RegisterType((*QueryDelegatorWithdrawAddressRequest)(nil), "cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest")
proto.RegisterType((*QueryDelegatorWithdrawAddressResponse)(nil), "cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse")
proto.RegisterType((*QueryCommunityPoolRequest)(nil), "cosmos.distribution.v1beta1.QueryCommunityPoolRequest")
proto.RegisterType((*QueryCommunityPoolResponse)(nil), "cosmos.distribution.v1beta1.QueryCommunityPoolResponse")
}
func init() { proto.RegisterFile("cosmos/distribution/query.proto", fileDescriptor_2111c1b119d22af6) }
func init() {
proto.RegisterFile("cosmos/distribution/v1beta1/query.proto", fileDescriptor_5efd02cbc06efdc9)
}
var fileDescriptor_2111c1b119d22af6 = []byte{
// 936 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcd, 0x6f, 0xdc, 0x44,
0x14, 0xdf, 0xd9, 0xa6, 0xa9, 0x78, 0x6d, 0x49, 0x3a, 0xa9, 0xd0, 0xd6, 0xa1, 0xbb, 0x91, 0x0b,
0x64, 0x25, 0x54, 0x9b, 0x24, 0x20, 0x48, 0x05, 0x87, 0xa4, 0x41, 0xaa, 0x84, 0x04, 0xdb, 0x05,
0x15, 0xa8, 0xa0, 0xd5, 0xc4, 0x1e, 0x79, 0x2d, 0xbc, 0x9e, 0xad, 0x67, 0x9c, 0x10, 0xf1, 0x21,
0x90, 0x0a, 0x88, 0x03, 0x12, 0x12, 0x57, 0xae, 0x5c, 0xfa, 0x97, 0xf4, 0x58, 0x6e, 0x9c, 0x5a,
0x94, 0xfc, 0x17, 0x9c, 0xd0, 0xce, 0x8c, 0xbd, 0xeb, 0xc4, 0xf6, 0x7e, 0x34, 0xda, 0xdb, 0xee,
0x9b, 0xf7, 0x7e, 0xef, 0xf7, 0x3e, 0xe6, 0xcd, 0x33, 0x34, 0x1c, 0xc6, 0xbb, 0x8c,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xff, 0x40, 0x50,
0x2b, 0x1a, 0x5d, 0x78, 0x73, 0x0c, 0xd4, 0xfc, 0xb9, 0x6b, 0xdc, 0x98, 0xc6, 0x34, 0x65, 0x15,
0xc1, 0xc5, 0xcc, 0xac, 0xc2, 0x56, 0x31, 0x5c, 0xde, 0xc4, 0x33, 0xec, 0xb1, 0xf5, 0x13, 0x9f,
0xdb, 0x1f, 0x3c, 0x3e, 0xac, 0xa3, 0x27, 0x87, 0x75, 0xf4, 0xef, 0x61, 0x1d, 0xfd, 0x7e, 0x54,
0xaf, 0x3c, 0x39, 0xaa, 0x57, 0xfe, 0x39, 0xaa, 0x57, 0xee, 0xae, 0x95, 0x4e, 0xbe, 0xaf, 0xb3,
0x9f, 0xa3, 0x72, 0x10, 0xee, 0xce, 0xcb, 0x0f, 0xd1, 0x8d, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff,
0x6d, 0x56, 0x99, 0x70, 0x32, 0x0f, 0x00, 0x00,
var fileDescriptor_5efd02cbc06efdc9 = []byte{
// 969 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcd, 0x6f, 0x1b, 0x45,
0x14, 0xf7, 0xb8, 0x69, 0x2a, 0xbd, 0xb6, 0x34, 0x9d, 0x56, 0xc8, 0x6c, 0x8a, 0x13, 0x6d, 0x80,
0x44, 0xa0, 0xae, 0x9b, 0x54, 0x2a, 0x1f, 0x05, 0x81, 0xdd, 0x14, 0x90, 0x38, 0x90, 0x1a, 0x14,
0x2a, 0x84, 0xa8, 0xc6, 0xbb, 0xa3, 0xf5, 0xaa, 0xeb, 0x1d, 0x77, 0x67, 0x36, 0x21, 0x47, 0xa0,
0x45, 0x42, 0x08, 0xc4, 0xa1, 0x57, 0x4e, 0xdc, 0x10, 0x7f, 0x01, 0x12, 0xf7, 0x1e, 0x7b, 0xe4,
0xd4, 0xa2, 0x44, 0xe2, 0x8f, 0xe0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c, 0x84, 0xe0, 0xfc, 0x91, 0x67, 0x0f, 0x8f, 0x81, 0x39, 0x6c,
0x1b, 0xb0, 0xae, 0x4f, 0x15, 0x9b, 0x12, 0xfa, 0x05, 0xc1, 0xf3, 0xf9, 0x0f, 0x0e, 0x7e, 0x77,
0x12, 0xe4, 0x9c, 0x17, 0xd3, 0x7a, 0x6f, 0x7a, 0x80, 0xcc, 0xad, 0xca, 0x19, 0xd2, 0xe3, 0xdc,
0xaa, 0xe1, 0xcf, 0xcb, 0x38, 0xb7, 0xaa, 0xe0, 0x65, 0xb0, 0x4b, 0xf8, 0x57, 0x04, 0x95, 0x61,
0xa3, 0x13, 0xd7, 0x27, 0x40, 0xcf, 0x9f, 0xff, 0x56, 0xe3, 0x38, 0x10, 0x29, 0xcb, 0x6f, 0x10,
0x9c, 0xcd, 0xcc, 0x4e, 0x7c, 0x6d, 0x34, 0x6e, 0xde, 0x28, 0xb6, 0x5e, 0x9f, 0x38, 0xce, 0x90,
0x68, 0x7c, 0xf4, 0x68, 0xbf, 0x8a, 0x1e, 0xef, 0x57, 0xd1, 0xdf, 0xfb, 0x55, 0xf4, 0xf3, 0x41,
0xb5, 0xf4, 0xf8, 0xa0, 0x5a, 0xfa, 0xeb, 0xa0, 0x5a, 0xfa, 0x7c, 0xbd, 0x70, 0x18, 0x7f, 0x95,
0xfd, 0x55, 0x2e, 0x67, 0x73, 0x6b, 0x5e, 0xfe, 0x0e, 0xbf, 0xfa, 0x5f, 0x00, 0x00, 0x00, 0xff,
0xff, 0x54, 0xd9, 0x7d, 0xe9, 0x61, 0x10, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -1026,7 +1030,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
out := new(QueryParamsResponse)
err := c.cc.Invoke(ctx, "/cosmos.distribution.Query/Params", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Query/Params", in, out, opts...)
if err != nil {
return nil, err
}
@ -1035,7 +1039,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts .
func (c *queryClient) ValidatorOutstandingRewards(ctx context.Context, in *QueryValidatorOutstandingRewardsRequest, opts ...grpc.CallOption) (*QueryValidatorOutstandingRewardsResponse, error) {
out := new(QueryValidatorOutstandingRewardsResponse)
err := c.cc.Invoke(ctx, "/cosmos.distribution.Query/ValidatorOutstandingRewards", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards", in, out, opts...)
if err != nil {
return nil, err
}
@ -1044,7 +1048,7 @@ func (c *queryClient) ValidatorOutstandingRewards(ctx context.Context, in *Query
func (c *queryClient) ValidatorCommission(ctx context.Context, in *QueryValidatorCommissionRequest, opts ...grpc.CallOption) (*QueryValidatorCommissionResponse, error) {
out := new(QueryValidatorCommissionResponse)
err := c.cc.Invoke(ctx, "/cosmos.distribution.Query/ValidatorCommission", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Query/ValidatorCommission", in, out, opts...)
if err != nil {
return nil, err
}
@ -1053,7 +1057,7 @@ func (c *queryClient) ValidatorCommission(ctx context.Context, in *QueryValidato
func (c *queryClient) ValidatorSlashes(ctx context.Context, in *QueryValidatorSlashesRequest, opts ...grpc.CallOption) (*QueryValidatorSlashesResponse, error) {
out := new(QueryValidatorSlashesResponse)
err := c.cc.Invoke(ctx, "/cosmos.distribution.Query/ValidatorSlashes", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Query/ValidatorSlashes", in, out, opts...)
if err != nil {
return nil, err
}
@ -1062,7 +1066,7 @@ func (c *queryClient) ValidatorSlashes(ctx context.Context, in *QueryValidatorSl
func (c *queryClient) DelegationRewards(ctx context.Context, in *QueryDelegationRewardsRequest, opts ...grpc.CallOption) (*QueryDelegationRewardsResponse, error) {
out := new(QueryDelegationRewardsResponse)
err := c.cc.Invoke(ctx, "/cosmos.distribution.Query/DelegationRewards", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Query/DelegationRewards", in, out, opts...)
if err != nil {
return nil, err
}
@ -1071,7 +1075,7 @@ func (c *queryClient) DelegationRewards(ctx context.Context, in *QueryDelegation
func (c *queryClient) DelegationTotalRewards(ctx context.Context, in *QueryDelegationTotalRewardsRequest, opts ...grpc.CallOption) (*QueryDelegationTotalRewardsResponse, error) {
out := new(QueryDelegationTotalRewardsResponse)
err := c.cc.Invoke(ctx, "/cosmos.distribution.Query/DelegationTotalRewards", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Query/DelegationTotalRewards", in, out, opts...)
if err != nil {
return nil, err
}
@ -1080,7 +1084,7 @@ func (c *queryClient) DelegationTotalRewards(ctx context.Context, in *QueryDeleg
func (c *queryClient) DelegatorValidators(ctx context.Context, in *QueryDelegatorValidatorsRequest, opts ...grpc.CallOption) (*QueryDelegatorValidatorsResponse, error) {
out := new(QueryDelegatorValidatorsResponse)
err := c.cc.Invoke(ctx, "/cosmos.distribution.Query/DelegatorValidators", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Query/DelegatorValidators", in, out, opts...)
if err != nil {
return nil, err
}
@ -1089,7 +1093,7 @@ func (c *queryClient) DelegatorValidators(ctx context.Context, in *QueryDelegato
func (c *queryClient) DelegatorWithdrawAddress(ctx context.Context, in *QueryDelegatorWithdrawAddressRequest, opts ...grpc.CallOption) (*QueryDelegatorWithdrawAddressResponse, error) {
out := new(QueryDelegatorWithdrawAddressResponse)
err := c.cc.Invoke(ctx, "/cosmos.distribution.Query/DelegatorWithdrawAddress", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress", in, out, opts...)
if err != nil {
return nil, err
}
@ -1098,7 +1102,7 @@ func (c *queryClient) DelegatorWithdrawAddress(ctx context.Context, in *QueryDel
func (c *queryClient) CommunityPool(ctx context.Context, in *QueryCommunityPoolRequest, opts ...grpc.CallOption) (*QueryCommunityPoolResponse, error) {
out := new(QueryCommunityPoolResponse)
err := c.cc.Invoke(ctx, "/cosmos.distribution.Query/CommunityPool", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.distribution.v1beta1.Query/CommunityPool", in, out, opts...)
if err != nil {
return nil, err
}
@ -1173,7 +1177,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.distribution.Query/Params",
FullMethod: "/cosmos.distribution.v1beta1.Query/Params",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
@ -1191,7 +1195,7 @@ func _Query_ValidatorOutstandingRewards_Handler(srv interface{}, ctx context.Con
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.distribution.Query/ValidatorOutstandingRewards",
FullMethod: "/cosmos.distribution.v1beta1.Query/ValidatorOutstandingRewards",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).ValidatorOutstandingRewards(ctx, req.(*QueryValidatorOutstandingRewardsRequest))
@ -1209,7 +1213,7 @@ func _Query_ValidatorCommission_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.distribution.Query/ValidatorCommission",
FullMethod: "/cosmos.distribution.v1beta1.Query/ValidatorCommission",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).ValidatorCommission(ctx, req.(*QueryValidatorCommissionRequest))
@ -1227,7 +1231,7 @@ func _Query_ValidatorSlashes_Handler(srv interface{}, ctx context.Context, dec f
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.distribution.Query/ValidatorSlashes",
FullMethod: "/cosmos.distribution.v1beta1.Query/ValidatorSlashes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).ValidatorSlashes(ctx, req.(*QueryValidatorSlashesRequest))
@ -1245,7 +1249,7 @@ func _Query_DelegationRewards_Handler(srv interface{}, ctx context.Context, dec
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.distribution.Query/DelegationRewards",
FullMethod: "/cosmos.distribution.v1beta1.Query/DelegationRewards",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).DelegationRewards(ctx, req.(*QueryDelegationRewardsRequest))
@ -1263,7 +1267,7 @@ func _Query_DelegationTotalRewards_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.distribution.Query/DelegationTotalRewards",
FullMethod: "/cosmos.distribution.v1beta1.Query/DelegationTotalRewards",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).DelegationTotalRewards(ctx, req.(*QueryDelegationTotalRewardsRequest))
@ -1281,7 +1285,7 @@ func _Query_DelegatorValidators_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.distribution.Query/DelegatorValidators",
FullMethod: "/cosmos.distribution.v1beta1.Query/DelegatorValidators",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).DelegatorValidators(ctx, req.(*QueryDelegatorValidatorsRequest))
@ -1299,7 +1303,7 @@ func _Query_DelegatorWithdrawAddress_Handler(srv interface{}, ctx context.Contex
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.distribution.Query/DelegatorWithdrawAddress",
FullMethod: "/cosmos.distribution.v1beta1.Query/DelegatorWithdrawAddress",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).DelegatorWithdrawAddress(ctx, req.(*QueryDelegatorWithdrawAddressRequest))
@ -1317,7 +1321,7 @@ func _Query_CommunityPool_Handler(srv interface{}, ctx context.Context, dec func
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.distribution.Query/CommunityPool",
FullMethod: "/cosmos.distribution.v1beta1.Query/CommunityPool",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).CommunityPool(ctx, req.(*QueryCommunityPoolRequest))
@ -1326,7 +1330,7 @@ func _Query_CommunityPool_Handler(srv interface{}, ctx context.Context, dec func
}
var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.distribution.Query",
ServiceName: "cosmos.distribution.v1beta1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -1367,7 +1371,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/distribution/query.proto",
Metadata: "cosmos/distribution/v1beta1/query.proto",
}
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) {

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@ func RegisterCodec(cdc *codec.LegacyAmino) {
func RegisterInterfaces(registry types.InterfaceRegistry) {
registry.RegisterImplementations((*sdk.Msg)(nil), &MsgSubmitEvidence{})
registry.RegisterInterface(
"cosmos_sdk.evidence.v1.Evidence",
"cosmos.evidence.v1beta1.Evidence",
(*exported.Evidence)(nil),
&Equivocation{},
)

View File

@ -1,18 +1,16 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/evidence/evidence.proto
// source: cosmos/evidence/v1beta1/evidence.proto
package types
import (
bytes "bytes"
fmt "fmt"
types "github.com/cosmos/cosmos-sdk/codec/types"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
_ "github.com/golang/protobuf/ptypes/timestamp"
_ "github.com/regen-network/cosmos-proto"
io "io"
math "math"
math_bits "math/bits"
@ -31,46 +29,6 @@ var _ = time.Kitchen
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// MsgSubmitEvidence defines an sdk.Msg type that supports submitting arbitrary
// Evidence.
type MsgSubmitEvidence struct {
Submitter github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=submitter,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"submitter,omitempty"`
Evidence *types.Any `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence,omitempty"`
}
func (m *MsgSubmitEvidence) Reset() { *m = MsgSubmitEvidence{} }
func (m *MsgSubmitEvidence) String() string { return proto.CompactTextString(m) }
func (*MsgSubmitEvidence) ProtoMessage() {}
func (*MsgSubmitEvidence) Descriptor() ([]byte, []int) {
return fileDescriptor_a2cafccc38cf08ce, []int{0}
}
func (m *MsgSubmitEvidence) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgSubmitEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgSubmitEvidence.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgSubmitEvidence) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgSubmitEvidence.Merge(m, src)
}
func (m *MsgSubmitEvidence) XXX_Size() int {
return m.Size()
}
func (m *MsgSubmitEvidence) XXX_DiscardUnknown() {
xxx_messageInfo_MsgSubmitEvidence.DiscardUnknown(m)
}
var xxx_messageInfo_MsgSubmitEvidence proto.InternalMessageInfo
// Equivocation implements the Evidence interface and defines evidence of double
// signing misbehavior.
type Equivocation struct {
@ -83,7 +41,7 @@ type Equivocation struct {
func (m *Equivocation) Reset() { *m = Equivocation{} }
func (*Equivocation) ProtoMessage() {}
func (*Equivocation) Descriptor() ([]byte, []int) {
return fileDescriptor_a2cafccc38cf08ce, []int{1}
return fileDescriptor_dd143e71a177f0dd, []int{0}
}
func (m *Equivocation) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -113,69 +71,38 @@ func (m *Equivocation) XXX_DiscardUnknown() {
var xxx_messageInfo_Equivocation proto.InternalMessageInfo
func init() {
proto.RegisterType((*MsgSubmitEvidence)(nil), "cosmos.evidence.MsgSubmitEvidence")
proto.RegisterType((*Equivocation)(nil), "cosmos.evidence.Equivocation")
proto.RegisterType((*Equivocation)(nil), "cosmos.evidence.v1beta1.Equivocation")
}
func init() { proto.RegisterFile("cosmos/evidence/evidence.proto", fileDescriptor_a2cafccc38cf08ce) }
var fileDescriptor_a2cafccc38cf08ce = []byte{
// 416 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x3f, 0xeb, 0xd3, 0x40,
0x18, 0xce, 0xf9, 0xab, 0x3f, 0xe2, 0x59, 0xd0, 0x5f, 0x28, 0x12, 0x3b, 0xdc, 0x95, 0x4c, 0x5d,
0x7a, 0x41, 0x5d, 0xa4, 0x83, 0xd0, 0x48, 0x27, 0x51, 0x21, 0x3a, 0xb9, 0x94, 0xfc, 0x39, 0xd3,
0x60, 0x93, 0x8b, 0xb9, 0x4b, 0x35, 0xf8, 0x05, 0x1c, 0x3b, 0x3a, 0x76, 0x14, 0x67, 0x3f, 0x44,
0x71, 0xea, 0xe8, 0x14, 0x25, 0xfd, 0x06, 0x8e, 0x05, 0x41, 0x7a, 0xb9, 0xb4, 0x60, 0x41, 0x9c,
0x72, 0xef, 0xfb, 0x3e, 0xf7, 0x3c, 0xcf, 0xfb, 0xe4, 0x20, 0x0a, 0x18, 0x4f, 0x18, 0xb7, 0xe9,
0x32, 0x0e, 0x69, 0x1a, 0xd0, 0xe3, 0x81, 0x64, 0x39, 0x13, 0xcc, 0xb8, 0xd5, 0xcc, 0x49, 0xdb,
0xee, 0xf7, 0x22, 0x16, 0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f, 0x18, 0x3d, 0x78,
0x3d, 0x63, 0xef, 0x68, 0x6e, 0x5e, 0x48, 0xc2, 0xa6, 0x30, 0x3e, 0xc0, 0xab, 0x80, 0xa5, 0x9c,
0xa6, 0xbc, 0xe0, 0x33, 0xaf, 0x59, 0xcf, 0xec, 0xc8, 0x5c, 0x9e, 0xfd, 0xaa, 0xb0, 0x59, 0x7a,
0xc9, 0x62, 0x6c, 0x9d, 0x41, 0xac, 0x7d, 0x85, 0xc9, 0x7f, 0x64, 0xf6, 0x98, 0xa5, 0xbc, 0x0d,
0xed, 0xf6, 0x91, 0x45, 0x75, 0xc6, 0xfa, 0x61, 0xf7, 0x4f, 0x6b, 0xac, 0x39, 0x4f, 0x3e, 0xd7,
0x08, 0x6c, 0x6a, 0x04, 0xb6, 0x35, 0x02, 0x3f, 0x6b, 0x04, 0x56, 0x3b, 0xa4, 0x6d, 0x77, 0x48,
0xfb, 0xbe, 0x43, 0xda, 0xab, 0x7f, 0xff, 0x9d, 0xf7, 0xa7, 0x07, 0x28, 0x45, 0xfd, 0x4b, 0x99,
0xc6, 0x83, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x46, 0x6e, 0x6c, 0xb7, 0xa0, 0x02, 0x00, 0x00,
func init() {
proto.RegisterFile("cosmos/evidence/v1beta1/evidence.proto", fileDescriptor_dd143e71a177f0dd)
}
func (this *MsgSubmitEvidence) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*MsgSubmitEvidence)
if !ok {
that2, ok := that.(MsgSubmitEvidence)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if !bytes.Equal(this.Submitter, that1.Submitter) {
return false
}
if !this.Evidence.Equal(that1.Evidence) {
return false
}
return true
var fileDescriptor_dd143e71a177f0dd = []byte{
// 336 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52,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0xa5, 0x16, 0x17, 0x4b, 0xb0, 0x28, 0x30, 0x6a, 0xf0, 0x38, 0xf9,
0x7d, 0xba, 0x27, 0x2f, 0x51, 0x99, 0x98, 0x9b, 0x63, 0xa5, 0x84, 0xa1, 0x44, 0xe9, 0xd7, 0x3d,
0x79, 0xbd, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x68, 0xb0, 0x41,
0x28, 0xdd, 0xe2, 0x94, 0x6c, 0xfd, 0x92, 0xca, 0x82, 0xd4, 0x62, 0x3d, 0xe7, 0xfc, 0xbc, 0x62,
0x47, 0x88, 0x96, 0x20, 0x01, 0xb8, 0x29, 0x50, 0x11, 0x2b, 0x8e, 0x8e, 0x05, 0xf2, 0x0c, 0x33,
0x16, 0xc8, 0x33, 0x38, 0x79, 0xaf, 0x78, 0x24, 0xc7, 0x78, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47,
0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d,
0xc7, 0x72, 0x0c, 0x51, 0xba, 0x78, 0x6d, 0xaa, 0x40, 0xc4, 0x16, 0xd8, 0xd2, 0x24, 0x36, 0x70,
0x68, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x92, 0x83, 0xd6, 0xcd, 0x01, 0x00, 0x00,
}
func (this *Equivocation) Equal(that interface{}) bool {
if that == nil {
return this == nil
@ -209,48 +136,6 @@ func (this *Equivocation) Equal(that interface{}) bool {
}
return true
}
func (m *MsgSubmitEvidence) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *MsgSubmitEvidence) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *MsgSubmitEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.Evidence != nil {
{
size, err := m.Evidence.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintEvidence(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if len(m.Submitter) > 0 {
i -= len(m.Submitter)
copy(dAtA[i:], m.Submitter)
i = encodeVarintEvidence(dAtA, i, uint64(len(m.Submitter)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *Equivocation) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@ -283,12 +168,12 @@ func (m *Equivocation) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i--
dAtA[i] = 0x18
}
n2, err2 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):])
if err2 != nil {
return 0, err2
n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):])
if err1 != nil {
return 0, err1
}
i -= n2
i = encodeVarintEvidence(dAtA, i, uint64(n2))
i -= n1
i = encodeVarintEvidence(dAtA, i, uint64(n1))
i--
dAtA[i] = 0x12
if m.Height != 0 {
@ -310,23 +195,6 @@ func encodeVarintEvidence(dAtA []byte, offset int, v uint64) int {
dAtA[offset] = uint8(v)
return base
}
func (m *MsgSubmitEvidence) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.Submitter)
if l > 0 {
n += 1 + l + sovEvidence(uint64(l))
}
if m.Evidence != nil {
l = m.Evidence.Size()
n += 1 + l + sovEvidence(uint64(l))
}
return n
}
func (m *Equivocation) Size() (n int) {
if m == nil {
return 0
@ -354,129 +222,6 @@ func sovEvidence(x uint64) (n int) {
func sozEvidence(x uint64) (n int) {
return sovEvidence(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *MsgSubmitEvidence) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowEvidence
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: MsgSubmitEvidence: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: MsgSubmitEvidence: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Submitter", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowEvidence
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthEvidence
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthEvidence
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Submitter = append(m.Submitter[:0], dAtA[iNdEx:postIndex]...)
if m.Submitter == nil {
m.Submitter = []byte{}
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Evidence", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowEvidence
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthEvidence
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthEvidence
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Evidence == nil {
m.Evidence = &types.Any{}
}
if err := m.Evidence.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipEvidence(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthEvidence
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthEvidence
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func (m *Equivocation) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/evidence/genesis.proto
// source: cosmos/evidence/v1beta1/genesis.proto
package types
@ -32,7 +32,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_948832e7dde7529c, []int{0}
return fileDescriptor_c610c52c26e0e202, []int{0}
}
func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -69,25 +69,28 @@ func (m *GenesisState) GetEvidence() []*types.Any {
}
func init() {
proto.RegisterType((*GenesisState)(nil), "cosmos.evidence.GenesisState")
proto.RegisterType((*GenesisState)(nil), "cosmos.evidence.v1beta1.GenesisState")
}
func init() { proto.RegisterFile("cosmos/evidence/genesis.proto", fileDescriptor_948832e7dde7529c) }
func init() {
proto.RegisterFile("cosmos/evidence/v1beta1/genesis.proto", fileDescriptor_c610c52c26e0e202)
}
var fileDescriptor_948832e7dde7529c = []byte{
// 183 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4d, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x2d, 0xcb, 0x4c, 0x49, 0xcd, 0x4b, 0x4e, 0xd5, 0x4f, 0x4f, 0xcd, 0x4b,
0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x87, 0x48, 0xeb, 0xc1, 0xa4,
0xa5, 0x24, 0xd3, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0xc1, 0xd2, 0x49, 0xa5, 0x69, 0xfa, 0x89,
0x79, 0x95, 0x10, 0xb5, 0x4a, 0x0e, 0x5c, 0x3c, 0xee, 0x10, 0xcd, 0xc1, 0x25, 0x89, 0x25, 0xa9,
0x42, 0x06, 0x5c, 0x1c, 0x30, 0x6d, 0x12, 0x8c, 0x0a, 0xcc, 0x1a, 0xdc, 0x46, 0x22, 0x7a, 0x10,
0xdd, 0x7a, 0x30, 0xdd, 0x7a, 0x8e, 0x79, 0x95, 0x41, 0x70, 0x55, 0x4e, 0xee, 0x27, 0x1e, 0xc9,
0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e,
0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xa5, 0x9b, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97,
0x9c, 0x9f, 0xab, 0x0f, 0x75, 0x31, 0x84, 0xd2, 0x2d, 0x4e, 0xc9, 0xd6, 0xaf, 0x40, 0x38, 0xbf,
0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x6c, 0x81, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x31,
0xaa, 0x2f, 0xff, 0xde, 0x00, 0x00, 0x00,
var fileDescriptor_c610c52c26e0e202 = []byte{
// 195 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 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,
0x00, 0x00, 0x00,
}
func (m *GenesisState) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/evidence/query.proto
// source: cosmos/evidence/v1beta1/query.proto
package types
@ -41,7 +41,7 @@ func (m *QueryEvidenceRequest) Reset() { *m = QueryEvidenceRequest{} }
func (m *QueryEvidenceRequest) String() string { return proto.CompactTextString(m) }
func (*QueryEvidenceRequest) ProtoMessage() {}
func (*QueryEvidenceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6afffc78347cbc5e, []int{0}
return fileDescriptor_07043de1a84d215a, []int{0}
}
func (m *QueryEvidenceRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -87,7 +87,7 @@ func (m *QueryEvidenceResponse) Reset() { *m = QueryEvidenceResponse{} }
func (m *QueryEvidenceResponse) String() string { return proto.CompactTextString(m) }
func (*QueryEvidenceResponse) ProtoMessage() {}
func (*QueryEvidenceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6afffc78347cbc5e, []int{1}
return fileDescriptor_07043de1a84d215a, []int{1}
}
func (m *QueryEvidenceResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -133,7 +133,7 @@ func (m *QueryAllEvidenceRequest) Reset() { *m = QueryAllEvidenceRequest
func (m *QueryAllEvidenceRequest) String() string { return proto.CompactTextString(m) }
func (*QueryAllEvidenceRequest) ProtoMessage() {}
func (*QueryAllEvidenceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6afffc78347cbc5e, []int{2}
return fileDescriptor_07043de1a84d215a, []int{2}
}
func (m *QueryAllEvidenceRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -181,7 +181,7 @@ func (m *QueryAllEvidenceResponse) Reset() { *m = QueryAllEvidenceRespon
func (m *QueryAllEvidenceResponse) String() string { return proto.CompactTextString(m) }
func (*QueryAllEvidenceResponse) ProtoMessage() {}
func (*QueryAllEvidenceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6afffc78347cbc5e, []int{3}
return fileDescriptor_07043de1a84d215a, []int{3}
}
func (m *QueryAllEvidenceResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -225,41 +225,44 @@ func (m *QueryAllEvidenceResponse) GetPagination() *query.PageResponse {
}
func init() {
proto.RegisterType((*QueryEvidenceRequest)(nil), "cosmos.evidence.QueryEvidenceRequest")
proto.RegisterType((*QueryEvidenceResponse)(nil), "cosmos.evidence.QueryEvidenceResponse")
proto.RegisterType((*QueryAllEvidenceRequest)(nil), "cosmos.evidence.QueryAllEvidenceRequest")
proto.RegisterType((*QueryAllEvidenceResponse)(nil), "cosmos.evidence.QueryAllEvidenceResponse")
proto.RegisterType((*QueryEvidenceRequest)(nil), "cosmos.evidence.v1beta1.QueryEvidenceRequest")
proto.RegisterType((*QueryEvidenceResponse)(nil), "cosmos.evidence.v1beta1.QueryEvidenceResponse")
proto.RegisterType((*QueryAllEvidenceRequest)(nil), "cosmos.evidence.v1beta1.QueryAllEvidenceRequest")
proto.RegisterType((*QueryAllEvidenceResponse)(nil), "cosmos.evidence.v1beta1.QueryAllEvidenceResponse")
}
func init() { proto.RegisterFile("cosmos/evidence/query.proto", fileDescriptor_6afffc78347cbc5e) }
func init() {
proto.RegisterFile("cosmos/evidence/v1beta1/query.proto", fileDescriptor_07043de1a84d215a)
}
var fileDescriptor_6afffc78347cbc5e = []byte{
// 402 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x41, 0x4f, 0xdb, 0x30,
0x1c, 0xc5, 0x93, 0x4d, 0x9b, 0x2a, 0xb7, 0xd3, 0x24, 0xab, 0xd3, 0xda, 0x4c, 0xcb, 0xa6, 0x48,
0x9b, 0xba, 0x43, 0xed, 0xa9, 0x70, 0x00, 0x6e, 0xad, 0x84, 0x28, 0x37, 0x88, 0x38, 0x81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, 0x64, 0xb5, 0x53, 0x47, 0x19, 0x3d,
0x52, 0xf4, 0xa8, 0x4b, 0x53, 0xfb, 0x55, 0x65, 0x9d, 0x80, 0xef, 0xd2, 0xaa, 0x1b, 0x45, 0xab,
0x9b, 0xd8, 0x05, 0x60, 0xd9, 0x50, 0x6e, 0xd7, 0x44, 0x79, 0xa5, 0x59, 0xcd, 0x47, 0x8e, 0xaf,
0xe4, 0x76, 0x41, 0x6c, 0xdd, 0xe8, 0xa0, 0xb1, 0x6e, 0x5b, 0x0a, 0xf9, 0x71, 0x33, 0x24, 0xdc,
0x7b, 0x43, 0xf2, 0x41, 0x92, 0x18, 0x65, 0x24, 0x59, 0x42, 0x11, 0xa5, 0x73, 0xaf, 0x83, 0x4f,
0x12, 0x05, 0x9e, 0x81, 0x8a, 0x62, 0x81, 0x7f, 0xd0, 0xca, 0xd1, 0x40, 0x65, 0xdf, 0xd1, 0xf8,
0xbb, 0x49, 0x96, 0x05, 0x5a, 0x1a, 0xf4, 0x40, 0xb5, 0xb0, 0x57, 0xd8, 0x2a, 0x7f, 0x71, 0xbd,
0x65, 0xe3, 0xdf, 0x3b, 0x94, 0x2a, 0xa5, 0x77, 0x70, 0x37, 0x33, 0xf5, 0xe9, 0xcc, 0xd4, 0x9f,
0x66, 0xa6, 0x7e, 0x3b, 0x37, 0xb5, 0xe9, 0xdc, 0xd4, 0x1e, 0xe6, 0xa6, 0x76, 0xda, 0x2e, 0x1c,
0xab, 0xfc, 0x90, 0x67, 0x97, 0x36, 0xf7, 0xae, 0xf0, 0x64, 0xf9, 0x7f, 0x88, 0x34, 0x26, 0xdc,
0xfd, 0x2c, 0x9b, 0xde, 0x7a, 0x09, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x1c, 0xab, 0xe8, 0x3f, 0x03,
var fileDescriptor_07043de1a84d215a = []byte{
// 418 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94,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0xa7, 0x72, 0x20,
0xf5, 0x5d, 0x51, 0x8f, 0x8e, 0x98, 0xce, 0xf0, 0xfa, 0x70, 0xed, 0x64, 0x9e, 0x52, 0x11, 0xdc,
0x2f, 0xd7, 0xf2, 0xea, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa9, 0x7b, 0x88, 0x0a, 0x96, 0x03,
0x00, 0x00,
}
@ -291,7 +294,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) Evidence(ctx context.Context, in *QueryEvidenceRequest, opts ...grpc.CallOption) (*QueryEvidenceResponse, error) {
out := new(QueryEvidenceResponse)
err := c.cc.Invoke(ctx, "/cosmos.evidence.Query/Evidence", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.evidence.v1beta1.Query/Evidence", in, out, opts...)
if err != nil {
return nil, err
}
@ -300,7 +303,7 @@ func (c *queryClient) Evidence(ctx context.Context, in *QueryEvidenceRequest, op
func (c *queryClient) AllEvidence(ctx context.Context, in *QueryAllEvidenceRequest, opts ...grpc.CallOption) (*QueryAllEvidenceResponse, error) {
out := new(QueryAllEvidenceResponse)
err := c.cc.Invoke(ctx, "/cosmos.evidence.Query/AllEvidence", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.evidence.v1beta1.Query/AllEvidence", in, out, opts...)
if err != nil {
return nil, err
}
@ -340,7 +343,7 @@ func _Query_Evidence_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.evidence.Query/Evidence",
FullMethod: "/cosmos.evidence.v1beta1.Query/Evidence",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Evidence(ctx, req.(*QueryEvidenceRequest))
@ -358,7 +361,7 @@ func _Query_AllEvidence_Handler(srv interface{}, ctx context.Context, dec func(i
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.evidence.Query/AllEvidence",
FullMethod: "/cosmos.evidence.v1beta1.Query/AllEvidence",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).AllEvidence(ctx, req.(*QueryAllEvidenceRequest))
@ -367,7 +370,7 @@ func _Query_AllEvidence_Handler(srv interface{}, ctx context.Context, dec func(i
}
var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.evidence.Query",
ServiceName: "cosmos.evidence.v1beta1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -380,7 +383,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/evidence/query.proto",
Metadata: "cosmos/evidence/v1beta1/query.proto",
}
func (m *QueryEvidenceRequest) Marshal() (dAtA []byte, err error) {

407
x/evidence/types/tx.pb.go Normal file
View File

@ -0,0 +1,407 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/evidence/v1beta1/tx.proto
package types
import (
bytes "bytes"
fmt "fmt"
types "github.com/cosmos/cosmos-sdk/codec/types"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/regen-network/cosmos-proto"
io "io"
math "math"
math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// MsgSubmitEvidence defines an sdk.Msg type that supports submitting arbitrary
// Evidence.
type MsgSubmitEvidence struct {
Submitter github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=submitter,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"submitter,omitempty"`
Evidence *types.Any `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence,omitempty"`
}
func (m *MsgSubmitEvidence) Reset() { *m = MsgSubmitEvidence{} }
func (m *MsgSubmitEvidence) String() string { return proto.CompactTextString(m) }
func (*MsgSubmitEvidence) ProtoMessage() {}
func (*MsgSubmitEvidence) Descriptor() ([]byte, []int) {
return fileDescriptor_3e3242cb23c956e0, []int{0}
}
func (m *MsgSubmitEvidence) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *MsgSubmitEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_MsgSubmitEvidence.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *MsgSubmitEvidence) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgSubmitEvidence.Merge(m, src)
}
func (m *MsgSubmitEvidence) XXX_Size() int {
return m.Size()
}
func (m *MsgSubmitEvidence) XXX_DiscardUnknown() {
xxx_messageInfo_MsgSubmitEvidence.DiscardUnknown(m)
}
var xxx_messageInfo_MsgSubmitEvidence proto.InternalMessageInfo
func init() {
proto.RegisterType((*MsgSubmitEvidence)(nil), "cosmos.evidence.v1beta1.MsgSubmitEvidence")
}
func init() { proto.RegisterFile("cosmos/evidence/v1beta1/tx.proto", fileDescriptor_3e3242cb23c956e0) }
var fileDescriptor_3e3242cb23c956e0 = []byte{
// 275 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce,
0xcd, 0x2f, 0xd6, 0x4f, 0x2d, 0xcb, 0x4c, 0x49, 0xcd, 0x4b, 0x4e, 0xd5, 0x2f, 0x33, 0x4c, 0x4a,
0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x87, 0xa8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, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2,
0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0xf0, 0xbb, 0xae, 0x02, 0x11, 0xd2, 0x60, 0x87,
0x26, 0xb1, 0x81, 0x2d, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xcf, 0x20, 0xcf, 0x5a, 0x89,
0x01, 0x00, 0x00,
}
func (this *MsgSubmitEvidence) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*MsgSubmitEvidence)
if !ok {
that2, ok := that.(MsgSubmitEvidence)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if !bytes.Equal(this.Submitter, that1.Submitter) {
return false
}
if !this.Evidence.Equal(that1.Evidence) {
return false
}
return true
}
func (m *MsgSubmitEvidence) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *MsgSubmitEvidence) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *MsgSubmitEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.Evidence != nil {
{
size, err := m.Evidence.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintTx(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x12
}
if len(m.Submitter) > 0 {
i -= len(m.Submitter)
copy(dAtA[i:], m.Submitter)
i = encodeVarintTx(dAtA, i, uint64(len(m.Submitter)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func encodeVarintTx(dAtA []byte, offset int, v uint64) int {
offset -= sovTx(v)
base := offset
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
v >>= 7
offset++
}
dAtA[offset] = uint8(v)
return base
}
func (m *MsgSubmitEvidence) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.Submitter)
if l > 0 {
n += 1 + l + sovTx(uint64(l))
}
if m.Evidence != nil {
l = m.Evidence.Size()
n += 1 + l + sovTx(uint64(l))
}
return n
}
func sovTx(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7
}
func sozTx(x uint64) (n int) {
return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *MsgSubmitEvidence) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: MsgSubmitEvidence: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: MsgSubmitEvidence: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Submitter", wireType)
}
var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if byteLen < 0 {
return ErrInvalidLengthTx
}
postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Submitter = append(m.Submitter[:0], dAtA[iNdEx:postIndex]...)
if m.Submitter == nil {
m.Submitter = []byte{}
}
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Evidence", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthTx
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.Evidence == nil {
m.Evidence = &types.Any{}
}
if err := m.Evidence.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
if err != nil {
return err
}
if skippy < 0 {
return ErrInvalidLengthTx
}
if (iNdEx + skippy) < 0 {
return ErrInvalidLengthTx
}
if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
iNdEx += skippy
}
}
if iNdEx > l {
return io.ErrUnexpectedEOF
}
return nil
}
func skipTx(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
depth := 0
for iNdEx < l {
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowTx
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
wireType := int(wire & 0x7)
switch wireType {
case 0:
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowTx
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
iNdEx++
if dAtA[iNdEx-1] < 0x80 {
break
}
}
case 1:
iNdEx += 8
case 2:
var length int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return 0, ErrIntOverflowTx
}
if iNdEx >= l {
return 0, io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
length |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if length < 0 {
return 0, ErrInvalidLengthTx
}
iNdEx += length
case 3:
depth++
case 4:
if depth == 0 {
return 0, ErrUnexpectedEndOfGroupTx
}
depth--
case 5:
iNdEx += 4
default:
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
}
if iNdEx < 0 {
return 0, ErrInvalidLengthTx
}
if depth == 0 {
return iNdEx, nil
}
}
return 0, io.ErrUnexpectedEOF
}
var (
ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowTx = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/genutil/genesis.proto
// source: cosmos/genutil/v1beta1/genesis.proto
package types
@ -33,7 +33,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_b1d235bdf6af29d2, []int{0}
return fileDescriptor_31771d25e8d8f90f, []int{0}
}
func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -70,27 +70,30 @@ func (m *GenesisState) GetGenTxs() []encoding_json.RawMessage {
}
func init() {
proto.RegisterType((*GenesisState)(nil), "cosmos.genutil.GenesisState")
proto.RegisterType((*GenesisState)(nil), "cosmos.genutil.v1beta1.GenesisState")
}
func init() { proto.RegisterFile("cosmos/genutil/genesis.proto", fileDescriptor_b1d235bdf6af29d2) }
func init() {
proto.RegisterFile("cosmos/genutil/v1beta1/genesis.proto", fileDescriptor_31771d25e8d8f90f)
}
var fileDescriptor_b1d235bdf6af29d2 = []byte{
// 222 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0xce, 0x2f, 0xce,
0xcd, 0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52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x76, 0xb0,
0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xcd, 0xef, 0x65, 0x54, 0xf6, 0x00, 0x00, 0x00,
var fileDescriptor_31771d25e8d8f90f = []byte{
// 234 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, 0xf1, 0x53, 0x8b, 0x33, 0x8b, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0xc4,
0x20, 0xaa, 0xf4, 0xa0, 0xaa, 0xf4, 0xa0, 0xaa, 0xa4, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x4a,
0xf4, 0x41, 0x2c, 0x88, 0x6a, 0xa5, 0x04, 0x2e, 0x1e, 0x77, 0x88, 0xf6, 0xe0, 0x92, 0xc4, 0x92,
0x54, 0xa1, 0x00, 0x2e, 0xf6, 0xf4, 0xd4, 0xbc, 0xf8, 0x92, 0x8a, 0x62, 0x09, 0x46, 0x05, 0x66,
0x0d, 0x1e, 0x27, 0xf3, 0x57, 0xf7, 0xe4, 0xd9, 0xd2, 0x53, 0xf3, 0x4a, 0x2a, 0x8a, 0x3f, 0xdd,
0x93, 0xe7, 0xad, 0x4c, 0xcc, 0xcd, 0xb1, 0x52, 0x82, 0xf0, 0x95, 0x7e, 0xdd, 0x93, 0x97, 0x48,
0xcd, 0x4b, 0xce, 0x4f, 0xc9, 0xcc, 0x4b, 0xd7, 0xcf, 0x2a, 0xce, 0xcf, 0xd3, 0x0b, 0x4a, 0x2c,
0xf7, 0x4d, 0x2d, 0x2e, 0x4e, 0x4c, 0x4f, 0x0d, 0x02, 0x69, 0x0a, 0xa9, 0x28, 0x76, 0x72, 0x3b,
0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63,
0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x9d, 0xf4, 0xcc, 0x92, 0x8c, 0xd2,
0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0xa8, 0xd7, 0x20, 0x94, 0x6e, 0x71, 0x4a, 0xb6, 0x7e, 0x05,
0xdc, 0x9f, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x07, 0x1b, 0x03, 0x02, 0x00, 0x00,
0xff, 0xff, 0x6b, 0x84, 0x7a, 0x20, 0x06, 0x01, 0x00, 0x00,
}
func (m *GenesisState) Marshal() (dAtA []byte, err error) {

View File

@ -24,7 +24,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
&MsgDeposit{},
)
registry.RegisterInterface(
"cosmos_sdk.gov.v1.Content",
"cosmos.gov.v1beta1.Content",
(*Content)(nil),
&TextProposal{},
)

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/gov/genesis.proto
// source: cosmos/gov/v1beta1/genesis.proto
package types
@ -38,7 +38,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_b3a5f07e3880dc71, []int{0}
return fileDescriptor_43cd825e0fa7a627, []int{0}
}
func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -117,40 +117,41 @@ func (m *GenesisState) GetTallyParams() TallyParams {
}
func init() {
proto.RegisterType((*GenesisState)(nil), "cosmos.gov.GenesisState")
proto.RegisterType((*GenesisState)(nil), "cosmos.gov.v1beta1.GenesisState")
}
func init() { proto.RegisterFile("cosmos/gov/genesis.proto", fileDescriptor_b3a5f07e3880dc71) }
func init() { proto.RegisterFile("cosmos/gov/v1beta1/genesis.proto", fileDescriptor_43cd825e0fa7a627) }
var fileDescriptor_b3a5f07e3880dc71 = []byte{
// 424 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x41, 0x6f, 0x94, 0x40,
0x14, 0xc7, 0xc1, 0xee, 0xd6, 0x76, 0x76, 0xd7, 0xd4, 0x29, 0x46, 0x6c, 0x15, 0x36, 0x9c, 0xb8,
0x08, 0x49, 0x4d, 0x2f, 0xde, 0x24, 0x35, 0xc6, 0x5b, 0x43, 0x8d, 0x26, 0x7a, 0x20, 0xb4, 0x90,
0x91, 0x08, 0x7d, 0x84, 0x37, 0x12, 0xf7, 0x5b, 0xf8, 0x39, 0xfc, 0x24, 0xbd, 0xd9, 0xa3, 0x27,
0x34, 0xec, 0x37, 0xe8, 0x27, 0x30, 0xcc, 0x0c, 0xed, 0xb4, 0xe9, 0x69, 0x97, 0xf7, 0xfe, 0xbf,
0x5f, 0xe6, 0xbd, 0x3c, 0x62, 0x9f, 0x01, 0x56, 0x80, 0x21, 0x83, 0x36, 0x64, 0xf9, 0x79, 0x8e,
0x05, 0x06, 0x75, 0x03, 0x1c, 0x28, 0x91, 0x9d, 0x80, 0x41, 0xbb, 0x67, 0x31, 0x60, 0x20, 0xca,
0xe1, 0xf0, 0x4f, 0x26, 0xf6, 0x2c, 0x9d, 0x85, 0x56, 0x56, 0xbd, 0xdf, 0x13, 0x32, 0x7f, 0x27,
0x4d, 0x27, 0x3c, 0xe5, 0x39, 0x65, 0xc4, 0x42, 0x9e, 0x36, 0xbc, 0x38, 0x67, 0x49, 0xdd, 0x40,
0x0d, 0x98, 0x96, 0x49, 0x91, 0xd9, 0xe6, 0xd2, 0xf4, 0x27, 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
0x8d, 0xee, 0x87, 0xc2, 0xfd, 0x54, 0x77, 0x7f, 0x18, 0xfa, 0x4a, 0xbd, 0xaf, 0xd4, 0xbb, 0x52,
0xad, 0xa3, 0x5e, 0x3c, 0xe3, 0x5a, 0x32, 0xba, 0xe8, 0x1d, 0xf3, 0xb2, 0x77, 0xcc, 0x7f, 0xbd,
0x63, 0xfe, 0x5c, 0x3b, 0xc6, 0xe5, 0xda, 0x31, 0xfe, 0xac, 0x1d, 0xe3, 0xb3, 0xcf, 0x0a, 0xfe,
0xf5, 0xfb, 0x69, 0x70, 0x06, 0x55, 0xa8, 0x8e, 0x51, 0xfe, 0xbc, 0xc4, 0xec, 0x5b, 0xf8, 0x43,
0x5c, 0x26, 0x5f, 0xd5, 0x39, 0x9e, 0x6e, 0x8a, 0xe3, 0x7c, 0xf5, 0x3f, 0x00, 0x00, 0xff, 0xff,
0xd7, 0xec, 0x8f, 0xa2, 0xf0, 0x02, 0x00, 0x00,
var fileDescriptor_43cd825e0fa7a627 = []byte{
// 439 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x6e, 0xd3, 0x40,
0x10, 0x86, 0x63, 0x9a, 0x94, 0x76, 0x93, 0x20, 0x58, 0x82, 0x64, 0x35, 0xc1, 0x36, 0x3e, 0xe5,
0x82, 0xad, 0x16, 0x71, 0x41, 0xe2, 0x62, 0x55, 0x42, 0x3d, 0x20, 0x55, 0x2e, 0xe2, 0xc0, 0x25,
0xda, 0xc4, 0xab, 0xc5, 0x22, 0xe9, 0x58, 0x9e, 0xc5, 0x22, 0x6f, 0xc1, 0x73, 0xf0, 0x24, 0x3d,
0xf6, 0xc8, 0xc9, 0x20, 0xe7, 0x0d, 0xfa, 0x02, 0x20, 0xef, 0xae, 0xc1, 0x05, 0xc3, 0x29, 0xf1,
0xce, 0x3f, 0xdf, 0xb7, 0x3b, 0x1a, 0xe2, 0x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e, 0x9b,
0x13, 0x8c, 0x7f, 0x13, 0xa8, 0x20, 0xf7, 0xcc, 0xcd, 0x16, 0x19, 0xcb, 0xd9, 0x06, 0xed, 0x81,
0x67, 0xcd, 0x87, 0x27, 0x4f, 0xfe, 0xf3, 0xbc, 0x73, 0x15, 0x8c, 0x1e, 0xd7, 0xe0, 0x9b, 0xd2,
0x7d, 0xa4, 0x87, 0x79, 0x1b, 0xe3, 0xc7, 0xe3, 0xa4, 0x9d, 0xa6, 0x2b, 0x32, 0x2e, 0x40, 0x0f,
0x5b, 0x7b, 0xf6, 0x95, 0xc7, 0xfb, 0xc7, 0xf3, 0xeb, 0xf1, 0x6b, 0xcd, 0xcc, 0x68, 0x26, 0x5a,
0x73, 0x0b, 0xe2, 0xc7, 0xa3, 0xa2, 0x95, 0xa5, 0x0b, 0x32, 0x92, 0x6c, 0xbd, 0xde, 0x36, 0x8e,
0xbb, 0xca, 0xe1, 0x76, 0x39, 0xde, 0xd4, 0x39, 0xa3, 0x98, 0x1a, 0xc5, 0x43, 0xad, 0x68, 0x23,
0xfc, 0x78, 0x28, 0x5b, 0xc9, 0xe8, 0xaa, 0x72, 0xac, 0xeb, 0xca, 0xb1, 0xbe, 0x57, 0x8e, 0xf5,
0x79, 0xe7, 0xf4, 0xae, 0x77, 0x4e, 0xef, 0xeb, 0xce, 0xe9, 0xbd, 0x9b, 0x8b, 0x54, 0xbe, 0xff,
0xb8, 0x0c, 0x56, 0xb0, 0x09, 0xcd, 0x12, 0xeb, 0x9f, 0xa7, 0x98, 0x7c, 0x08, 0x3f, 0xa9, 0x8d,
0x96, 0xdb, 0x8c, 0xe3, 0x72, 0x5f, 0x2d, 0xf3, 0xb3, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x23,
0x30, 0xcd, 0xfb, 0x38, 0x03, 0x00, 0x00,
}
func (m *GenesisState) Marshal() (dAtA []byte, err error) {

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: cosmos/gov/query.proto
// source: cosmos/gov/v1beta1/query.proto
package types
@ -40,7 +40,7 @@ func (m *QueryProposalRequest) Reset() { *m = QueryProposalRequest{} }
func (m *QueryProposalRequest) String() string { return proto.CompactTextString(m) }
func (*QueryProposalRequest) ProtoMessage() {}
func (*QueryProposalRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{0}
return fileDescriptor_e35c0d133e91c0a2, []int{0}
}
func (m *QueryProposalRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -85,7 +85,7 @@ func (m *QueryProposalResponse) Reset() { *m = QueryProposalResponse{} }
func (m *QueryProposalResponse) String() string { return proto.CompactTextString(m) }
func (*QueryProposalResponse) ProtoMessage() {}
func (*QueryProposalResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{1}
return fileDescriptor_e35c0d133e91c0a2, []int{1}
}
func (m *QueryProposalResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -124,7 +124,7 @@ func (m *QueryProposalResponse) GetProposal() Proposal {
// QueryProposalsRequest is the request type for the Query/Proposals RPC method.
type QueryProposalsRequest struct {
// proposal_status defines the status of the proposals.
ProposalStatus ProposalStatus `protobuf:"varint,1,opt,name=proposal_status,json=proposalStatus,proto3,enum=cosmos.gov.ProposalStatus" json:"proposal_status,omitempty"`
ProposalStatus ProposalStatus `protobuf:"varint,1,opt,name=proposal_status,json=proposalStatus,proto3,enum=cosmos.gov.v1beta1.ProposalStatus" json:"proposal_status,omitempty"`
// voter defines the voter address for the proposals.
Voter github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=voter,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"voter,omitempty"`
// depositor defines the deposit addresses from the proposals.
@ -137,7 +137,7 @@ func (m *QueryProposalsRequest) Reset() { *m = QueryProposalsRequest{} }
func (m *QueryProposalsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryProposalsRequest) ProtoMessage() {}
func (*QueryProposalsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{2}
return fileDescriptor_e35c0d133e91c0a2, []int{2}
}
func (m *QueryProposalsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -205,7 +205,7 @@ func (m *QueryProposalsResponse) Reset() { *m = QueryProposalsResponse{}
func (m *QueryProposalsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryProposalsResponse) ProtoMessage() {}
func (*QueryProposalsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{3}
return fileDescriptor_e35c0d133e91c0a2, []int{3}
}
func (m *QueryProposalsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -260,7 +260,7 @@ func (m *QueryVoteRequest) Reset() { *m = QueryVoteRequest{} }
func (m *QueryVoteRequest) String() string { return proto.CompactTextString(m) }
func (*QueryVoteRequest) ProtoMessage() {}
func (*QueryVoteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{4}
return fileDescriptor_e35c0d133e91c0a2, []int{4}
}
func (m *QueryVoteRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -313,7 +313,7 @@ func (m *QueryVoteResponse) Reset() { *m = QueryVoteResponse{} }
func (m *QueryVoteResponse) String() string { return proto.CompactTextString(m) }
func (*QueryVoteResponse) ProtoMessage() {}
func (*QueryVoteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{5}
return fileDescriptor_e35c0d133e91c0a2, []int{5}
}
func (m *QueryVoteResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -361,7 +361,7 @@ func (m *QueryVotesRequest) Reset() { *m = QueryVotesRequest{} }
func (m *QueryVotesRequest) String() string { return proto.CompactTextString(m) }
func (*QueryVotesRequest) ProtoMessage() {}
func (*QueryVotesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{6}
return fileDescriptor_e35c0d133e91c0a2, []int{6}
}
func (m *QueryVotesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -416,7 +416,7 @@ func (m *QueryVotesResponse) Reset() { *m = QueryVotesResponse{} }
func (m *QueryVotesResponse) String() string { return proto.CompactTextString(m) }
func (*QueryVotesResponse) ProtoMessage() {}
func (*QueryVotesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{7}
return fileDescriptor_e35c0d133e91c0a2, []int{7}
}
func (m *QueryVotesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -469,7 +469,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} }
func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryParamsRequest) ProtoMessage() {}
func (*QueryParamsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{8}
return fileDescriptor_e35c0d133e91c0a2, []int{8}
}
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -519,7 +519,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} }
func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryParamsResponse) ProtoMessage() {}
func (*QueryParamsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{9}
return fileDescriptor_e35c0d133e91c0a2, []int{9}
}
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -581,7 +581,7 @@ func (m *QueryDepositRequest) Reset() { *m = QueryDepositRequest{} }
func (m *QueryDepositRequest) String() string { return proto.CompactTextString(m) }
func (*QueryDepositRequest) ProtoMessage() {}
func (*QueryDepositRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{10}
return fileDescriptor_e35c0d133e91c0a2, []int{10}
}
func (m *QueryDepositRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -634,7 +634,7 @@ func (m *QueryDepositResponse) Reset() { *m = QueryDepositResponse{} }
func (m *QueryDepositResponse) String() string { return proto.CompactTextString(m) }
func (*QueryDepositResponse) ProtoMessage() {}
func (*QueryDepositResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{11}
return fileDescriptor_e35c0d133e91c0a2, []int{11}
}
func (m *QueryDepositResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -682,7 +682,7 @@ func (m *QueryDepositsRequest) Reset() { *m = QueryDepositsRequest{} }
func (m *QueryDepositsRequest) String() string { return proto.CompactTextString(m) }
func (*QueryDepositsRequest) ProtoMessage() {}
func (*QueryDepositsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{12}
return fileDescriptor_e35c0d133e91c0a2, []int{12}
}
func (m *QueryDepositsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -736,7 +736,7 @@ func (m *QueryDepositsResponse) Reset() { *m = QueryDepositsResponse{} }
func (m *QueryDepositsResponse) String() string { return proto.CompactTextString(m) }
func (*QueryDepositsResponse) ProtoMessage() {}
func (*QueryDepositsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{13}
return fileDescriptor_e35c0d133e91c0a2, []int{13}
}
func (m *QueryDepositsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -789,7 +789,7 @@ func (m *QueryTallyResultRequest) Reset() { *m = QueryTallyResultRequest
func (m *QueryTallyResultRequest) String() string { return proto.CompactTextString(m) }
func (*QueryTallyResultRequest) ProtoMessage() {}
func (*QueryTallyResultRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{14}
return fileDescriptor_e35c0d133e91c0a2, []int{14}
}
func (m *QueryTallyResultRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -835,7 +835,7 @@ func (m *QueryTallyResultResponse) Reset() { *m = QueryTallyResultRespon
func (m *QueryTallyResultResponse) String() string { return proto.CompactTextString(m) }
func (*QueryTallyResultResponse) ProtoMessage() {}
func (*QueryTallyResultResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6efb1c1bc2595eda, []int{15}
return fileDescriptor_e35c0d133e91c0a2, []int{15}
}
func (m *QueryTallyResultResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -872,79 +872,81 @@ func (m *QueryTallyResultResponse) GetTally() TallyResult {
}
func init() {
proto.RegisterType((*QueryProposalRequest)(nil), "cosmos.gov.QueryProposalRequest")
proto.RegisterType((*QueryProposalResponse)(nil), "cosmos.gov.QueryProposalResponse")
proto.RegisterType((*QueryProposalsRequest)(nil), "cosmos.gov.QueryProposalsRequest")
proto.RegisterType((*QueryProposalsResponse)(nil), "cosmos.gov.QueryProposalsResponse")
proto.RegisterType((*QueryVoteRequest)(nil), "cosmos.gov.QueryVoteRequest")
proto.RegisterType((*QueryVoteResponse)(nil), "cosmos.gov.QueryVoteResponse")
proto.RegisterType((*QueryVotesRequest)(nil), "cosmos.gov.QueryVotesRequest")
proto.RegisterType((*QueryVotesResponse)(nil), "cosmos.gov.QueryVotesResponse")
proto.RegisterType((*QueryParamsRequest)(nil), "cosmos.gov.QueryParamsRequest")
proto.RegisterType((*QueryParamsResponse)(nil), "cosmos.gov.QueryParamsResponse")
proto.RegisterType((*QueryDepositRequest)(nil), "cosmos.gov.QueryDepositRequest")
proto.RegisterType((*QueryDepositResponse)(nil), "cosmos.gov.QueryDepositResponse")
proto.RegisterType((*QueryDepositsRequest)(nil), "cosmos.gov.QueryDepositsRequest")
proto.RegisterType((*QueryDepositsResponse)(nil), "cosmos.gov.QueryDepositsResponse")
proto.RegisterType((*QueryTallyResultRequest)(nil), "cosmos.gov.QueryTallyResultRequest")
proto.RegisterType((*QueryTallyResultResponse)(nil), "cosmos.gov.QueryTallyResultResponse")
proto.RegisterType((*QueryProposalRequest)(nil), "cosmos.gov.v1beta1.QueryProposalRequest")
proto.RegisterType((*QueryProposalResponse)(nil), "cosmos.gov.v1beta1.QueryProposalResponse")
proto.RegisterType((*QueryProposalsRequest)(nil), "cosmos.gov.v1beta1.QueryProposalsRequest")
proto.RegisterType((*QueryProposalsResponse)(nil), "cosmos.gov.v1beta1.QueryProposalsResponse")
proto.RegisterType((*QueryVoteRequest)(nil), "cosmos.gov.v1beta1.QueryVoteRequest")
proto.RegisterType((*QueryVoteResponse)(nil), "cosmos.gov.v1beta1.QueryVoteResponse")
proto.RegisterType((*QueryVotesRequest)(nil), "cosmos.gov.v1beta1.QueryVotesRequest")
proto.RegisterType((*QueryVotesResponse)(nil), "cosmos.gov.v1beta1.QueryVotesResponse")
proto.RegisterType((*QueryParamsRequest)(nil), "cosmos.gov.v1beta1.QueryParamsRequest")
proto.RegisterType((*QueryParamsResponse)(nil), "cosmos.gov.v1beta1.QueryParamsResponse")
proto.RegisterType((*QueryDepositRequest)(nil), "cosmos.gov.v1beta1.QueryDepositRequest")
proto.RegisterType((*QueryDepositResponse)(nil), "cosmos.gov.v1beta1.QueryDepositResponse")
proto.RegisterType((*QueryDepositsRequest)(nil), "cosmos.gov.v1beta1.QueryDepositsRequest")
proto.RegisterType((*QueryDepositsResponse)(nil), "cosmos.gov.v1beta1.QueryDepositsResponse")
proto.RegisterType((*QueryTallyResultRequest)(nil), "cosmos.gov.v1beta1.QueryTallyResultRequest")
proto.RegisterType((*QueryTallyResultResponse)(nil), "cosmos.gov.v1beta1.QueryTallyResultResponse")
}
func init() { proto.RegisterFile("cosmos/gov/query.proto", fileDescriptor_6efb1c1bc2595eda) }
func init() { proto.RegisterFile("cosmos/gov/v1beta1/query.proto", fileDescriptor_e35c0d133e91c0a2) }
var fileDescriptor_6efb1c1bc2595eda = []byte{
// 808 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00,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0x13, 0x9d, 0x6c, 0xf5, 0xe6, 0x60, 0x90,
0xe4, 0xae, 0x56, 0x8f, 0xcf, 0x0a, 0xca, 0xc9, 0x59, 0x41, 0xf9, 0x7e, 0x56, 0x50, 0xbe, 0x9c,
0x17, 0x12, 0x27, 0xe7, 0x85, 0xc4, 0xb7, 0xf3, 0x42, 0x62, 0x6f, 0x61, 0xe0, 0xfa, 0x7a, 0xcb,
0xbe, 0x2c, 0xd9, 0x12, 0x3b, 0x18, 0x65, 0x1f, 0x97, 0xcb, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff,
0x93, 0x13, 0x79, 0x06, 0xcd, 0x0a, 0x00, 0x00,
var fileDescriptor_e35c0d133e91c0a2 = []byte{
// 845 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x5d, 0x4f, 0x13, 0x59,
0x18, 0xee, 0x94, 0x16, 0xda, 0xb7, 0xc0, 0xee, 0x9e, 0x65, 0x77, 0x9b, 0x59, 0xd2, 0xb2, 0x93,
0x5d, 0xe8, 0xa2, 0x4c, 0x43, 0xd5, 0x98, 0x68, 0x34, 0xd2, 0x18, 0xd0, 0x90, 0x28, 0x16, 0xfc,
0x88, 0x26, 0x92, 0x69, 0x67, 0x32, 0x56, 0x4b, 0xcf, 0xd0, 0x73, 0xda, 0xd8, 0x84, 0xc4, 0x4b,
0xaf, 0x4c, 0x4c, 0xfc, 0x01, 0x5e, 0xf8, 0x5f, 0x0c, 0x97, 0x5c, 0x7a, 0x45, 0x0c, 0xfc, 0x0b,
0xe3, 0x85, 0x99, 0xf3, 0x31, 0x9d, 0x29, 0x6d, 0x67, 0x44, 0xe2, 0x15, 0xe5, 0x3d, 0xcf, 0xf3,
0xbc, 0x9f, 0xe7, 0x3d, 0x03, 0xb9, 0x1a, 0x26, 0x3b, 0x98, 0x14, 0x6d, 0xdc, 0x29, 0x76, 0x96,
0xab, 0x16, 0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 0xc9, 0x77, 0x01, 0x15, 0x06, 0x69, 0x0c,
0xfa, 0xa0, 0x50, 0xff, 0x8f, 0x80, 0xe4, 0x71, 0x6a, 0x31, 0x64, 0x42, 0xda, 0x7b, 0xb4, 0x50,
0x38, 0x53, 0x0e, 0x91, 0xba, 0x18, 0x05, 0xea, 0x79, 0xb9, 0x0f, 0x09, 0x77, 0xfb, 0xa1, 0x7f,
0x87, 0xb2, 0x7c, 0x8f, 0x92, 0xfa, 0x5f, 0x08, 0xca, 0x93, 0x7d, 0x04, 0x49, 0xb6, 0x86, 0xd1,
0x68, 0x86, 0x17, 0xf4, 0x7c, 0x18, 0xcc, 0x53, 0x7e, 0x02, 0xe3, 0x62, 0xdd, 0x0c, 0xe7, 0x04,
0x96, 0xad, 0xba, 0x10, 0x8a, 0xf3, 0xc4, 0x9f, 0xc2, 0x84, 0x98, 0x6c, 0x34, 0x9c, 0x15, 0xdc,
0x49, 0x6a, 0x21, 0x1c, 0xe8, 0xe9, 0x1b, 0x90, 0x92, 0x37, 0x0e, 0x85, 0xf2, 0x48, 0xf8, 0xd8,
0xf4, 0x5f, 0x5f, 0x2d, 0x86, 0x9e, 0x43, 0xc6, 0x37, 0xbf, 0xe8, 0xdc, 0x50, 0xee, 0xc9, 0x9b,
0xa5, 0x9e, 0x8f, 0x06, 0x96, 0xbe, 0xca, 0xe5, 0xfd, 0xa3, 0x9c, 0x72, 0x70, 0x94, 0x53, 0x3e,
0x1f, 0xe5, 0x94, 0xb7, 0xc7, 0xb9, 0xd8, 0xc1, 0x71, 0x2e, 0xf6, 0xe9, 0x38, 0x17, 0x7b, 0x5c,
0x18, 0xb9, 0x70, 0x5f, 0xb2, 0x0f, 0x71, 0xb6, 0x76, 0xab, 0xe3, 0xec, 0x1b, 0xfc, 0xc2, 0xb7,
0x00, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x58, 0xb0, 0xc3, 0x19, 0x0c, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -987,7 +989,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) Proposal(ctx context.Context, in *QueryProposalRequest, opts ...grpc.CallOption) (*QueryProposalResponse, error) {
out := new(QueryProposalResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.Query/Proposal", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta1.Query/Proposal", in, out, opts...)
if err != nil {
return nil, err
}
@ -996,7 +998,7 @@ func (c *queryClient) Proposal(ctx context.Context, in *QueryProposalRequest, op
func (c *queryClient) Proposals(ctx context.Context, in *QueryProposalsRequest, opts ...grpc.CallOption) (*QueryProposalsResponse, error) {
out := new(QueryProposalsResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.Query/Proposals", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta1.Query/Proposals", in, out, opts...)
if err != nil {
return nil, err
}
@ -1005,7 +1007,7 @@ func (c *queryClient) Proposals(ctx context.Context, in *QueryProposalsRequest,
func (c *queryClient) Vote(ctx context.Context, in *QueryVoteRequest, opts ...grpc.CallOption) (*QueryVoteResponse, error) {
out := new(QueryVoteResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.Query/Vote", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta1.Query/Vote", in, out, opts...)
if err != nil {
return nil, err
}
@ -1014,7 +1016,7 @@ func (c *queryClient) Vote(ctx context.Context, in *QueryVoteRequest, opts ...gr
func (c *queryClient) Votes(ctx context.Context, in *QueryVotesRequest, opts ...grpc.CallOption) (*QueryVotesResponse, error) {
out := new(QueryVotesResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.Query/Votes", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta1.Query/Votes", in, out, opts...)
if err != nil {
return nil, err
}
@ -1023,7 +1025,7 @@ func (c *queryClient) Votes(ctx context.Context, in *QueryVotesRequest, opts ...
func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
out := new(QueryParamsResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.Query/Params", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta1.Query/Params", in, out, opts...)
if err != nil {
return nil, err
}
@ -1032,7 +1034,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts .
func (c *queryClient) Deposit(ctx context.Context, in *QueryDepositRequest, opts ...grpc.CallOption) (*QueryDepositResponse, error) {
out := new(QueryDepositResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.Query/Deposit", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta1.Query/Deposit", in, out, opts...)
if err != nil {
return nil, err
}
@ -1041,7 +1043,7 @@ func (c *queryClient) Deposit(ctx context.Context, in *QueryDepositRequest, opts
func (c *queryClient) Deposits(ctx context.Context, in *QueryDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error) {
out := new(QueryDepositsResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.Query/Deposits", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta1.Query/Deposits", in, out, opts...)
if err != nil {
return nil, err
}
@ -1050,7 +1052,7 @@ func (c *queryClient) Deposits(ctx context.Context, in *QueryDepositsRequest, op
func (c *queryClient) TallyResult(ctx context.Context, in *QueryTallyResultRequest, opts ...grpc.CallOption) (*QueryTallyResultResponse, error) {
out := new(QueryTallyResultResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.Query/TallyResult", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta1.Query/TallyResult", in, out, opts...)
if err != nil {
return nil, err
}
@ -1120,7 +1122,7 @@ func _Query_Proposal_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.Query/Proposal",
FullMethod: "/cosmos.gov.v1beta1.Query/Proposal",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Proposal(ctx, req.(*QueryProposalRequest))
@ -1138,7 +1140,7 @@ func _Query_Proposals_Handler(srv interface{}, ctx context.Context, dec func(int
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.Query/Proposals",
FullMethod: "/cosmos.gov.v1beta1.Query/Proposals",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Proposals(ctx, req.(*QueryProposalsRequest))
@ -1156,7 +1158,7 @@ func _Query_Vote_Handler(srv interface{}, ctx context.Context, dec func(interfac
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.Query/Vote",
FullMethod: "/cosmos.gov.v1beta1.Query/Vote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Vote(ctx, req.(*QueryVoteRequest))
@ -1174,7 +1176,7 @@ func _Query_Votes_Handler(srv interface{}, ctx context.Context, dec func(interfa
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.Query/Votes",
FullMethod: "/cosmos.gov.v1beta1.Query/Votes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Votes(ctx, req.(*QueryVotesRequest))
@ -1192,7 +1194,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.Query/Params",
FullMethod: "/cosmos.gov.v1beta1.Query/Params",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
@ -1210,7 +1212,7 @@ func _Query_Deposit_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.Query/Deposit",
FullMethod: "/cosmos.gov.v1beta1.Query/Deposit",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Deposit(ctx, req.(*QueryDepositRequest))
@ -1228,7 +1230,7 @@ func _Query_Deposits_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.Query/Deposits",
FullMethod: "/cosmos.gov.v1beta1.Query/Deposits",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Deposits(ctx, req.(*QueryDepositsRequest))
@ -1246,7 +1248,7 @@ func _Query_TallyResult_Handler(srv interface{}, ctx context.Context, dec func(i
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.Query/TallyResult",
FullMethod: "/cosmos.gov.v1beta1.Query/TallyResult",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TallyResult(ctx, req.(*QueryTallyResultRequest))
@ -1255,7 +1257,7 @@ func _Query_TallyResult_Handler(srv interface{}, ctx context.Context, dec func(i
}
var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.gov.Query",
ServiceName: "cosmos.gov.v1beta1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -1292,7 +1294,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/gov/query.proto",
Metadata: "cosmos/gov/v1beta1/query.proto",
}
func (m *QueryProposalRequest) Marshal() (dAtA []byte, err error) {

1025
x/gov/types/tx.pb.go Normal file

File diff suppressed because it is too large Load Diff

View File

@ -269,38 +269,39 @@ func init() {
func init() { proto.RegisterFile("ibc/transfer/transfer.proto", fileDescriptor_08134a70fd29e656) }
var fileDescriptor_08134a70fd29e656 = []byte{
// 485 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xcf, 0x6e, 0xd3, 0x30,
0x18, 0x6f, 0x68, 0xda, 0x0d, 0xb7, 0x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 0x84, 0x3b, 0x45, 0xee, 0x9e, 0x8f, 0x8f, 0xe9, 0x9c, 0xf1,
0x6f, 0x0b, 0x88, 0x13, 0xc8, 0x80, 0x29, 0x6c, 0xa1, 0x03, 0x99, 0x53, 0x0a, 0x52, 0x56, 0x95,
0x1c, 0x92, 0x2d, 0x2c, 0x2b, 0x04, 0x21, 0xb8, 0xd0, 0x6f, 0x82, 0x68, 0x30, 0xf9, 0x78, 0xbd,
0xb2, 0x8d, 0x9b, 0x95, 0x6d, 0xfc, 0x59, 0xd9, 0xc6, 0xcf, 0xb5, 0xdd, 0xba, 0x59, 0xdb, 0xad,
0xdf, 0x6b, 0xbb, 0xf5, 0xf9, 0xf4, 0xce, 0x65, 0x7e, 0x0f, 0xd2, 0x88, 0x8e, 0xfe, 0xff, 0x0a,
0xe5, 0x6e, 0xa3, 0x6e, 0xf5, 0x9e, 0x5f, 0xfd, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xc4, 0xe2,
0x00, 0x27, 0x03, 0x00, 0x00,
// 505 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x4f, 0x6f, 0xd3, 0x30,
0x1c, 0x6d, 0xe8, 0x9f, 0x0d, 0x77, 0x43, 0x60, 0x8d, 0x91, 0x15, 0x94, 0x56, 0x39, 0xf5, 0xd2,
0x44, 0x05, 0x21, 0x24, 0x4e, 0xb4, 0x43, 0x88, 0x09, 0x21, 0x4d, 0x56, 0x4f, 0x5c, 0xa6, 0xc4,
0xf9, 0x91, 0x5a, 0x6d, 0xec, 0xca, 0x76, 0x06, 0x13, 0x5f, 0x82, 0xef, 0xc2, 0x97, 0xd8, 0x71,
0x47, 0x4e, 0x11, 0x6a, 0xbf, 0x41, 0x8f, 0x9c, 0x50, 0x62, 0xb7, 0xac, 0xd2, 0xb4, 0x93, 0xfd,
0xde, 0xfb, 0xf9, 0x97, 0xe7, 0xf7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59, 0x7a, 0xce, 0x9f, 0xa5, 0xe7, 0xfc, 0x5c, 0x79,
0xb5, 0x9b, 0x95, 0x57, 0xfb, 0xbd, 0xf2, 0x6a, 0x5f, 0x86, 0xf7, 0x0e, 0xf3, 0x7b, 0xc8, 0x62,
0x3a, 0xf8, 0xff, 0x8b, 0x94, 0xb3, 0x8d, 0x5b, 0xd5, 0xe3, 0x7e, 0xf5, 0x2f, 0x00, 0x00, 0xff,
0xff, 0x0d, 0x50, 0xec, 0xf7, 0x3f, 0x03, 0x00, 0x00,
}
func (m *MsgTransfer) Marshal() (dAtA []byte, err error) {

View File

@ -392,41 +392,42 @@ func init() {
func init() { proto.RegisterFile("ibc/connection/query.proto", fileDescriptor_5ee60d8b08ce3606) }
var fileDescriptor_5ee60d8b08ce3606 = []byte{
// 542 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xc1, 0x6e, 0xd3, 0x40,
0x10, 0xcd, 0x26, 0x6d, 0xd5, 0x4c, 0x02, 0x94, 0x55, 0x55, 0x8c, 0xa5, 0x38, 0xc1, 0x42, 0x90,
0x1e, 0x62, 0xa3, 0x54, 0x20, 0x81, 0xc4, 0xa5, 0x14, 0x44, 0xb8, 0x10, 0x56, 0x9c, 0xb8, 0x44,
0x89, 0xbd, 0x75, 0x56, 0x50, 0xaf, 0x9b, 0xdd, 0x48, 0xf4, 0x2f, 0xf8, 0x07, 0x7e, 0x80, 0x13,
0x1f, 0xc0, 0x89, 0x63, 0x8f, 0x9c, 0x2a, 0xe4, 0xfc, 0x08, 0xf2, 0xae, 0xd3, 0x75, 0x93, 0x54,
0xe1, 0xd2, 0x53, 0xd6, 0x33, 0xef, 0xcd, 0xbc, 0x7d, 0xb3, 0x19, 0xb0, 0xd9, 0x28, 0xf0, 0x03,
0x1e, 0xc7, 0x34, 0x90, 0x8c, 0xc7, 0xfe, 0xe9, 0x94, 0x4e, 0xce,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xa7, 0x0e, 0xfa, 0x9b, 0x3a, 0xe8,
0xdb, 0xcc, 0x29, 0x9d, 0xcf, 0x9c, 0xd2, 0x9f, 0x99, 0x53, 0xfa, 0xf4, 0x2c, 0x62, 0x72, 0x3c,
0x1d, 0x79, 0x01, 0x3f, 0xf1, 0xf3, 0x75, 0xa5, 0x7f, 0x3a, 0x22, 0xfc, 0xec, 0x7f, 0xf5, 0xb3,
0x1d, 0xf5, 0xe4, 0xa0, 0x53, 0x58, 0x53, 0xf2, 0x2c, 0xa1, 0x62, 0xb4, 0xa5, 0x56, 0xd4, 0xc1,
0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x7c, 0xa2, 0x33, 0x26, 0x05, 0x00, 0x00,
// 556 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xcf, 0x6e, 0xd3, 0x30,
0x1c, 0xae, 0xdb, 0x6d, 0x5a, 0x7f, 0x2d, 0x30, 0xac, 0x69, 0x44, 0x91, 0x9a, 0x96, 0x08, 0x6d,
0x1d, 0x52, 0x13, 0xd6, 0x09, 0x6e, 0x5c, 0xc6, 0x18, 0x94, 0x0b, 0x25, 0x47, 0x2e, 0x55, 0xfe,
0x78, 0xa9, 0x05, 0x8b, 0xb3, 0xda, 0x45, 0xec, 0x2d, 0x78, 0x07, 0x5e, 0x80, 0x67, 0x80, 0x0b,
0xc7, 0x1d, 0x39, 0x4d, 0xa8, 0x7d, 0x11, 0x14, 0x3b, 0x9d, 0xb3, 0xb6, 0x53, 0xb9, 0xec, 0x54,
0xc7, 0xbf, 0xef, 0xfb, 0xf9, 0xf3, 0xf7, 0xb9, 0x3f, 0x30, 0x69, 0x10, 0xba, 0x21, 0x4b, 0x12,
0x12, 0x0a, 0xca, 0x12, 0xf7, 0x7c, 0x4c, 0x46, 0x17, 0x4e, 0x3a, 0x62, 0x82, 0xe1, 0xfb, 0x34,
0x08,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,
0x3e, 0x3b, 0xf5, 0xa8, 0xff, 0x7b, 0x62, 0xa1, 0xcb, 0x89, 0x85, 0xfe, 0x4e, 0x2c, 0xf4, 0x6d,
0x6a, 0x95, 0x2e, 0xa7, 0x56, 0xe9, 0xcf, 0xd4, 0x2a, 0x7d, 0x7c, 0x11, 0x53, 0x31, 0x1c, 0x07,
0x4e, 0xc8, 0xce, 0xdc, 0x7c, 0xaa, 0xa9, 0x9f, 0x0e, 0x8f, 0x3e, 0xb9, 0x5f, 0xdd, 0x6c, 0x7a,
0x3d, 0x3b, 0xec, 0x14, 0x06, 0x98, 0xb8, 0x48, 0x09, 0x0f, 0x36, 0xe4, 0xf0, 0x3a, 0xfc, 0x17,
0x00, 0x00, 0xff, 0xff, 0x77, 0xdb, 0xec, 0x23, 0x4d, 0x05, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

Some files were not shown because too many files have changed in this diff Show More