|
|
|
|
@ -473,6 +473,105 @@ func (m *TxBody) GetNonCriticalExtensionOptions() []*any.Any {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// TxBodyCompat is the body of a transaction that all signers sign over.
|
|
|
|
|
// This message is used to represent the transaction body before the unordered
|
|
|
|
|
// features was added. It is used to support backwards compatibility when user a newer
|
|
|
|
|
// client with an older chain.
|
|
|
|
|
type TxBodyCompat struct {
|
|
|
|
|
// messages is a list of messages to be executed. The required signers of
|
|
|
|
|
// those messages define the number and order of elements in AuthInfo's
|
|
|
|
|
// signer_infos and Tx's signatures. Each required signer address is added to
|
|
|
|
|
// the list only the first time it occurs.
|
|
|
|
|
// By convention, the first required signer (usually from the first message)
|
|
|
|
|
// is referred to as the primary signer and pays the fee for the whole
|
|
|
|
|
// transaction.
|
|
|
|
|
Messages []*any.Any `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
|
|
|
// memo is any arbitrary note/comment to be added to the transaction.
|
|
|
|
|
// WARNING: in clients, any publicly exposed text should not be called memo,
|
|
|
|
|
// but should be called `note` instead (see
|
|
|
|
|
// https://github.com/cosmos/cosmos-sdk/issues/9122).
|
|
|
|
|
Memo string `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`
|
|
|
|
|
// timeout_height is the block height after which this transaction will not
|
|
|
|
|
// be processed by the chain.
|
|
|
|
|
TimeoutHeight uint64 `protobuf:"varint,3,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
|
|
|
|
|
// extension_options are arbitrary options that can be added by chains
|
|
|
|
|
// when the default options are not sufficient. If any of these are present
|
|
|
|
|
// and can't be handled, the transaction will be rejected
|
|
|
|
|
ExtensionOptions []*any.Any `protobuf:"bytes,1023,rep,name=extension_options,json=extensionOptions,proto3" json:"extension_options,omitempty"`
|
|
|
|
|
// extension_options are arbitrary options that can be added by chains
|
|
|
|
|
// when the default options are not sufficient. If any of these are present
|
|
|
|
|
// and can't be handled, they will be ignored
|
|
|
|
|
NonCriticalExtensionOptions []*any.Any `protobuf:"bytes,2047,rep,name=non_critical_extension_options,json=nonCriticalExtensionOptions,proto3" json:"non_critical_extension_options,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *TxBodyCompat) Reset() { *m = TxBodyCompat{} }
|
|
|
|
|
func (m *TxBodyCompat) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*TxBodyCompat) ProtoMessage() {}
|
|
|
|
|
func (*TxBodyCompat) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_96d1575ffde80842, []int{5}
|
|
|
|
|
}
|
|
|
|
|
func (m *TxBodyCompat) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
func (m *TxBodyCompat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_TxBodyCompat.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 *TxBodyCompat) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_TxBodyCompat.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *TxBodyCompat) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
func (m *TxBodyCompat) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_TxBodyCompat.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_TxBodyCompat proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *TxBodyCompat) GetMessages() []*any.Any {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Messages
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *TxBodyCompat) GetMemo() string {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Memo
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *TxBodyCompat) GetTimeoutHeight() uint64 {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.TimeoutHeight
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *TxBodyCompat) GetExtensionOptions() []*any.Any {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.ExtensionOptions
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *TxBodyCompat) GetNonCriticalExtensionOptions() []*any.Any {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.NonCriticalExtensionOptions
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// AuthInfo describes the fee and signer modes that are used to sign a
|
|
|
|
|
// transaction.
|
|
|
|
|
type AuthInfo struct {
|
|
|
|
|
@ -497,7 +596,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_96d1575ffde80842, []int{5}
|
|
|
|
|
return fileDescriptor_96d1575ffde80842, []int{6}
|
|
|
|
|
}
|
|
|
|
|
func (m *AuthInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
@ -568,7 +667,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_96d1575ffde80842, []int{6}
|
|
|
|
|
return fileDescriptor_96d1575ffde80842, []int{7}
|
|
|
|
|
}
|
|
|
|
|
func (m *SignerInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
@ -634,7 +733,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_96d1575ffde80842, []int{7}
|
|
|
|
|
return fileDescriptor_96d1575ffde80842, []int{8}
|
|
|
|
|
}
|
|
|
|
|
func (m *ModeInfo) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
@ -720,7 +819,7 @@ 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_96d1575ffde80842, []int{7, 0}
|
|
|
|
|
return fileDescriptor_96d1575ffde80842, []int{8, 0}
|
|
|
|
|
}
|
|
|
|
|
func (m *ModeInfo_Single) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
@ -769,7 +868,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_96d1575ffde80842, []int{7, 1}
|
|
|
|
|
return fileDescriptor_96d1575ffde80842, []int{8, 1}
|
|
|
|
|
}
|
|
|
|
|
func (m *ModeInfo_Multi) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
@ -837,7 +936,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_96d1575ffde80842, []int{8}
|
|
|
|
|
return fileDescriptor_96d1575ffde80842, []int{9}
|
|
|
|
|
}
|
|
|
|
|
func (m *Fee) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
@ -908,7 +1007,7 @@ func (m *Tip) Reset() { *m = Tip{} }
|
|
|
|
|
func (m *Tip) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*Tip) ProtoMessage() {}
|
|
|
|
|
func (*Tip) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_96d1575ffde80842, []int{9}
|
|
|
|
|
return fileDescriptor_96d1575ffde80842, []int{10}
|
|
|
|
|
}
|
|
|
|
|
func (m *Tip) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
@ -974,7 +1073,7 @@ func (m *AuxSignerData) Reset() { *m = AuxSignerData{} }
|
|
|
|
|
func (m *AuxSignerData) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*AuxSignerData) ProtoMessage() {}
|
|
|
|
|
func (*AuxSignerData) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_96d1575ffde80842, []int{10}
|
|
|
|
|
return fileDescriptor_96d1575ffde80842, []int{11}
|
|
|
|
|
}
|
|
|
|
|
func (m *AuxSignerData) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
@ -1037,6 +1136,7 @@ func init() {
|
|
|
|
|
proto.RegisterType((*SignDoc)(nil), "cosmos.tx.v1beta1.SignDoc")
|
|
|
|
|
proto.RegisterType((*SignDocDirectAux)(nil), "cosmos.tx.v1beta1.SignDocDirectAux")
|
|
|
|
|
proto.RegisterType((*TxBody)(nil), "cosmos.tx.v1beta1.TxBody")
|
|
|
|
|
proto.RegisterType((*TxBodyCompat)(nil), "cosmos.tx.v1beta1.TxBodyCompat")
|
|
|
|
|
proto.RegisterType((*AuthInfo)(nil), "cosmos.tx.v1beta1.AuthInfo")
|
|
|
|
|
proto.RegisterType((*SignerInfo)(nil), "cosmos.tx.v1beta1.SignerInfo")
|
|
|
|
|
proto.RegisterType((*ModeInfo)(nil), "cosmos.tx.v1beta1.ModeInfo")
|
|
|
|
|
@ -1050,79 +1150,81 @@ func init() {
|
|
|
|
|
func init() { proto.RegisterFile("cosmos/tx/v1beta1/tx.proto", fileDescriptor_96d1575ffde80842) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor_96d1575ffde80842 = []byte{
|
|
|
|
|
// 1147 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x4f, 0x8f, 0xdb, 0x44,
|
|
|
|
|
0x14, 0x8f, 0xe3, 0x24, 0x9b, 0xbc, 0xee, 0xb6, 0xbb, 0x43, 0x8b, 0xb2, 0x29, 0xcd, 0x2e, 0xa9,
|
|
|
|
|
0x0a, 0x51, 0xc5, 0xda, 0xed, 0x16, 0x41, 0xa9, 0x10, 0x25, 0x69, 0xa9, 0x5a, 0x95, 0x82, 0xf0,
|
|
|
|
|
0xee, 0xa9, 0x17, 0x6b, 0x62, 0xcf, 0x3a, 0xa3, 0xc6, 0x33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 0x79, 0x3e, 0x5f, 0xc6, 0x12, 0x67, 0x1e, 0xc1, 0xb9, 0x05, 0xf5, 0xe0,
|
|
|
|
|
0xe6, 0x7a, 0x44, 0x03, 0xd1, 0x7b, 0xd0, 0xc8, 0x5e, 0xb4, 0xeb, 0x73, 0x4f, 0x27, 0xcc, 0xc9,
|
|
|
|
|
0x97, 0xd4, 0xae, 0xfd, 0xf3, 0x89, 0xb3, 0x28, 0xf4, 0x18, 0x55, 0x24, 0x8a, 0xf9, 0x27, 0x13,
|
|
|
|
|
0x05, 0x2d, 0x83, 0x29, 0x68, 0xa0, 0x42, 0xd7, 0x72, 0xb2, 0xdf, 0x99, 0x33, 0xc1, 0xf0, 0xe2,
|
|
|
|
|
0xbd, 0x27, 0x5d, 0xe3, 0xfe, 0x93, 0xae, 0xf1, 0xf8, 0x49, 0xd7, 0xb8, 0xbd, 0xdb, 0x5d, 0xb8,
|
|
|
|
|
0xbf, 0xdb, 0x5d, 0xf8, 0x65, 0xb7, 0xbb, 0x70, 0xf3, 0xd4, 0xc1, 0x01, 0xb1, 0xe5, 0x74, 0x54,
|
|
|
|
|
0x57, 0x85, 0xec, 0xdc, 0xef, 0x01, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x58, 0xe5, 0xd5, 0x23, 0x0c,
|
|
|
|
|
0x00, 0x00,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *Tx) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
@ -1448,6 +1550,87 @@ func (m *TxBody) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *TxBodyCompat) 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 *TxBodyCompat) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *TxBodyCompat) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
if len(m.NonCriticalExtensionOptions) > 0 {
|
|
|
|
|
for iNdEx := len(m.NonCriticalExtensionOptions) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
|
{
|
|
|
|
|
size, err := m.NonCriticalExtensionOptions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintTx(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x7f
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0xfa
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if len(m.ExtensionOptions) > 0 {
|
|
|
|
|
for iNdEx := len(m.ExtensionOptions) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
|
{
|
|
|
|
|
size, err := m.ExtensionOptions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintTx(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x3f
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0xfa
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if m.TimeoutHeight != 0 {
|
|
|
|
|
i = encodeVarintTx(dAtA, i, uint64(m.TimeoutHeight))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x18
|
|
|
|
|
}
|
|
|
|
|
if len(m.Memo) > 0 {
|
|
|
|
|
i -= len(m.Memo)
|
|
|
|
|
copy(dAtA[i:], m.Memo)
|
|
|
|
|
i = encodeVarintTx(dAtA, i, uint64(len(m.Memo)))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0x12
|
|
|
|
|
}
|
|
|
|
|
if len(m.Messages) > 0 {
|
|
|
|
|
for iNdEx := len(m.Messages) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
|
|
{
|
|
|
|
|
size, err := m.Messages[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 (m *AuthInfo) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
|
@ -2019,6 +2202,40 @@ func (m *TxBody) Size() (n int) {
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *TxBodyCompat) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
if len(m.Messages) > 0 {
|
|
|
|
|
for _, e := range m.Messages {
|
|
|
|
|
l = e.Size()
|
|
|
|
|
n += 1 + l + sovTx(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
l = len(m.Memo)
|
|
|
|
|
if l > 0 {
|
|
|
|
|
n += 1 + l + sovTx(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
if m.TimeoutHeight != 0 {
|
|
|
|
|
n += 1 + sovTx(uint64(m.TimeoutHeight))
|
|
|
|
|
}
|
|
|
|
|
if len(m.ExtensionOptions) > 0 {
|
|
|
|
|
for _, e := range m.ExtensionOptions {
|
|
|
|
|
l = e.Size()
|
|
|
|
|
n += 2 + l + sovTx(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if len(m.NonCriticalExtensionOptions) > 0 {
|
|
|
|
|
for _, e := range m.NonCriticalExtensionOptions {
|
|
|
|
|
l = e.Size()
|
|
|
|
|
n += 2 + l + sovTx(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *AuthInfo) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
@ -3162,6 +3379,209 @@ func (m *TxBody) Unmarshal(dAtA []byte) error {
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *TxBodyCompat) 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: TxBodyCompat: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: TxBodyCompat: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
case 1:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Messages", 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.Messages = append(m.Messages, &any.Any{})
|
|
|
|
|
if err := m.Messages[len(m.Messages)-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 Memo", wireType)
|
|
|
|
|
}
|
|
|
|
|
var stringLen uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowTx
|
|
|
|
|
}
|
|
|
|
|
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 ErrInvalidLengthTx
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + intStringLen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthTx
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
m.Memo = string(dAtA[iNdEx:postIndex])
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
case 3:
|
|
|
|
|
if wireType != 0 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field TimeoutHeight", wireType)
|
|
|
|
|
}
|
|
|
|
|
m.TimeoutHeight = 0
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowTx
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
m.TimeoutHeight |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
case 1023:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field ExtensionOptions", 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.ExtensionOptions = append(m.ExtensionOptions, &any.Any{})
|
|
|
|
|
if err := m.ExtensionOptions[len(m.ExtensionOptions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
case 2047:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field NonCriticalExtensionOptions", 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.NonCriticalExtensionOptions = append(m.NonCriticalExtensionOptions, &any.Any{})
|
|
|
|
|
if err := m.NonCriticalExtensionOptions[len(m.NonCriticalExtensionOptions)-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) || (iNdEx+skippy) < 0 {
|
|
|
|
|
return ErrInvalidLengthTx
|
|
|
|
|
}
|
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
iNdEx += skippy
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *AuthInfo) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|
|