From dd40ff21fedb0f800ff0f2ac8536e1eaafc0aaff Mon Sep 17 00:00:00 2001 From: Ava Howell Date: Wed, 6 Dec 2023 13:55:08 -0800 Subject: [PATCH 1/8] penumbra: update proof spec to new multistore format (#1355) * penumbra: update proof spec to new multistore format * penumbra: use new commitment prefix --------- Co-authored-by: Justin Tieri <37750742+jtieri@users.noreply.github.com> --- relayer/chains/penumbra/provider.go | 2 +- relayer/chains/penumbra/tx.go | 23 +---------------------- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/relayer/chains/penumbra/provider.go b/relayer/chains/penumbra/provider.go index cade2b968..a580322ee 100644 --- a/relayer/chains/penumbra/provider.go +++ b/relayer/chains/penumbra/provider.go @@ -185,7 +185,7 @@ func (cc *PenumbraProvider) Timeout() string { } func (cc *PenumbraProvider) CommitmentPrefix() commitmenttypes.MerklePrefix { - return commitmenttypes.NewMerklePrefix([]byte("PenumbraAppHash")) + return commitmenttypes.NewMerklePrefix([]byte("ibc-data")) } // Address returns the chains configured address as a string diff --git a/relayer/chains/penumbra/tx.go b/relayer/chains/penumbra/tx.go index 6136d2fe0..de4def253 100644 --- a/relayer/chains/penumbra/tx.go +++ b/relayer/chains/penumbra/tx.go @@ -2024,28 +2024,7 @@ var JmtSpec = &ics23.ProofSpec{ PrehashKeyBeforeComparison: true, } -var ApphashSpec = &ics23.ProofSpec{ - LeafSpec: &ics23.LeafOp{ - Prefix: nil, - Hash: ics23.HashOp_SHA256, - Length: ics23.LengthOp_NO_PREFIX, - PrehashKey: ics23.HashOp_NO_HASH, - PrehashValue: ics23.HashOp_NO_HASH, - }, - InnerSpec: &ics23.InnerSpec{ - Hash: ics23.HashOp_SHA256, - MaxPrefixLength: 0, - MinPrefixLength: 0, - ChildOrder: []int32{0, 1}, - ChildSize: 32, - EmptyChild: nil, - }, - MinDepth: 0, - MaxDepth: 1, - PrehashKeyBeforeComparison: false, -} - -var PenumbraProofSpecs = []*ics23.ProofSpec{JmtSpec, ApphashSpec} +var PenumbraProofSpecs = []*ics23.ProofSpec{JmtSpec, JmtSpec} // NewClientState creates a new tendermint client state tracking the dst chain. func (cc *PenumbraProvider) NewClientState( From cf2754a79bbd8fb9a8e6143a33d45c14b806b0d2 Mon Sep 17 00:00:00 2001 From: Ava Howell Date: Thu, 7 Dec 2023 21:48:23 -0800 Subject: [PATCH 2/8] penumbra provider: fix getAnchor: don't query out of range heights (#1358) Co-authored-by: Justin Tieri <37750742+jtieri@users.noreply.github.com> --- relayer/chains/penumbra/tx.go | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/relayer/chains/penumbra/tx.go b/relayer/chains/penumbra/tx.go index de4def253..a01461757 100644 --- a/relayer/chains/penumbra/tx.go +++ b/relayer/chains/penumbra/tx.go @@ -250,9 +250,12 @@ func (cc *PenumbraProvider) getAnchor(ctx context.Context) (*penumbracrypto.Merk maxHeight := status.SyncInfo.LatestBlockHeight // Generate a random block height to query between 1 and maxHeight - height := rand.Int63n(maxHeight-1) + 1 + height := rand.Int63n(maxHeight - 1) + if height < 0 { + height = 0 + } - path := fmt.Sprintf("shielded_pool/anchor/%d", height) + path := fmt.Sprintf("sct/anchor/%d", height) req := abci.RequestQuery{ Path: "state/key", @@ -263,20 +266,11 @@ func (cc *PenumbraProvider) getAnchor(ctx context.Context) (*penumbracrypto.Merk res, err := cc.QueryABCI(ctx, req) if err != nil { - path := fmt.Sprintf("sct/anchor/%d", height) - - req := abci.RequestQuery{ - Path: "state/key", - Height: maxHeight, - Data: []byte(path), - Prove: false, - } - res, err := cc.QueryABCI(ctx, req) - if err != nil { - return nil, err - } + return nil, err + } - return &penumbracrypto.MerkleRoot{Inner: res.Value[2:]}, nil + if res.Value == nil { + return nil, errors.New("no anchor found for height" + strconv.FormatInt(height, 10)) } return &penumbracrypto.MerkleRoot{Inner: res.Value[2:]}, nil From 8669bf0d6687fe0c2928c69ea60b5273db936deb Mon Sep 17 00:00:00 2001 From: Ava Howell Date: Wed, 13 Dec 2023 05:42:28 -0800 Subject: [PATCH 3/8] penumbra: use ibc-data prefix in QueryTendermintProof (#1361) Co-authored-by: Justin Tieri <37750742+jtieri@users.noreply.github.com> --- relayer/chains/penumbra/query.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/relayer/chains/penumbra/query.go b/relayer/chains/penumbra/query.go index 7279a6907..cf6681ff7 100644 --- a/relayer/chains/penumbra/query.go +++ b/relayer/chains/penumbra/query.go @@ -174,6 +174,8 @@ func (cc *PenumbraProvider) QueryTendermintProof(ctx context.Context, height int height-- } + key = append([]byte("ibc-data/"), key...) + cc.log.Debug("Querying K/V", zap.String("ChainId", cc.ChainId()), zap.Int64("Height", height), zap.String("Key", string(key))) req := abci.RequestQuery{ Path: "state/key", From 912472cd970642a877f06e25069cb281d908930e Mon Sep 17 00:00:00 2001 From: Justin Tieri <37750742+jtieri@users.noreply.github.com> Date: Wed, 13 Dec 2023 14:10:21 -0600 Subject: [PATCH 4/8] fix: update penumbra protos & make adjustments to account for cometbft upgrade (#1360) * chore: update penumbra protos * fix: get event parsing working after cometbft upgrade * chore: update penumbra protos --- .../cnidarium/v1alpha1/cnidarium.pb.go | 1456 +++ .../penumbra/core/app/v1alpha1/app.pb.go | 1693 +-- .../core/component/chain/v1alpha1/chain.pb.go | 460 +- .../v1alpha1/compact_block.pb.go | 125 +- .../core/component/dao/v1alpha1/dao.pb.go | 586 +- .../core/component/dex/v1alpha1/dex.pb.go | 349 +- .../v1alpha1/distributions.pb.go | 486 +- .../core/component/fee/v1alpha1/fee.pb.go | 52 +- .../governance/v1alpha1/governance.pb.go | 10043 ++++++++++------ .../core/component/ibc/v1alpha1/ibc.pb.go | 172 +- .../core/component/sct/v1alpha1/sct.pb.go | 48 +- .../v1alpha1/shielded_pool.pb.go | 564 +- .../core/component/stake/v1alpha1/stake.pb.go | 759 +- .../transaction/v1alpha1/transaction.pb.go | 884 +- .../v1alpha1/decaf377_frost.pb.go | 1525 +++ .../threshold/v1alpha1/threshold.pb.go | 3392 ++++++ .../penumbra/custody/v1alpha1/custody.pb.go | 999 +- relayer/chains/penumbra/event_parser.go | 3 +- .../narsil/ledger/v1alpha1/ledger.pb.go | 208 +- .../penumbra/penumbra_chain_processor.go | 4 +- relayer/chains/penumbra/query.go | 2 +- .../penumbra/storage/v1alpha1/storage.pb.go | 1442 ++- relayer/chains/penumbra/tx.go | 66 +- .../chains/penumbra/view/v1alpha1/view.pb.go | 605 +- 24 files changed, 18981 insertions(+), 6942 deletions(-) create mode 100644 relayer/chains/penumbra/cnidarium/v1alpha1/cnidarium.pb.go create mode 100644 relayer/chains/penumbra/crypto/decaf377_frost/v1alpha1/decaf377_frost.pb.go create mode 100644 relayer/chains/penumbra/custody/threshold/v1alpha1/threshold.pb.go diff --git a/relayer/chains/penumbra/cnidarium/v1alpha1/cnidarium.pb.go b/relayer/chains/penumbra/cnidarium/v1alpha1/cnidarium.pb.go new file mode 100644 index 000000000..498263fbe --- /dev/null +++ b/relayer/chains/penumbra/cnidarium/v1alpha1/cnidarium.pb.go @@ -0,0 +1,1456 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: penumbra/cnidarium/v1alpha1/cnidarium.proto + +package cnidariumv1alpha1 + +import ( + context "context" + fmt "fmt" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + types "github.com/cosmos/ibc-go/v8/modules/core/23-commitment/types" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + 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 + +// Performs a key-value query, either by key or by key hash. +// +// Proofs are only supported by key. +type KeyValueRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // If set, the key to fetch from storage. + Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` + // whether to return a proof + Proof bool `protobuf:"varint,3,opt,name=proof,proto3" json:"proof,omitempty"` +} + +func (m *KeyValueRequest) Reset() { *m = KeyValueRequest{} } +func (m *KeyValueRequest) String() string { return proto.CompactTextString(m) } +func (*KeyValueRequest) ProtoMessage() {} +func (*KeyValueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a6006139f070ea05, []int{0} +} +func (m *KeyValueRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *KeyValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_KeyValueRequest.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 *KeyValueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueRequest.Merge(m, src) +} +func (m *KeyValueRequest) XXX_Size() int { + return m.Size() +} +func (m *KeyValueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyValueRequest proto.InternalMessageInfo + +func (m *KeyValueRequest) GetChainId() string { + if m != nil { + return m.ChainId + } + return "" +} + +func (m *KeyValueRequest) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *KeyValueRequest) GetProof() bool { + if m != nil { + return m.Proof + } + return false +} + +type KeyValueResponse struct { + // The value corresponding to the specified key, if it was found. + Value *KeyValueResponse_Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // A proof of existence or non-existence. + Proof *types.MerkleProof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` +} + +func (m *KeyValueResponse) Reset() { *m = KeyValueResponse{} } +func (m *KeyValueResponse) String() string { return proto.CompactTextString(m) } +func (*KeyValueResponse) ProtoMessage() {} +func (*KeyValueResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a6006139f070ea05, []int{1} +} +func (m *KeyValueResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *KeyValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_KeyValueResponse.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 *KeyValueResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueResponse.Merge(m, src) +} +func (m *KeyValueResponse) XXX_Size() int { + return m.Size() +} +func (m *KeyValueResponse) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyValueResponse proto.InternalMessageInfo + +func (m *KeyValueResponse) GetValue() *KeyValueResponse_Value { + if m != nil { + return m.Value + } + return nil +} + +func (m *KeyValueResponse) GetProof() *types.MerkleProof { + if m != nil { + return m.Proof + } + return nil +} + +type KeyValueResponse_Value struct { + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *KeyValueResponse_Value) Reset() { *m = KeyValueResponse_Value{} } +func (m *KeyValueResponse_Value) String() string { return proto.CompactTextString(m) } +func (*KeyValueResponse_Value) ProtoMessage() {} +func (*KeyValueResponse_Value) Descriptor() ([]byte, []int) { + return fileDescriptor_a6006139f070ea05, []int{1, 0} +} +func (m *KeyValueResponse_Value) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *KeyValueResponse_Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_KeyValueResponse_Value.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 *KeyValueResponse_Value) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueResponse_Value.Merge(m, src) +} +func (m *KeyValueResponse_Value) XXX_Size() int { + return m.Size() +} +func (m *KeyValueResponse_Value) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueResponse_Value.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyValueResponse_Value proto.InternalMessageInfo + +func (m *KeyValueResponse_Value) GetValue() []byte { + if m != nil { + return m.Value + } + return nil +} + +// Performs a prefixed key-value query, by string prefix. +type PrefixValueRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // The prefix to fetch subkeys from storage. + Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` +} + +func (m *PrefixValueRequest) Reset() { *m = PrefixValueRequest{} } +func (m *PrefixValueRequest) String() string { return proto.CompactTextString(m) } +func (*PrefixValueRequest) ProtoMessage() {} +func (*PrefixValueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a6006139f070ea05, []int{2} +} +func (m *PrefixValueRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PrefixValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PrefixValueRequest.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 *PrefixValueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrefixValueRequest.Merge(m, src) +} +func (m *PrefixValueRequest) XXX_Size() int { + return m.Size() +} +func (m *PrefixValueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PrefixValueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PrefixValueRequest proto.InternalMessageInfo + +func (m *PrefixValueRequest) GetChainId() string { + if m != nil { + return m.ChainId + } + return "" +} + +func (m *PrefixValueRequest) GetPrefix() string { + if m != nil { + return m.Prefix + } + return "" +} + +type PrefixValueResponse struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *PrefixValueResponse) Reset() { *m = PrefixValueResponse{} } +func (m *PrefixValueResponse) String() string { return proto.CompactTextString(m) } +func (*PrefixValueResponse) ProtoMessage() {} +func (*PrefixValueResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a6006139f070ea05, []int{3} +} +func (m *PrefixValueResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PrefixValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PrefixValueResponse.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 *PrefixValueResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrefixValueResponse.Merge(m, src) +} +func (m *PrefixValueResponse) XXX_Size() int { + return m.Size() +} +func (m *PrefixValueResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PrefixValueResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PrefixValueResponse proto.InternalMessageInfo + +func (m *PrefixValueResponse) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *PrefixValueResponse) GetValue() []byte { + if m != nil { + return m.Value + } + return nil +} + +func init() { + proto.RegisterType((*KeyValueRequest)(nil), "penumbra.cnidarium.v1alpha1.KeyValueRequest") + proto.RegisterType((*KeyValueResponse)(nil), "penumbra.cnidarium.v1alpha1.KeyValueResponse") + proto.RegisterType((*KeyValueResponse_Value)(nil), "penumbra.cnidarium.v1alpha1.KeyValueResponse.Value") + proto.RegisterType((*PrefixValueRequest)(nil), "penumbra.cnidarium.v1alpha1.PrefixValueRequest") + proto.RegisterType((*PrefixValueResponse)(nil), "penumbra.cnidarium.v1alpha1.PrefixValueResponse") +} + +func init() { + proto.RegisterFile("penumbra/cnidarium/v1alpha1/cnidarium.proto", fileDescriptor_a6006139f070ea05) +} + +var fileDescriptor_a6006139f070ea05 = []byte{ + // 497 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcb, 0x6e, 0xd3, 0x40, + 0x14, 0xcd, 0x38, 0x4a, 0x09, 0xd3, 0x0a, 0xaa, 0x01, 0xa1, 0x90, 0xaa, 0xa6, 0x0a, 0x8b, 0x56, + 0x02, 0x66, 0x9a, 0x74, 0x45, 0x10, 0x9b, 0x74, 0x51, 0x55, 0xa8, 0x92, 0x09, 0xa8, 0x02, 0x14, + 0x09, 0x8d, 0x9d, 0xdb, 0x66, 0xd4, 0xd8, 0x63, 0xc6, 0x0f, 0x91, 0xbf, 0xe0, 0x1b, 0x58, 0xb2, + 0x64, 0xc3, 0x2f, 0x20, 0x56, 0x5d, 0xb2, 0x44, 0xc9, 0x0e, 0x7e, 0x02, 0xf9, 0x31, 0x76, 0x0a, + 0x92, 0x95, 0xee, 0x7c, 0xcf, 0x3d, 0xf7, 0xcc, 0xb9, 0xc7, 0x33, 0xf8, 0x91, 0x0f, 0x5e, 0xe4, + 0xda, 0x8a, 0x33, 0xc7, 0x13, 0x63, 0xae, 0x44, 0xe4, 0xb2, 0xb8, 0xcb, 0xa7, 0xfe, 0x84, 0x77, + 0x4b, 0x88, 0xfa, 0x4a, 0x86, 0x92, 0x6c, 0x69, 0x32, 0x2d, 0x3b, 0x9a, 0xdc, 0xde, 0x15, 0xb6, + 0xc3, 0x1c, 0xa9, 0x80, 0x39, 0xd2, 0x75, 0x45, 0xe8, 0x82, 0x17, 0xb2, 0xb8, 0xbb, 0x54, 0x65, + 0x2a, 0x9d, 0xd7, 0xf8, 0xf6, 0x0b, 0x98, 0x9d, 0xf2, 0x69, 0x04, 0x43, 0xf8, 0x10, 0x41, 0x10, + 0x92, 0xfb, 0x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xe5, 0xf4, 0xff, 0x59, 0xb5, 0xf7, 0x57, + 0x1f, 0xc8, 0x4e, 0xdc, 0x47, 0x83, 0xaf, 0xc6, 0xf7, 0xb9, 0x89, 0x2e, 0xe7, 0x26, 0xfa, 0x35, + 0x37, 0xd1, 0xa7, 0x85, 0x59, 0xbb, 0x5c, 0x98, 0xb5, 0x9f, 0x0b, 0xb3, 0x86, 0x1f, 0x38, 0xd2, + 0xad, 0x52, 0x1c, 0xdc, 0x3a, 0xd4, 0x98, 0x95, 0xdc, 0x68, 0x0b, 0xbd, 0x7b, 0x7b, 0x2e, 0xc2, + 0x49, 0x64, 0x27, 0x77, 0x81, 0x39, 0x32, 0x70, 0x65, 0xc0, 0x14, 0x4c, 0xf9, 0x0c, 0x14, 0x8b, + 0x7b, 0xc5, 0x67, 0xfa, 0x03, 0x03, 0x56, 0xf1, 0xe4, 0x9e, 0x15, 0x90, 0x46, 0x3e, 0x1b, 0x75, + 0xeb, 0xf0, 0xcd, 0x17, 0x63, 0xcb, 0xd2, 0x86, 0x8a, 0xc3, 0xe9, 0x69, 0xce, 0xf9, 0x51, 0x76, + 0x47, 0x45, 0x77, 0xa4, 0xbb, 0x73, 0x63, 0xb7, 0xa2, 0x3b, 0x3a, 0xb2, 0x06, 0x27, 0x10, 0xf2, + 0x31, 0x0f, 0xf9, 0x6f, 0x63, 0x5b, 0x33, 0xfb, 0xfd, 0x82, 0xda, 0xef, 0x6b, 0xae, 0xbd, 0x96, + 0xbe, 0xe0, 0x83, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x61, 0x0d, 0xb7, 0x36, 0x04, 0x00, + 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// QueryServiceClient is the client API for QueryService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type QueryServiceClient interface { + // General-purpose key-value state query API, that can be used to query + // arbitrary keys in the JMT storage. + KeyValue(ctx context.Context, in *KeyValueRequest, opts ...grpc.CallOption) (*KeyValueResponse, error) + // General-purpose prefixed key-value state query API, that can be used to query + // arbitrary prefixes in the JMT storage. + // Returns a stream of `PrefixValueResponse`s. + PrefixValue(ctx context.Context, in *PrefixValueRequest, opts ...grpc.CallOption) (QueryService_PrefixValueClient, error) +} + +type queryServiceClient struct { + cc grpc1.ClientConn +} + +func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { + return &queryServiceClient{cc} +} + +func (c *queryServiceClient) KeyValue(ctx context.Context, in *KeyValueRequest, opts ...grpc.CallOption) (*KeyValueResponse, error) { + out := new(KeyValueResponse) + err := c.cc.Invoke(ctx, "/penumbra.cnidarium.v1alpha1.QueryService/KeyValue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) PrefixValue(ctx context.Context, in *PrefixValueRequest, opts ...grpc.CallOption) (QueryService_PrefixValueClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.cnidarium.v1alpha1.QueryService/PrefixValue", opts...) + if err != nil { + return nil, err + } + x := &queryServicePrefixValueClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type QueryService_PrefixValueClient interface { + Recv() (*PrefixValueResponse, error) + grpc.ClientStream +} + +type queryServicePrefixValueClient struct { + grpc.ClientStream +} + +func (x *queryServicePrefixValueClient) Recv() (*PrefixValueResponse, error) { + m := new(PrefixValueResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// QueryServiceServer is the server API for QueryService service. +type QueryServiceServer interface { + // General-purpose key-value state query API, that can be used to query + // arbitrary keys in the JMT storage. + KeyValue(context.Context, *KeyValueRequest) (*KeyValueResponse, error) + // General-purpose prefixed key-value state query API, that can be used to query + // arbitrary prefixes in the JMT storage. + // Returns a stream of `PrefixValueResponse`s. + PrefixValue(*PrefixValueRequest, QueryService_PrefixValueServer) error +} + +// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServiceServer struct { +} + +func (*UnimplementedQueryServiceServer) KeyValue(ctx context.Context, req *KeyValueRequest) (*KeyValueResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method KeyValue not implemented") +} +func (*UnimplementedQueryServiceServer) PrefixValue(req *PrefixValueRequest, srv QueryService_PrefixValueServer) error { + return status.Errorf(codes.Unimplemented, "method PrefixValue not implemented") +} + +func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { + s.RegisterService(&_QueryService_serviceDesc, srv) +} + +func _QueryService_KeyValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(KeyValueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).KeyValue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.cnidarium.v1alpha1.QueryService/KeyValue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).KeyValue(ctx, req.(*KeyValueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_PrefixValue_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(PrefixValueRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).PrefixValue(m, &queryServicePrefixValueServer{stream}) +} + +type QueryService_PrefixValueServer interface { + Send(*PrefixValueResponse) error + grpc.ServerStream +} + +type queryServicePrefixValueServer struct { + grpc.ServerStream +} + +func (x *queryServicePrefixValueServer) Send(m *PrefixValueResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _QueryService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "penumbra.cnidarium.v1alpha1.QueryService", + HandlerType: (*QueryServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "KeyValue", + Handler: _QueryService_KeyValue_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "PrefixValue", + Handler: _QueryService_PrefixValue_Handler, + ServerStreams: true, + }, + }, + Metadata: "penumbra/cnidarium/v1alpha1/cnidarium.proto", +} + +func (m *KeyValueRequest) 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 *KeyValueRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *KeyValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Proof { + i-- + if m.Proof { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0x12 + } + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *KeyValueResponse) 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 *KeyValueResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *KeyValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Proof != nil { + { + size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCnidarium(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Value != nil { + { + size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCnidarium(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *KeyValueResponse_Value) 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 *KeyValueResponse_Value) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *KeyValueResponse_Value) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PrefixValueRequest) 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 *PrefixValueRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PrefixValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Prefix) > 0 { + i -= len(m.Prefix) + copy(dAtA[i:], m.Prefix) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Prefix))) + i-- + dAtA[i] = 0x12 + } + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PrefixValueResponse) 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 *PrefixValueResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PrefixValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0x12 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintCnidarium(dAtA []byte, offset int, v uint64) int { + offset -= sovCnidarium(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *KeyValueRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + if m.Proof { + n += 2 + } + return n +} + +func (m *KeyValueResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != nil { + l = m.Value.Size() + n += 1 + l + sovCnidarium(uint64(l)) + } + if m.Proof != nil { + l = m.Proof.Size() + n += 1 + l + sovCnidarium(uint64(l)) + } + return n +} + +func (m *KeyValueResponse_Value) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Value) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + return n +} + +func (m *PrefixValueRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + l = len(m.Prefix) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + return n +} + +func (m *PrefixValueResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + return n +} + +func sovCnidarium(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozCnidarium(x uint64) (n int) { + return sovCnidarium(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *KeyValueRequest) 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 ErrIntOverflowCnidarium + } + 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: KeyValueRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyValueRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + 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 ErrInvalidLengthCnidarium + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + 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 ErrInvalidLengthCnidarium + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Proof = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipCnidarium(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCnidarium + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueResponse) 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 ErrIntOverflowCnidarium + } + 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: KeyValueResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyValueResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Value == nil { + m.Value = &KeyValueResponse_Value{} + } + if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Proof == nil { + m.Proof = &types.MerkleProof{} + } + if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCnidarium(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCnidarium + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueResponse_Value) 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 ErrIntOverflowCnidarium + } + 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: Value: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Value: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) + if m.Value == nil { + m.Value = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCnidarium(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCnidarium + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrefixValueRequest) 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 ErrIntOverflowCnidarium + } + 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: PrefixValueRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrefixValueRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + 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 ErrInvalidLengthCnidarium + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + 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 ErrInvalidLengthCnidarium + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Prefix = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCnidarium(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCnidarium + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrefixValueResponse) 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 ErrIntOverflowCnidarium + } + 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: PrefixValueResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrefixValueResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + 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 ErrInvalidLengthCnidarium + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) + if m.Value == nil { + m.Value = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCnidarium(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCnidarium + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipCnidarium(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, ErrIntOverflowCnidarium + } + 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, ErrIntOverflowCnidarium + } + 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, ErrIntOverflowCnidarium + } + 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, ErrInvalidLengthCnidarium + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupCnidarium + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthCnidarium + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthCnidarium = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowCnidarium = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupCnidarium = fmt.Errorf("proto: unexpected end of group") +) diff --git a/relayer/chains/penumbra/core/app/v1alpha1/app.pb.go b/relayer/chains/penumbra/core/app/v1alpha1/app.pb.go index 5c2bdcf16..ac12aaf6c 100644 --- a/relayer/chains/penumbra/core/app/v1alpha1/app.pb.go +++ b/relayer/chains/penumbra/core/app/v1alpha1/app.pb.go @@ -8,14 +8,15 @@ import ( fmt "fmt" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - types "github.com/cosmos/ibc-go/v8/modules/core/23-commitment/types" - v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" - v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dao/v1alpha1" - v1alpha15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" - v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/governance/v1alpha1" - v1alpha13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1alpha1" - v1alpha16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1" - v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1alpha1" + v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" + v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dao/v1alpha1" + v1alpha17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/distributions/v1alpha1" + v1alpha16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" + v1alpha13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/governance/v1alpha1" + v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1alpha1" + v1alpha18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1" + v1alpha15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1alpha1" + v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/transaction/v1alpha1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -35,30 +36,26 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// Performs a key-value query, either by key or by key hash. -// -// Proofs are only supported by key. -type KeyValueRequest struct { +// Requests the list of all transactions that occurred within a given block. +type TransactionsByHeightRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - // If set, the key to fetch from storage. - Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - // whether to return a proof - Proof bool `protobuf:"varint,3,opt,name=proof,proto3" json:"proof,omitempty"` + // The block height to retrieve. + BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` } -func (m *KeyValueRequest) Reset() { *m = KeyValueRequest{} } -func (m *KeyValueRequest) String() string { return proto.CompactTextString(m) } -func (*KeyValueRequest) ProtoMessage() {} -func (*KeyValueRequest) Descriptor() ([]byte, []int) { +func (m *TransactionsByHeightRequest) Reset() { *m = TransactionsByHeightRequest{} } +func (m *TransactionsByHeightRequest) String() string { return proto.CompactTextString(m) } +func (*TransactionsByHeightRequest) ProtoMessage() {} +func (*TransactionsByHeightRequest) Descriptor() ([]byte, []int) { return fileDescriptor_e3359d6f6803c6c6, []int{0} } -func (m *KeyValueRequest) XXX_Unmarshal(b []byte) error { +func (m *TransactionsByHeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *KeyValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *TransactionsByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_KeyValueRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_TransactionsByHeightRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -68,109 +65,52 @@ func (m *KeyValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *KeyValueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyValueRequest.Merge(m, src) +func (m *TransactionsByHeightRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransactionsByHeightRequest.Merge(m, src) } -func (m *KeyValueRequest) XXX_Size() int { +func (m *TransactionsByHeightRequest) XXX_Size() int { return m.Size() } -func (m *KeyValueRequest) XXX_DiscardUnknown() { - xxx_messageInfo_KeyValueRequest.DiscardUnknown(m) +func (m *TransactionsByHeightRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TransactionsByHeightRequest.DiscardUnknown(m) } -var xxx_messageInfo_KeyValueRequest proto.InternalMessageInfo +var xxx_messageInfo_TransactionsByHeightRequest proto.InternalMessageInfo -func (m *KeyValueRequest) GetChainId() string { +func (m *TransactionsByHeightRequest) GetChainId() string { if m != nil { return m.ChainId } return "" } -func (m *KeyValueRequest) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *KeyValueRequest) GetProof() bool { +func (m *TransactionsByHeightRequest) GetBlockHeight() uint64 { if m != nil { - return m.Proof + return m.BlockHeight } - return false + return 0 } -type KeyValueResponse struct { - // The value corresponding to the specified key, if it was found. - Value *KeyValueResponse_Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - // A proof of existence or non-existence. - Proof *types.MerkleProof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` +// A transaction that appeared within a given block. +type TransactionsByHeightResponse struct { + // The transactions. + Transactions []*v1alpha1.Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + // The block height. + BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` } -func (m *KeyValueResponse) Reset() { *m = KeyValueResponse{} } -func (m *KeyValueResponse) String() string { return proto.CompactTextString(m) } -func (*KeyValueResponse) ProtoMessage() {} -func (*KeyValueResponse) Descriptor() ([]byte, []int) { +func (m *TransactionsByHeightResponse) Reset() { *m = TransactionsByHeightResponse{} } +func (m *TransactionsByHeightResponse) String() string { return proto.CompactTextString(m) } +func (*TransactionsByHeightResponse) ProtoMessage() {} +func (*TransactionsByHeightResponse) Descriptor() ([]byte, []int) { return fileDescriptor_e3359d6f6803c6c6, []int{1} } -func (m *KeyValueResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *KeyValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_KeyValueResponse.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 *KeyValueResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyValueResponse.Merge(m, src) -} -func (m *KeyValueResponse) XXX_Size() int { - return m.Size() -} -func (m *KeyValueResponse) XXX_DiscardUnknown() { - xxx_messageInfo_KeyValueResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_KeyValueResponse proto.InternalMessageInfo - -func (m *KeyValueResponse) GetValue() *KeyValueResponse_Value { - if m != nil { - return m.Value - } - return nil -} - -func (m *KeyValueResponse) GetProof() *types.MerkleProof { - if m != nil { - return m.Proof - } - return nil -} - -type KeyValueResponse_Value struct { - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (m *KeyValueResponse_Value) Reset() { *m = KeyValueResponse_Value{} } -func (m *KeyValueResponse_Value) String() string { return proto.CompactTextString(m) } -func (*KeyValueResponse_Value) ProtoMessage() {} -func (*KeyValueResponse_Value) Descriptor() ([]byte, []int) { - return fileDescriptor_e3359d6f6803c6c6, []int{1, 0} -} -func (m *KeyValueResponse_Value) XXX_Unmarshal(b []byte) error { +func (m *TransactionsByHeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *KeyValueResponse_Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *TransactionsByHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_KeyValueResponse_Value.Marshal(b, m, deterministic) + return xxx_messageInfo_TransactionsByHeightResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -180,152 +120,54 @@ func (m *KeyValueResponse_Value) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *KeyValueResponse_Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyValueResponse_Value.Merge(m, src) +func (m *TransactionsByHeightResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransactionsByHeightResponse.Merge(m, src) } -func (m *KeyValueResponse_Value) XXX_Size() int { +func (m *TransactionsByHeightResponse) XXX_Size() int { return m.Size() } -func (m *KeyValueResponse_Value) XXX_DiscardUnknown() { - xxx_messageInfo_KeyValueResponse_Value.DiscardUnknown(m) +func (m *TransactionsByHeightResponse) XXX_DiscardUnknown() { + xxx_messageInfo_TransactionsByHeightResponse.DiscardUnknown(m) } -var xxx_messageInfo_KeyValueResponse_Value proto.InternalMessageInfo +var xxx_messageInfo_TransactionsByHeightResponse proto.InternalMessageInfo -func (m *KeyValueResponse_Value) GetValue() []byte { +func (m *TransactionsByHeightResponse) GetTransactions() []*v1alpha1.Transaction { if m != nil { - return m.Value + return m.Transactions } return nil } -// Performs a prefixed key-value query, by string prefix. -type PrefixValueRequest struct { - // The expected chain id (empty string if no expectation). - ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - // The prefix to fetch subkeys from storage. - Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` -} - -func (m *PrefixValueRequest) Reset() { *m = PrefixValueRequest{} } -func (m *PrefixValueRequest) String() string { return proto.CompactTextString(m) } -func (*PrefixValueRequest) ProtoMessage() {} -func (*PrefixValueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e3359d6f6803c6c6, []int{2} -} -func (m *PrefixValueRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PrefixValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PrefixValueRequest.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 *PrefixValueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrefixValueRequest.Merge(m, src) -} -func (m *PrefixValueRequest) XXX_Size() int { - return m.Size() -} -func (m *PrefixValueRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PrefixValueRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PrefixValueRequest proto.InternalMessageInfo - -func (m *PrefixValueRequest) GetChainId() string { - if m != nil { - return m.ChainId - } - return "" -} - -func (m *PrefixValueRequest) GetPrefix() string { - if m != nil { - return m.Prefix - } - return "" -} - -type PrefixValueResponse struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` -} - -func (m *PrefixValueResponse) Reset() { *m = PrefixValueResponse{} } -func (m *PrefixValueResponse) String() string { return proto.CompactTextString(m) } -func (*PrefixValueResponse) ProtoMessage() {} -func (*PrefixValueResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e3359d6f6803c6c6, []int{3} -} -func (m *PrefixValueResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PrefixValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PrefixValueResponse.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 *PrefixValueResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrefixValueResponse.Merge(m, src) -} -func (m *PrefixValueResponse) XXX_Size() int { - return m.Size() -} -func (m *PrefixValueResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PrefixValueResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PrefixValueResponse proto.InternalMessageInfo - -func (m *PrefixValueResponse) GetKey() string { - if m != nil { - return m.Key - } - return "" -} - -func (m *PrefixValueResponse) GetValue() []byte { +func (m *TransactionsByHeightResponse) GetBlockHeight() uint64 { if m != nil { - return m.Value + return m.BlockHeight } - return nil + return 0 } type AppParameters struct { // Chain module parameters. - ChainParams *v1alpha1.ChainParameters `protobuf:"bytes,1,opt,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"` + ChainParams *v1alpha11.ChainParameters `protobuf:"bytes,1,opt,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"` // DAO module parameters. - DaoParams *v1alpha11.DaoParameters `protobuf:"bytes,2,opt,name=dao_params,json=daoParams,proto3" json:"dao_params,omitempty"` + DaoParams *v1alpha12.DaoParameters `protobuf:"bytes,2,opt,name=dao_params,json=daoParams,proto3" json:"dao_params,omitempty"` // Governance module parameters. - GovernanceParams *v1alpha12.GovernanceParameters `protobuf:"bytes,3,opt,name=governance_params,json=governanceParams,proto3" json:"governance_params,omitempty"` + GovernanceParams *v1alpha13.GovernanceParameters `protobuf:"bytes,3,opt,name=governance_params,json=governanceParams,proto3" json:"governance_params,omitempty"` // IBC module parameters. - IbcParams *v1alpha13.IbcParameters `protobuf:"bytes,4,opt,name=ibc_params,json=ibcParams,proto3" json:"ibc_params,omitempty"` + IbcParams *v1alpha14.IbcParameters `protobuf:"bytes,4,opt,name=ibc_params,json=ibcParams,proto3" json:"ibc_params,omitempty"` // Stake module parameters. - StakeParams *v1alpha14.StakeParameters `protobuf:"bytes,5,opt,name=stake_params,json=stakeParams,proto3" json:"stake_params,omitempty"` + StakeParams *v1alpha15.StakeParameters `protobuf:"bytes,5,opt,name=stake_params,json=stakeParams,proto3" json:"stake_params,omitempty"` // Fee module parameters. - FeeParams *v1alpha15.FeeParameters `protobuf:"bytes,6,opt,name=fee_params,json=feeParams,proto3" json:"fee_params,omitempty"` + FeeParams *v1alpha16.FeeParameters `protobuf:"bytes,6,opt,name=fee_params,json=feeParams,proto3" json:"fee_params,omitempty"` + // Distributions module parameters. + DistributionsParams *v1alpha17.DistributionsParameters `protobuf:"bytes,7,opt,name=distributions_params,json=distributionsParams,proto3" json:"distributions_params,omitempty"` } func (m *AppParameters) Reset() { *m = AppParameters{} } func (m *AppParameters) String() string { return proto.CompactTextString(m) } func (*AppParameters) ProtoMessage() {} func (*AppParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_e3359d6f6803c6c6, []int{4} + return fileDescriptor_e3359d6f6803c6c6, []int{2} } func (m *AppParameters) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -354,48 +196,55 @@ func (m *AppParameters) XXX_DiscardUnknown() { var xxx_messageInfo_AppParameters proto.InternalMessageInfo -func (m *AppParameters) GetChainParams() *v1alpha1.ChainParameters { +func (m *AppParameters) GetChainParams() *v1alpha11.ChainParameters { if m != nil { return m.ChainParams } return nil } -func (m *AppParameters) GetDaoParams() *v1alpha11.DaoParameters { +func (m *AppParameters) GetDaoParams() *v1alpha12.DaoParameters { if m != nil { return m.DaoParams } return nil } -func (m *AppParameters) GetGovernanceParams() *v1alpha12.GovernanceParameters { +func (m *AppParameters) GetGovernanceParams() *v1alpha13.GovernanceParameters { if m != nil { return m.GovernanceParams } return nil } -func (m *AppParameters) GetIbcParams() *v1alpha13.IbcParameters { +func (m *AppParameters) GetIbcParams() *v1alpha14.IbcParameters { if m != nil { return m.IbcParams } return nil } -func (m *AppParameters) GetStakeParams() *v1alpha14.StakeParameters { +func (m *AppParameters) GetStakeParams() *v1alpha15.StakeParameters { if m != nil { return m.StakeParams } return nil } -func (m *AppParameters) GetFeeParams() *v1alpha15.FeeParameters { +func (m *AppParameters) GetFeeParams() *v1alpha16.FeeParameters { if m != nil { return m.FeeParams } return nil } +func (m *AppParameters) GetDistributionsParams() *v1alpha17.DistributionsParameters { + if m != nil { + return m.DistributionsParams + } + return nil +} + // Requests the global configuration data for the app. type AppParametersRequest struct { // The expected chain id (empty string if no expectation). @@ -406,7 +255,7 @@ func (m *AppParametersRequest) Reset() { *m = AppParametersRequest{} } func (m *AppParametersRequest) String() string { return proto.CompactTextString(m) } func (*AppParametersRequest) ProtoMessage() {} func (*AppParametersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e3359d6f6803c6c6, []int{5} + return fileDescriptor_e3359d6f6803c6c6, []int{3} } func (m *AppParametersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -450,7 +299,7 @@ func (m *AppParametersResponse) Reset() { *m = AppParametersResponse{} } func (m *AppParametersResponse) String() string { return proto.CompactTextString(m) } func (*AppParametersResponse) ProtoMessage() {} func (*AppParametersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e3359d6f6803c6c6, []int{6} + return fileDescriptor_e3359d6f6803c6c6, []int{4} } func (m *AppParametersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -497,7 +346,7 @@ func (m *GenesisAppState) Reset() { *m = GenesisAppState{} } func (m *GenesisAppState) String() string { return proto.CompactTextString(m) } func (*GenesisAppState) ProtoMessage() {} func (*GenesisAppState) Descriptor() ([]byte, []int) { - return fileDescriptor_e3359d6f6803c6c6, []int{7} + return fileDescriptor_e3359d6f6803c6c6, []int{5} } func (m *GenesisAppState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -573,26 +422,28 @@ func (*GenesisAppState) XXX_OneofWrappers() []interface{} { type GenesisContent struct { // Stake module genesis state. - StakeContent *v1alpha14.GenesisContent `protobuf:"bytes,1,opt,name=stake_content,json=stakeContent,proto3" json:"stake_content,omitempty"` + StakeContent *v1alpha15.GenesisContent `protobuf:"bytes,1,opt,name=stake_content,json=stakeContent,proto3" json:"stake_content,omitempty"` // Shielded pool module genesis state. - ShieldedPoolContent *v1alpha16.GenesisContent `protobuf:"bytes,2,opt,name=shielded_pool_content,json=shieldedPoolContent,proto3" json:"shielded_pool_content,omitempty"` + ShieldedPoolContent *v1alpha18.GenesisContent `protobuf:"bytes,2,opt,name=shielded_pool_content,json=shieldedPoolContent,proto3" json:"shielded_pool_content,omitempty"` // Governance module genesis state. - GovernanceContent *v1alpha12.GenesisContent `protobuf:"bytes,3,opt,name=governance_content,json=governanceContent,proto3" json:"governance_content,omitempty"` + GovernanceContent *v1alpha13.GenesisContent `protobuf:"bytes,3,opt,name=governance_content,json=governanceContent,proto3" json:"governance_content,omitempty"` // IBC module genesis state. - IbcContent *v1alpha13.GenesisContent `protobuf:"bytes,4,opt,name=ibc_content,json=ibcContent,proto3" json:"ibc_content,omitempty"` + IbcContent *v1alpha14.GenesisContent `protobuf:"bytes,4,opt,name=ibc_content,json=ibcContent,proto3" json:"ibc_content,omitempty"` // Chain module genesis state. - ChainContent *v1alpha1.GenesisContent `protobuf:"bytes,5,opt,name=chain_content,json=chainContent,proto3" json:"chain_content,omitempty"` + ChainContent *v1alpha11.GenesisContent `protobuf:"bytes,5,opt,name=chain_content,json=chainContent,proto3" json:"chain_content,omitempty"` // DAO module genesis state. - DaoContent *v1alpha11.GenesisContent `protobuf:"bytes,6,opt,name=dao_content,json=daoContent,proto3" json:"dao_content,omitempty"` + DaoContent *v1alpha12.GenesisContent `protobuf:"bytes,6,opt,name=dao_content,json=daoContent,proto3" json:"dao_content,omitempty"` // Fee module genesis state. - FeeContent *v1alpha15.GenesisContent `protobuf:"bytes,7,opt,name=fee_content,json=feeContent,proto3" json:"fee_content,omitempty"` + FeeContent *v1alpha16.GenesisContent `protobuf:"bytes,7,opt,name=fee_content,json=feeContent,proto3" json:"fee_content,omitempty"` + // Distributions module genesis state. + DistributionsContent *v1alpha17.GenesisContent `protobuf:"bytes,8,opt,name=distributions_content,json=distributionsContent,proto3" json:"distributions_content,omitempty"` } func (m *GenesisContent) Reset() { *m = GenesisContent{} } func (m *GenesisContent) String() string { return proto.CompactTextString(m) } func (*GenesisContent) ProtoMessage() {} func (*GenesisContent) Descriptor() ([]byte, []int) { - return fileDescriptor_e3359d6f6803c6c6, []int{8} + return fileDescriptor_e3359d6f6803c6c6, []int{6} } func (m *GenesisContent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -621,61 +472,65 @@ func (m *GenesisContent) XXX_DiscardUnknown() { var xxx_messageInfo_GenesisContent proto.InternalMessageInfo -func (m *GenesisContent) GetStakeContent() *v1alpha14.GenesisContent { +func (m *GenesisContent) GetStakeContent() *v1alpha15.GenesisContent { if m != nil { return m.StakeContent } return nil } -func (m *GenesisContent) GetShieldedPoolContent() *v1alpha16.GenesisContent { +func (m *GenesisContent) GetShieldedPoolContent() *v1alpha18.GenesisContent { if m != nil { return m.ShieldedPoolContent } return nil } -func (m *GenesisContent) GetGovernanceContent() *v1alpha12.GenesisContent { +func (m *GenesisContent) GetGovernanceContent() *v1alpha13.GenesisContent { if m != nil { return m.GovernanceContent } return nil } -func (m *GenesisContent) GetIbcContent() *v1alpha13.GenesisContent { +func (m *GenesisContent) GetIbcContent() *v1alpha14.GenesisContent { if m != nil { return m.IbcContent } return nil } -func (m *GenesisContent) GetChainContent() *v1alpha1.GenesisContent { +func (m *GenesisContent) GetChainContent() *v1alpha11.GenesisContent { if m != nil { return m.ChainContent } return nil } -func (m *GenesisContent) GetDaoContent() *v1alpha11.GenesisContent { +func (m *GenesisContent) GetDaoContent() *v1alpha12.GenesisContent { if m != nil { return m.DaoContent } return nil } -func (m *GenesisContent) GetFeeContent() *v1alpha15.GenesisContent { +func (m *GenesisContent) GetFeeContent() *v1alpha16.GenesisContent { if m != nil { return m.FeeContent } return nil } +func (m *GenesisContent) GetDistributionsContent() *v1alpha17.GenesisContent { + if m != nil { + return m.DistributionsContent + } + return nil +} + func init() { - proto.RegisterType((*KeyValueRequest)(nil), "penumbra.core.app.v1alpha1.KeyValueRequest") - proto.RegisterType((*KeyValueResponse)(nil), "penumbra.core.app.v1alpha1.KeyValueResponse") - proto.RegisterType((*KeyValueResponse_Value)(nil), "penumbra.core.app.v1alpha1.KeyValueResponse.Value") - proto.RegisterType((*PrefixValueRequest)(nil), "penumbra.core.app.v1alpha1.PrefixValueRequest") - proto.RegisterType((*PrefixValueResponse)(nil), "penumbra.core.app.v1alpha1.PrefixValueResponse") + proto.RegisterType((*TransactionsByHeightRequest)(nil), "penumbra.core.app.v1alpha1.TransactionsByHeightRequest") + proto.RegisterType((*TransactionsByHeightResponse)(nil), "penumbra.core.app.v1alpha1.TransactionsByHeightResponse") proto.RegisterType((*AppParameters)(nil), "penumbra.core.app.v1alpha1.AppParameters") proto.RegisterType((*AppParametersRequest)(nil), "penumbra.core.app.v1alpha1.AppParametersRequest") proto.RegisterType((*AppParametersResponse)(nil), "penumbra.core.app.v1alpha1.AppParametersResponse") @@ -688,71 +543,70 @@ func init() { } var fileDescriptor_e3359d6f6803c6c6 = []byte{ - // 1011 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0x5f, 0x6f, 0xe3, 0x44, - 0x10, 0xc0, 0xeb, 0xf4, 0xd2, 0x6b, 0xb7, 0x7f, 0x6f, 0x7b, 0x87, 0x4a, 0xa4, 0x8b, 0x4e, 0x01, - 0xc1, 0xf1, 0x47, 0xf6, 0x25, 0x87, 0x40, 0xe4, 0x00, 0x29, 0x29, 0xa2, 0x3d, 0xa1, 0x93, 0x82, - 0xcb, 0xdd, 0xc3, 0x51, 0xa9, 0xda, 0xd8, 0x93, 0xc4, 0x34, 0xf1, 0x2e, 0xb6, 0x13, 0xd1, 0x6f, - 0xc1, 0x57, 0x80, 0x47, 0x1e, 0xe0, 0x01, 0x89, 0xcf, 0x80, 0x78, 0xba, 0x47, 0x5e, 0x90, 0x50, - 0xfb, 0xc6, 0xa7, 0x40, 0xfb, 0xcf, 0x5e, 0x1b, 0xb9, 0x4e, 0xdf, 0x3c, 0xb3, 0x33, 0xbf, 0x99, - 0x9d, 0x9d, 0xd9, 0x35, 0x7a, 0x93, 0x41, 0x38, 0x9f, 0x0d, 0x23, 0xe2, 0x78, 0x34, 0x02, 0x87, - 0x30, 0xe6, 0x2c, 0xda, 0x64, 0xca, 0x26, 0xa4, 0xcd, 0x05, 0x9b, 0x45, 0x34, 0xa1, 0xb8, 0xa1, - 0xad, 0x6c, 0x6e, 0x65, 0xf3, 0x05, 0x6d, 0xd5, 0xe8, 0xe4, 0x09, 0x1e, 0x9d, 0x31, 0x1a, 0x42, - 0x98, 0x38, 0xde, 0x84, 0x04, 0x61, 0x46, 0x13, 0xa2, 0xe4, 0x95, 0xfb, 0xc4, 0x09, 0x39, 0x87, - 0xcc, 0x47, 0x88, 0xca, 0xa7, 0x5f, 0xea, 0x33, 0x09, 0x60, 0xea, 0x83, 0x7f, 0xc6, 0x28, 0x9d, - 0x1a, 0xbe, 0xa6, 0x5a, 0x31, 0x3e, 0x29, 0x63, 0x8c, 0xe9, 0x02, 0xa2, 0x90, 0x84, 0x9e, 0x11, - 0x3c, 0xd3, 0x29, 0x6f, 0xbb, 0xcc, 0x3b, 0x18, 0x7a, 0x99, 0x5b, 0x30, 0xf4, 0xaa, 0xec, 0x47, - 0x60, 0x84, 0x19, 0x41, 0x25, 0xdf, 0x27, 0x34, 0xb3, 0xf7, 0x09, 0x55, 0xf6, 0x6f,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xfd, 0x42, 0x99, 0xfc, 0x99, 0x2d, 0x9e, 0xf2, 0xc5, 0xd3, 0x1e, 0x63, 0xa7, - 0x7a, 0xf1, 0xb2, 0xf6, 0x56, 0xf9, 0xe2, 0xe9, 0xd1, 0xa0, 0xff, 0x0c, 0x12, 0xe2, 0x93, 0x84, - 0xfc, 0x5b, 0xbb, 0xaf, 0x0d, 0xbb, 0x5d, 0x6e, 0xd9, 0xed, 0xf6, 0x18, 0xeb, 0x76, 0xb5, 0xed, - 0x70, 0x4d, 0xfc, 0x58, 0x3e, 0xfe, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x6f, 0xce, 0x05, 0x90, 0x3f, - 0x0c, 0x00, 0x00, + // 996 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0xcf, 0x6f, 0x23, 0x35, + 0x14, 0xc7, 0x33, 0xe9, 0xf6, 0x97, 0x93, 0x76, 0xd9, 0x69, 0x2b, 0x95, 0x00, 0x51, 0x89, 0x10, + 0x2a, 0x1c, 0x66, 0x68, 0x76, 0xc5, 0xa2, 0x2c, 0x42, 0x4a, 0x8a, 0x68, 0xf7, 0x80, 0x14, 0xa6, + 0x2c, 0x87, 0xdd, 0x4a, 0x91, 0x67, 0xc6, 0x49, 0x86, 0x26, 0x63, 0x33, 0x76, 0x2a, 0x95, 0xff, + 0x80, 0xdb, 0x9e, 0xb8, 0x83, 0x38, 0x71, 0x80, 0x7f, 0x03, 0x71, 0xda, 0x23, 0x47, 0xd4, 0xde, + 0xf8, 0x2b, 0x90, 0xed, 0xf1, 0x8c, 0x3d, 0xbb, 0xd3, 0x49, 0x6f, 0xe3, 0xe7, 0xf7, 0x3e, 0xef, + 0xd9, 0x7e, 0xfe, 0x8e, 0xc1, 0x07, 0x04, 0xc5, 0x8b, 0xb9, 0x9f, 0x40, 0x37, 0xc0, 0x09, 0x72, + 0x21, 0x21, 0xee, 0xe5,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 0x62, 0x34, 0x15, 0x11, + 0xfb, 0xf5, 0x03, 0xeb, 0xf0, 0x9e, 0xd7, 0x10, 0x36, 0x09, 0xe9, 0xfc, 0x6c, 0x81, 0x77, 0xdf, + 0x4c, 0xa7, 0x04, 0xc7, 0x14, 0xd9, 0x67, 0xa0, 0xa9, 0x95, 0x44, 0xf7, 0xad, 0x83, 0x95, 0xc3, + 0x46, 0xd7, 0x75, 0xcc, 0x26, 0xd5, 0xab, 0x56, 0x4b, 0x71, 0x34, 0xae, 0x67, 0x40, 0x96, 0x29, + 0xec, 0xcf, 0x55, 0xb0, 0xd5, 0x27, 0x64, 0x08, 0x13, 0x38, 0x47, 0x0c, 0x25, 0xd4, 0x7e, 0x0e, + 0x9a, 0x72, 0xa1, 0x84, 0xdb, 0xa8, 0x58, 0x6c, 0xa3, 0xfb, 0xb8, 0x50, 0x49, 0x76, 0x10, 0x8e, + 0xbc, 0x03, 0x59, 0x35, 0xc7, 0x7c, 0x98, 0xe3, 0xbc, 0x46, 0x90, 0x19, 0xa8, 0xed, 0x01, 0x10, + 0x42, 0xac, 0xc8, 0x75, 0x41, 0x7e, 0x58, 0x4a, 0xe6, 0x77, 0x25, 0xe3, 0x7e, 0x09, 0xb1, 0x46, + 0xdd, 0x0c, 0xd3, 0x21, 0xb5, 0x63, 0xf0, 0x20, 0xef, 0x54, 0x85, 0x5e, 0x11, 0xe8, 0x7e, 0x29, + 0x5a, 0xeb, 0xed, 0x2c, 0xc3, 0x49, 0x66, 0xd3, 0x12, 0xbd, 0x35, 0x31, 0xad, 0x62, 0x0d, 0x91, + 0x1f, 0xa8, 0x44, 0xf7, 0x2a, 0xd6, 0xc0, 0x6f, 0x43, 0x96, 0xe1, 0xa9, 0x1f, 0xe8, 0x6b, 0x88, + 0xd2, 0xa1, 0xd8, 0x73, 0xd1, 0xc0, 0x8a, 0xba, 0x5a, 0xb1, 0xe7, 0xb2, 0xdb, 0x33, 0xee, 0x19, + 0x1f, 0xea, 0x7b, 0x4e,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xdb, 0xfa, 0xf7, 0xba, 0x6d, 0xbd, 0xbc, 0x69, 0xd7, 0x5e, 0xdd, 0xb4, 0x6b, 0xff, 0xdc, + 0xb4, 0x6b, 0xa0, 0x1d, 0xe0, 0xf9, 0x2d, 0xdc, 0xc1, 0x06, 0x5f, 0x1d, 0x7f, 0x75, 0x0d, 0xad, + 0xe7, 0xde, 0x24, 0x62, 0xd3, 0x85, 0xcf, 0xcf, 0xc9, 0x0d, 0x30, 0x9d, 0x63, 0xea, 0x26, 0x68, + 0x06, 0xaf, 0x50, 0xe2, 0x5e, 0x76, 0xb3, 0x4f, 0xd1, 0xaf, 0xd4, 0x2d, 0x7f, 0xd9, 0x3f, 0x81, + 0x84, 0xa8, 0xef, 0x5f, 0xeb, 0x2b, 0xc3, 0xe3, 0xfe, 0xef, 0xf5, 0xd6, 0x50, 0x95, 0x70, 0xcc, + 0x4b, 0xe8, 0x13, 0xe2, 0x7c, 0x97, 0xba, 0xfc, 0x9d, 0x4f, 0x9e, 0xf3, 0xc9, 0xf3, 0x3e, 0x21, + 0xe7, 0x6a, 0xf2, 0xba, 0xfe, 0x61, 0xf9, 0xe4, 0xf9, 0xc9, 0x70, 0xf0, 0x35, 0x62, 0x30, 0x84, + 0x0c, 0xfe, 0x57, 0x7f, 0x4f, 0x39, 0xf6, 0x7a, 0xdc, 0xb3, 0xd7, 0xeb, 0x13, 0xd2, 0xeb, 0x29, + 0x5f, 0x7f, 0x4d, 0xbc, 0x2d, 0x1f, 0xfe, 0x1f, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x1f, 0xc6, 0x14, + 0x93, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -769,13 +623,8 @@ const _ = grpc.SupportPackageIsVersion4 type QueryServiceClient interface { // Gets the app parameters. AppParameters(ctx context.Context, in *AppParametersRequest, opts ...grpc.CallOption) (*AppParametersResponse, error) - // General-purpose key-value state query API, that can be used to query - // arbitrary keys in the JMT storage. - KeyValue(ctx context.Context, in *KeyValueRequest, opts ...grpc.CallOption) (*KeyValueResponse, error) - // General-purpose prefixed key-value state query API, that can be used to query - // arbitrary prefixes in the JMT storage. - // Returns a stream of `PrefixValueResponse`s. - PrefixValue(ctx context.Context, in *PrefixValueRequest, opts ...grpc.CallOption) (QueryService_PrefixValueClient, error) + // Returns the CometBFT transactions that occurred during a given block. + TransactionsByHeight(ctx context.Context, in *TransactionsByHeightRequest, opts ...grpc.CallOption) (*TransactionsByHeightResponse, error) } type queryServiceClient struct { @@ -795,58 +644,21 @@ func (c *queryServiceClient) AppParameters(ctx context.Context, in *AppParameter return out, nil } -func (c *queryServiceClient) KeyValue(ctx context.Context, in *KeyValueRequest, opts ...grpc.CallOption) (*KeyValueResponse, error) { - out := new(KeyValueResponse) - err := c.cc.Invoke(ctx, "/penumbra.core.app.v1alpha1.QueryService/KeyValue", in, out, opts...) +func (c *queryServiceClient) TransactionsByHeight(ctx context.Context, in *TransactionsByHeightRequest, opts ...grpc.CallOption) (*TransactionsByHeightResponse, error) { + out := new(TransactionsByHeightResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.app.v1alpha1.QueryService/TransactionsByHeight", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *queryServiceClient) PrefixValue(ctx context.Context, in *PrefixValueRequest, opts ...grpc.CallOption) (QueryService_PrefixValueClient, error) { - stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.core.app.v1alpha1.QueryService/PrefixValue", opts...) - if err != nil { - return nil, err - } - x := &queryServicePrefixValueClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type QueryService_PrefixValueClient interface { - Recv() (*PrefixValueResponse, error) - grpc.ClientStream -} - -type queryServicePrefixValueClient struct { - grpc.ClientStream -} - -func (x *queryServicePrefixValueClient) Recv() (*PrefixValueResponse, error) { - m := new(PrefixValueResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - // QueryServiceServer is the server API for QueryService service. type QueryServiceServer interface { // Gets the app parameters. AppParameters(context.Context, *AppParametersRequest) (*AppParametersResponse, error) - // General-purpose key-value state query API, that can be used to query - // arbitrary keys in the JMT storage. - KeyValue(context.Context, *KeyValueRequest) (*KeyValueResponse, error) - // General-purpose prefixed key-value state query API, that can be used to query - // arbitrary prefixes in the JMT storage. - // Returns a stream of `PrefixValueResponse`s. - PrefixValue(*PrefixValueRequest, QueryService_PrefixValueServer) error + // Returns the CometBFT transactions that occurred during a given block. + TransactionsByHeight(context.Context, *TransactionsByHeightRequest) (*TransactionsByHeightResponse, error) } // UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. @@ -856,11 +668,8 @@ type UnimplementedQueryServiceServer struct { func (*UnimplementedQueryServiceServer) AppParameters(ctx context.Context, req *AppParametersRequest) (*AppParametersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AppParameters not implemented") } -func (*UnimplementedQueryServiceServer) KeyValue(ctx context.Context, req *KeyValueRequest) (*KeyValueResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method KeyValue not implemented") -} -func (*UnimplementedQueryServiceServer) PrefixValue(req *PrefixValueRequest, srv QueryService_PrefixValueServer) error { - return status.Errorf(codes.Unimplemented, "method PrefixValue not implemented") +func (*UnimplementedQueryServiceServer) TransactionsByHeight(ctx context.Context, req *TransactionsByHeightRequest) (*TransactionsByHeightResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method TransactionsByHeight not implemented") } func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { @@ -885,45 +694,24 @@ func _QueryService_AppParameters_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } -func _QueryService_KeyValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(KeyValueRequest) +func _QueryService_TransactionsByHeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TransactionsByHeightRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServiceServer).KeyValue(ctx, in) + return srv.(QueryServiceServer).TransactionsByHeight(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/penumbra.core.app.v1alpha1.QueryService/KeyValue", + FullMethod: "/penumbra.core.app.v1alpha1.QueryService/TransactionsByHeight", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServiceServer).KeyValue(ctx, req.(*KeyValueRequest)) + return srv.(QueryServiceServer).TransactionsByHeight(ctx, req.(*TransactionsByHeightRequest)) } return interceptor(ctx, in, info, handler) } -func _QueryService_PrefixValue_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(PrefixValueRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(QueryServiceServer).PrefixValue(m, &queryServicePrefixValueServer{stream}) -} - -type QueryService_PrefixValueServer interface { - Send(*PrefixValueResponse) error - grpc.ServerStream -} - -type queryServicePrefixValueServer struct { - grpc.ServerStream -} - -func (x *queryServicePrefixValueServer) Send(m *PrefixValueResponse) error { - return x.ServerStream.SendMsg(m) -} - var _QueryService_serviceDesc = grpc.ServiceDesc{ ServiceName: "penumbra.core.app.v1alpha1.QueryService", HandlerType: (*QueryServiceServer)(nil), @@ -933,21 +721,15 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{ Handler: _QueryService_AppParameters_Handler, }, { - MethodName: "KeyValue", - Handler: _QueryService_KeyValue_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "PrefixValue", - Handler: _QueryService_PrefixValue_Handler, - ServerStreams: true, + MethodName: "TransactionsByHeight", + Handler: _QueryService_TransactionsByHeight_Handler, }, }, + Streams: []grpc.StreamDesc{}, Metadata: "penumbra/core/app/v1alpha1/app.proto", } -func (m *KeyValueRequest) Marshal() (dAtA []byte, err error) { +func (m *TransactionsByHeightRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -957,32 +739,20 @@ func (m *KeyValueRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *KeyValueRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *TransactionsByHeightRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KeyValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TransactionsByHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Proof { - i-- - if m.Proof { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintApp(dAtA, i, uint64(len(m.Key))) + if m.BlockHeight != 0 { + i = encodeVarintApp(dAtA, i, uint64(m.BlockHeight)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } if len(m.ChainId) > 0 { i -= len(m.ChainId) @@ -994,7 +764,49 @@ func (m *KeyValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *KeyValueResponse) Marshal() (dAtA []byte, err error) { +func (m *TransactionsByHeightResponse) 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 *TransactionsByHeightResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TransactionsByHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.BlockHeight != 0 { + i = encodeVarintApp(dAtA, i, uint64(m.BlockHeight)) + i-- + dAtA[i] = 0x10 + } + if len(m.Transactions) > 0 { + for iNdEx := len(m.Transactions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Transactions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *AppParameters) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1004,19 +816,79 @@ func (m *KeyValueResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *KeyValueResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *AppParameters) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KeyValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Proof != nil { + if m.DistributionsParams != nil { + { + size, err := m.DistributionsParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.FeeParams != nil { + { + size, err := m.FeeParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.StakeParams != nil { + { + size, err := m.StakeParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.IbcParams != nil { + { + size, err := m.IbcParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.GovernanceParams != nil { + { + size, err := m.GovernanceParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.DaoParams != nil { { - size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.DaoParams.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1026,9 +898,9 @@ func (m *KeyValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.Value != nil { + if m.ChainParams != nil { { - size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ChainParams.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1041,7 +913,7 @@ func (m *KeyValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *KeyValueResponse_Value) Marshal() (dAtA []byte, err error) { +func (m *AppParametersRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1051,27 +923,27 @@ func (m *KeyValueResponse_Value) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *KeyValueResponse_Value) MarshalTo(dAtA []byte) (int, error) { +func (m *AppParametersRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KeyValueResponse_Value) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AppParametersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintApp(dAtA, i, uint64(len(m.Value))) + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintApp(dAtA, i, uint64(len(m.ChainId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PrefixValueRequest) Marshal() (dAtA []byte, err error) { +func (m *AppParametersResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1081,211 +953,12 @@ func (m *PrefixValueRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PrefixValueRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *AppParametersResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PrefixValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Prefix) > 0 { - i -= len(m.Prefix) - copy(dAtA[i:], m.Prefix) - i = encodeVarintApp(dAtA, i, uint64(len(m.Prefix))) - i-- - dAtA[i] = 0x12 - } - if len(m.ChainId) > 0 { - i -= len(m.ChainId) - copy(dAtA[i:], m.ChainId) - i = encodeVarintApp(dAtA, i, uint64(len(m.ChainId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PrefixValueResponse) 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 *PrefixValueResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PrefixValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintApp(dAtA, i, uint64(len(m.Value))) - i-- - dAtA[i] = 0x12 - } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintApp(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AppParameters) 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 *AppParameters) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.FeeParams != nil { - { - size, err := m.FeeParams.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintApp(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.StakeParams != nil { - { - size, err := m.StakeParams.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintApp(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.IbcParams != nil { - { - size, err := m.IbcParams.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintApp(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.GovernanceParams != nil { - { - size, err := m.GovernanceParams.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintApp(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.DaoParams != nil { - { - size, err := m.DaoParams.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintApp(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.ChainParams != nil { - { - size, err := m.ChainParams.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintApp(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AppParametersRequest) 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 *AppParametersRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AppParametersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ChainId) > 0 { - i -= len(m.ChainId) - copy(dAtA[i:], m.ChainId) - i = encodeVarintApp(dAtA, i, uint64(len(m.ChainId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AppParametersResponse) 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 *AppParametersResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AppParametersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AppParametersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1394,6 +1067,18 @@ func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.DistributionsContent != nil { + { + size, err := m.DistributionsContent.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } if m.FeeContent != nil { { size, err := m.FeeContent.MarshalToSizedBuffer(dAtA[:i]) @@ -1492,57 +1177,7 @@ func encodeVarintApp(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } -func (m *KeyValueRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ChainId) - if l > 0 { - n += 1 + l + sovApp(uint64(l)) - } - l = len(m.Key) - if l > 0 { - n += 1 + l + sovApp(uint64(l)) - } - if m.Proof { - n += 2 - } - return n -} - -func (m *KeyValueResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Value != nil { - l = m.Value.Size() - n += 1 + l + sovApp(uint64(l)) - } - if m.Proof != nil { - l = m.Proof.Size() - n += 1 + l + sovApp(uint64(l)) - } - return n -} - -func (m *KeyValueResponse_Value) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Value) - if l > 0 { - n += 1 + l + sovApp(uint64(l)) - } - return n -} - -func (m *PrefixValueRequest) Size() (n int) { +func (m *TransactionsByHeightRequest) Size() (n int) { if m == nil { return 0 } @@ -1552,26 +1187,26 @@ func (m *PrefixValueRequest) Size() (n int) { if l > 0 { n += 1 + l + sovApp(uint64(l)) } - l = len(m.Prefix) - if l > 0 { - n += 1 + l + sovApp(uint64(l)) + if m.BlockHeight != 0 { + n += 1 + sovApp(uint64(m.BlockHeight)) } return n } -func (m *PrefixValueResponse) Size() (n int) { +func (m *TransactionsByHeightResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovApp(uint64(l)) + if len(m.Transactions) > 0 { + for _, e := range m.Transactions { + l = e.Size() + n += 1 + l + sovApp(uint64(l)) + } } - l = len(m.Value) - if l > 0 { - n += 1 + l + sovApp(uint64(l)) + if m.BlockHeight != 0 { + n += 1 + sovApp(uint64(m.BlockHeight)) } return n } @@ -1606,6 +1241,10 @@ func (m *AppParameters) Size() (n int) { l = m.FeeParams.Size() n += 1 + l + sovApp(uint64(l)) } + if m.DistributionsParams != nil { + l = m.DistributionsParams.Size() + n += 1 + l + sovApp(uint64(l)) + } return n } @@ -1636,425 +1275,89 @@ func (m *AppParametersResponse) Size() (n int) { } func (m *GenesisAppState) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GenesisAppState != nil { - n += m.GenesisAppState.Size() - } - return n -} - -func (m *GenesisAppState_GenesisContent) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GenesisContent != nil { - l = m.GenesisContent.Size() - n += 1 + l + sovApp(uint64(l)) - } - return n -} -func (m *GenesisAppState_GenesisCheckpoint) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GenesisCheckpoint != nil { - l = len(m.GenesisCheckpoint) - n += 1 + l + sovApp(uint64(l)) - } - return n -} -func (m *GenesisContent) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StakeContent != nil { - l = m.StakeContent.Size() - n += 1 + l + sovApp(uint64(l)) - } - if m.ShieldedPoolContent != nil { - l = m.ShieldedPoolContent.Size() - n += 1 + l + sovApp(uint64(l)) - } - if m.GovernanceContent != nil { - l = m.GovernanceContent.Size() - n += 1 + l + sovApp(uint64(l)) - } - if m.IbcContent != nil { - l = m.IbcContent.Size() - n += 1 + l + sovApp(uint64(l)) - } - if m.ChainContent != nil { - l = m.ChainContent.Size() - n += 1 + l + sovApp(uint64(l)) - } - if m.DaoContent != nil { - l = m.DaoContent.Size() - n += 1 + l + sovApp(uint64(l)) - } - if m.FeeContent != nil { - l = m.FeeContent.Size() - n += 1 + l + sovApp(uint64(l)) - } - return n -} - -func sovApp(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozApp(x uint64) (n int) { - return sovApp(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *KeyValueRequest) 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 ErrIntOverflowApp - } - 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: KeyValueRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: KeyValueRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApp - } - 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 ErrInvalidLengthApp - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthApp - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ChainId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApp - } - 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 ErrInvalidLengthApp - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthApp - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApp - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Proof = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipApp(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthApp - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *KeyValueResponse) 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 ErrIntOverflowApp - } - 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: KeyValueResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: KeyValueResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApp - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthApp - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthApp - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Value == nil { - m.Value = &KeyValueResponse_Value{} - } - if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApp - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthApp - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthApp - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Proof == nil { - m.Proof = &types.MerkleProof{} - } - if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipApp(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthApp - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } + if m == nil { + return 0 + } + var l int + _ = l + if m.GenesisAppState != nil { + n += m.GenesisAppState.Size() } + return n +} - if iNdEx > l { - return io.ErrUnexpectedEOF +func (m *GenesisAppState_GenesisContent) Size() (n int) { + if m == nil { + return 0 } - return nil + var l int + _ = l + if m.GenesisContent != nil { + l = m.GenesisContent.Size() + n += 1 + l + sovApp(uint64(l)) + } + return n } -func (m *KeyValueResponse_Value) 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 ErrIntOverflowApp - } - 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: Value: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Value: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApp - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthApp - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthApp - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) - if m.Value == nil { - m.Value = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipApp(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthApp - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } +func (m *GenesisAppState_GenesisCheckpoint) Size() (n int) { + if m == nil { + return 0 } - - if iNdEx > l { - return io.ErrUnexpectedEOF + var l int + _ = l + if m.GenesisCheckpoint != nil { + l = len(m.GenesisCheckpoint) + n += 1 + l + sovApp(uint64(l)) } - return nil + return n +} +func (m *GenesisContent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StakeContent != nil { + l = m.StakeContent.Size() + n += 1 + l + sovApp(uint64(l)) + } + if m.ShieldedPoolContent != nil { + l = m.ShieldedPoolContent.Size() + n += 1 + l + sovApp(uint64(l)) + } + if m.GovernanceContent != nil { + l = m.GovernanceContent.Size() + n += 1 + l + sovApp(uint64(l)) + } + if m.IbcContent != nil { + l = m.IbcContent.Size() + n += 1 + l + sovApp(uint64(l)) + } + if m.ChainContent != nil { + l = m.ChainContent.Size() + n += 1 + l + sovApp(uint64(l)) + } + if m.DaoContent != nil { + l = m.DaoContent.Size() + n += 1 + l + sovApp(uint64(l)) + } + if m.FeeContent != nil { + l = m.FeeContent.Size() + n += 1 + l + sovApp(uint64(l)) + } + if m.DistributionsContent != nil { + l = m.DistributionsContent.Size() + n += 1 + l + sovApp(uint64(l)) + } + return n +} + +func sovApp(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozApp(x uint64) (n int) { + return sovApp(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *PrefixValueRequest) Unmarshal(dAtA []byte) error { +func (m *TransactionsByHeightRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2077,10 +1380,10 @@ func (m *PrefixValueRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PrefixValueRequest: wiretype end group for non-group") + return fmt.Errorf("proto: TransactionsByHeightRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PrefixValueRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TransactionsByHeightRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2116,10 +1419,10 @@ func (m *PrefixValueRequest) Unmarshal(dAtA []byte) error { m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) } - var stringLen uint64 + m.BlockHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowApp @@ -2129,24 +1432,11 @@ func (m *PrefixValueRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.BlockHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthApp - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthApp - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Prefix = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipApp(dAtA[iNdEx:]) @@ -2168,7 +1458,7 @@ func (m *PrefixValueRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *PrefixValueResponse) Unmarshal(dAtA []byte) error { +func (m *TransactionsByHeightResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2191,17 +1481,17 @@ func (m *PrefixValueResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PrefixValueResponse: wiretype end group for non-group") + return fmt.Errorf("proto: TransactionsByHeightResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PrefixValueResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TransactionsByHeightResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Transactions", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowApp @@ -2211,29 +1501,31 @@ func (m *PrefixValueResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthApp } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthApp } if postIndex > l { return io.ErrUnexpectedEOF } - m.Key = string(dAtA[iNdEx:postIndex]) + m.Transactions = append(m.Transactions, &v1alpha1.Transaction{}) + if err := m.Transactions[len(m.Transactions)-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 Value", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) } - var byteLen int + m.BlockHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowApp @@ -2243,26 +1535,11 @@ func (m *PrefixValueResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + m.BlockHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { - return ErrInvalidLengthApp - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthApp - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) - if m.Value == nil { - m.Value = []byte{} - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipApp(dAtA[iNdEx:]) @@ -2343,7 +1620,7 @@ func (m *AppParameters) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.ChainParams == nil { - m.ChainParams = &v1alpha1.ChainParameters{} + m.ChainParams = &v1alpha11.ChainParameters{} } if err := m.ChainParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2379,7 +1656,7 @@ func (m *AppParameters) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.DaoParams == nil { - m.DaoParams = &v1alpha11.DaoParameters{} + m.DaoParams = &v1alpha12.DaoParameters{} } if err := m.DaoParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2415,7 +1692,7 @@ func (m *AppParameters) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.GovernanceParams == nil { - m.GovernanceParams = &v1alpha12.GovernanceParameters{} + m.GovernanceParams = &v1alpha13.GovernanceParameters{} } if err := m.GovernanceParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2451,7 +1728,7 @@ func (m *AppParameters) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.IbcParams == nil { - m.IbcParams = &v1alpha13.IbcParameters{} + m.IbcParams = &v1alpha14.IbcParameters{} } if err := m.IbcParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2487,7 +1764,7 @@ func (m *AppParameters) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.StakeParams == nil { - m.StakeParams = &v1alpha14.StakeParameters{} + m.StakeParams = &v1alpha15.StakeParameters{} } if err := m.StakeParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2523,12 +1800,48 @@ func (m *AppParameters) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.FeeParams == nil { - m.FeeParams = &v1alpha15.FeeParameters{} + m.FeeParams = &v1alpha16.FeeParameters{} } if err := m.FeeParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DistributionsParams", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApp + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DistributionsParams == nil { + m.DistributionsParams = &v1alpha17.DistributionsParameters{} + } + if err := m.DistributionsParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipApp(dAtA[iNdEx:]) @@ -2895,7 +2208,7 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.StakeContent == nil { - m.StakeContent = &v1alpha14.GenesisContent{} + m.StakeContent = &v1alpha15.GenesisContent{} } if err := m.StakeContent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2931,7 +2244,7 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.ShieldedPoolContent == nil { - m.ShieldedPoolContent = &v1alpha16.GenesisContent{} + m.ShieldedPoolContent = &v1alpha18.GenesisContent{} } if err := m.ShieldedPoolContent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2967,7 +2280,7 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.GovernanceContent == nil { - m.GovernanceContent = &v1alpha12.GenesisContent{} + m.GovernanceContent = &v1alpha13.GenesisContent{} } if err := m.GovernanceContent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3003,7 +2316,7 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.IbcContent == nil { - m.IbcContent = &v1alpha13.GenesisContent{} + m.IbcContent = &v1alpha14.GenesisContent{} } if err := m.IbcContent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3039,7 +2352,7 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.ChainContent == nil { - m.ChainContent = &v1alpha1.GenesisContent{} + m.ChainContent = &v1alpha11.GenesisContent{} } if err := m.ChainContent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3075,7 +2388,7 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.DaoContent == nil { - m.DaoContent = &v1alpha11.GenesisContent{} + m.DaoContent = &v1alpha12.GenesisContent{} } if err := m.DaoContent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -3111,12 +2424,48 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.FeeContent == nil { - m.FeeContent = &v1alpha15.GenesisContent{} + m.FeeContent = &v1alpha16.GenesisContent{} } if err := m.FeeContent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DistributionsContent", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApp + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DistributionsContent == nil { + m.DistributionsContent = &v1alpha17.GenesisContent{} + } + if err := m.DistributionsContent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipApp(dAtA[iNdEx:]) diff --git a/relayer/chains/penumbra/core/component/chain/v1alpha1/chain.pb.go b/relayer/chains/penumbra/core/component/chain/v1alpha1/chain.pb.go index 903702458..7d6eb9c4b 100644 --- a/relayer/chains/penumbra/core/component/chain/v1alpha1/chain.pb.go +++ b/relayer/chains/penumbra/core/component/chain/v1alpha1/chain.pb.go @@ -8,7 +8,6 @@ import ( fmt "fmt" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1alpha1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -28,51 +27,6 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// An authorization hash for a Penumbra transaction. -type EffectHash struct { - Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` -} - -func (m *EffectHash) Reset() { *m = EffectHash{} } -func (m *EffectHash) String() string { return proto.CompactTextString(m) } -func (*EffectHash) ProtoMessage() {} -func (*EffectHash) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{0} -} -func (m *EffectHash) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EffectHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EffectHash.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 *EffectHash) XXX_Merge(src proto.Message) { - xxx_messageInfo_EffectHash.Merge(m, src) -} -func (m *EffectHash) XXX_Size() int { - return m.Size() -} -func (m *EffectHash) XXX_DiscardUnknown() { - xxx_messageInfo_EffectHash.DiscardUnknown(m) -} - -var xxx_messageInfo_EffectHash proto.InternalMessageInfo - -func (m *EffectHash) GetInner() []byte { - if m != nil { - return m.Inner - } - return nil -} - // Global chain configuration data, such as chain ID, epoch duration, etc. type ChainParameters struct { // The identifier of the chain. @@ -85,7 +39,7 @@ func (m *ChainParameters) Reset() { *m = ChainParameters{} } func (m *ChainParameters) String() string { return proto.CompactTextString(m) } func (*ChainParameters) ProtoMessage() {} func (*ChainParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{1} + return fileDescriptor_aca0b6fc4499b003, []int{0} } func (m *ChainParameters) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -140,7 +94,7 @@ func (m *Ratio) Reset() { *m = Ratio{} } func (m *Ratio) String() string { return proto.CompactTextString(m) } func (*Ratio) ProtoMessage() {} func (*Ratio) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{2} + return fileDescriptor_aca0b6fc4499b003, []int{1} } func (m *Ratio) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -193,7 +147,7 @@ func (m *FmdParameters) Reset() { *m = FmdParameters{} } func (m *FmdParameters) String() string { return proto.CompactTextString(m) } func (*FmdParameters) ProtoMessage() {} func (*FmdParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{3} + return fileDescriptor_aca0b6fc4499b003, []int{2} } func (m *FmdParameters) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -236,50 +190,6 @@ func (m *FmdParameters) GetAsOfBlockHeight() uint64 { return 0 } -type KnownAssets struct { - Assets []*v1alpha1.DenomMetadata `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"` -} - -func (m *KnownAssets) Reset() { *m = KnownAssets{} } -func (m *KnownAssets) String() string { return proto.CompactTextString(m) } -func (*KnownAssets) ProtoMessage() {} -func (*KnownAssets) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{4} -} -func (m *KnownAssets) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *KnownAssets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_KnownAssets.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 *KnownAssets) XXX_Merge(src proto.Message) { - xxx_messageInfo_KnownAssets.Merge(m, src) -} -func (m *KnownAssets) XXX_Size() int { - return m.Size() -} -func (m *KnownAssets) XXX_DiscardUnknown() { - xxx_messageInfo_KnownAssets.DiscardUnknown(m) -} - -var xxx_messageInfo_KnownAssets proto.InternalMessageInfo - -func (m *KnownAssets) GetAssets() []*v1alpha1.DenomMetadata { - if m != nil { - return m.Assets - } - return nil -} - // A spicy transaction ID type NoteSource struct { Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` @@ -289,7 +199,7 @@ func (m *NoteSource) Reset() { *m = NoteSource{} } func (m *NoteSource) String() string { return proto.CompactTextString(m) } func (*NoteSource) ProtoMessage() {} func (*NoteSource) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{5} + return fileDescriptor_aca0b6fc4499b003, []int{3} } func (m *NoteSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -335,7 +245,7 @@ func (m *SpendInfo) Reset() { *m = SpendInfo{} } func (m *SpendInfo) String() string { return proto.CompactTextString(m) } func (*SpendInfo) ProtoMessage() {} func (*SpendInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{6} + return fileDescriptor_aca0b6fc4499b003, []int{4} } func (m *SpendInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -388,7 +298,7 @@ func (m *GenesisContent) Reset() { *m = GenesisContent{} } func (m *GenesisContent) String() string { return proto.CompactTextString(m) } func (*GenesisContent) ProtoMessage() {} func (*GenesisContent) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{7} + return fileDescriptor_aca0b6fc4499b003, []int{5} } func (m *GenesisContent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -433,7 +343,7 @@ func (m *Epoch) Reset() { *m = Epoch{} } func (m *Epoch) String() string { return proto.CompactTextString(m) } func (*Epoch) ProtoMessage() {} func (*Epoch) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{8} + return fileDescriptor_aca0b6fc4499b003, []int{6} } func (m *Epoch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -484,7 +394,7 @@ func (m *EpochByHeightRequest) Reset() { *m = EpochByHeightRequest{} } func (m *EpochByHeightRequest) String() string { return proto.CompactTextString(m) } func (*EpochByHeightRequest) ProtoMessage() {} func (*EpochByHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{9} + return fileDescriptor_aca0b6fc4499b003, []int{7} } func (m *EpochByHeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -528,7 +438,7 @@ func (m *EpochByHeightResponse) Reset() { *m = EpochByHeightResponse{} } func (m *EpochByHeightResponse) String() string { return proto.CompactTextString(m) } func (*EpochByHeightResponse) ProtoMessage() {} func (*EpochByHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{10} + return fileDescriptor_aca0b6fc4499b003, []int{8} } func (m *EpochByHeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -565,11 +475,9 @@ func (m *EpochByHeightResponse) GetEpoch() *Epoch { } func init() { - proto.RegisterType((*EffectHash)(nil), "penumbra.core.component.chain.v1alpha1.EffectHash") proto.RegisterType((*ChainParameters)(nil), "penumbra.core.component.chain.v1alpha1.ChainParameters") proto.RegisterType((*Ratio)(nil), "penumbra.core.component.chain.v1alpha1.Ratio") proto.RegisterType((*FmdParameters)(nil), "penumbra.core.component.chain.v1alpha1.FmdParameters") - proto.RegisterType((*KnownAssets)(nil), "penumbra.core.component.chain.v1alpha1.KnownAssets") proto.RegisterType((*NoteSource)(nil), "penumbra.core.component.chain.v1alpha1.NoteSource") proto.RegisterType((*SpendInfo)(nil), "penumbra.core.component.chain.v1alpha1.SpendInfo") proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.chain.v1alpha1.GenesisContent") @@ -583,52 +491,47 @@ func init() { } var fileDescriptor_aca0b6fc4499b003 = []byte{ - // 709 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x41, 0x6b, 0xdb, 0x48, - 0x14, 0x8e, 0xbc, 0x71, 0x76, 0xf3, 0x6c, 0x27, 0x20, 0xb2, 0x4b, 0x36, 0x2c, 0x26, 0x2b, 0x48, - 0x30, 0x09, 0x2b, 0x11, 0xef, 0x61, 0xc1, 0xdb, 0x42, 0x6b, 0x25, 0x4d, 0x42, 0x69, 0xeb, 0xca, - 0xd0, 0x43, 0x30, 0xb8, 0x63, 0xe9, 0x39, 0x16, 0xb5, 0x66, 0xd4, 0x99, 0x71, 0xda, 0x9c, 0x7b, - 0xed, 0xa1, 0x7f, 0xa0, 0x97, 0x1e, 0xfb, 0x4b, 0x4a, 0x4f, 0x39, 0xf6, 0x58, 0x9c, 0x5b, 0x2f, - 0xfd, 0x0b, 0x65, 0x66, 0x24, 0x3b, 0x36, 0x14, 0xdc, 0x5e, 0x82, 0xde, 0x97, 0xef, 0xfb, 0xde, - 0x37, 0x6f, 0x9e, 0x07, 0xea, 0x29, 0xd2, 0x51, 0xd2, 0xe3, 0xc4, 0x0b, 0x19, 0x47, 0x2f, 0x64, - 0x49, 0xca, 0x28, 0x52, 0xe9, 0x85, 0x03, 0x12, 0x53, 0xef, 0xe2, 0x80, 0x0c, 0xd3, 0x01, 0x39, - 0x30, 0xa5, 0x9b, 0x72, 0x26, 0x99, 0xbd, 0x9b, 0x6b, 0x5c, 0xa5, 0x71, 0x27, 0x1a, 0xd7, 0x90, - 0x72, 0xcd, 0x56, 0x6d, 0xd6, 0x9b, 0x08, 0x81, 0x72, 0xea, 0xa8, 0x4b, 0xe3, 0xe8, 0x38, 0x00, - 0x47, 0xfd, 0x3e, 0x86, 0xf2, 0x84, 0x88, 0x81, 0xbd, 0x01, 0xc5, 0x98, 0x52, 0xe4, 0x9b, 0xd6, - 0xb6, 0x55, 0x2b, 0x07, 0xa6, 0x70, 0xda, 0xb0, 0xee, 0x2b, 0xff, 0x16, 0xe1, 0x24, 0x41, 0x89, - 0x5c, 0xd8, 0x7f, 0xc2, 0x6f, 0xba, 0x65, 0x37, 0x8e, 0x34, 0x77, 0x35, 0xf8, 0x55, 0xd7, 0xa7, - 0x91, 0xbd, 0x03, 0x6b, 0x98, 0xb2, 0x70, 0xd0, 0x8d, 0x46, 0x9c, 0xc8, 0x98, 0xd1, 0xcd, 0xc2, - 0xb6, 0x55, 0x5b, 0x0e, 0x2a, 0x1a, 0x3d, 0xcc, 0x40, 0xe7, 0x18, 0x8a, 0x81, 0xfa, 0xb2, 0xff, - 0x82, 0x55, 0x3a, 0x4a, 0x90, 0x13, 0xc9, 0x4c, 0xdf, 0xe5, 0x60, 0x0a, 0xd8, 0xdb, 0x50, 0x8a, - 0x90, 0xb2, 0x24, 0xa6, 0xfa, 0xff, 0xc6, 0xea, 0x26, 0xe4, 0x84, 0x50, 0xb9, 0x97, 0x44, 0x37, - 0xb2, 0xed, 0xc0, 0x5a, 0xca, 0x31, 0x8c, 0x45, 0xcc, 0x68, 0xb7, 0x17, 0x4b, 0xa1, 0x5d, 0x2b, - 0x41, 0x65, 0x82, 0x36, 0x63, 0x29, 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 0x4e, 0x4e, 0x1c, 0x17, 0xea, 0x8b, 0x11, 0x3b, 0xc7, 0xad, 0x66, 0xfe, 0xa3, 0xfe, - 0x52, 0xd8, 0xcb, 0x45, 0x8d, 0x86, 0x52, 0xa9, 0xbf, 0x99, 0xac, 0xd1, 0xd0, 0xba, 0x46, 0x23, - 0x17, 0xf6, 0x56, 0xf4, 0xdb, 0xfb, 0xef, 0xb7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x44, 0x2d, 0x6a, - 0xc0, 0x03, 0x06, 0x00, 0x00, + // 637 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x31, 0x6f, 0xd3, 0x40, + 0x14, 0xae, 0xa3, 0xa6, 0xd0, 0x97, 0xa4, 0x95, 0x4e, 0x05, 0x15, 0x84, 0xa2, 0x62, 0xa9, 0x55, + 0x55, 0x84, 0xad, 0x86, 0x01, 0x29, 0x80, 0x84, 0x62, 0xa0, 0x74, 0x00, 0x82, 0x23, 0x31, 0x54, + 0x91, 0xcc, 0xc5, 0x7e, 0x6d, 0x2c, 0xe2, 0x3b, 0x73, 0x77, 0xae, 0xe8, 0xcc, 0xca, 0xc0, 0x1f, + 0x60, 0x61, 0xe4, 0x97, 0x20, 0xa6, 0x8e, 0x8c, 0x28, 0xd9, 0x58, 0xf8, 0x0b, 0xe8, 0xce, 0x76, + 0xd2, 0x66, 0x0a, 0x2c, 0xd1, 0xbd, 0x2f, 0xdf, 0xf7, 0xbd, 0xef, 0xdd, 0xb3, 0x0e, 0x5a, 0x29, + 0xb2, 0x2c, 0x19, 0x08, 0xea, 0x86, 0x5c, 0xa0, 0x1b, 0xf2, 0x24, 0xe5, 0x0c, 0x99, 0x72, 0xc3, + 0x21, 0x8d, 0x99, 0x7b, 0xba, 0x4f, 0x47, 0xe9, 0x90, 0xee, 0xe7, 0xa5, 0x93, 0x0a, 0xae, 0x38, + 0xd9, 0x29, 0x35, 0x8e, 0xd6, 0x38, 0x53, 0x8d, 0x93, 0x93, 0x4a, 0x8d, 0xdd, 0x83, 0x75, 0x4f, + 0x23, 0x5d, 0x2a, 0x68, 0x82, 0x0a, 0x85, 0x24, 0x37, 0xe0, 0xaa, 0x21, 0x05, 0x71, 0xb4, 0x69, + 0x6d, 0x59, 0xbb, 0xab, 0xfe, 0x15, 0x53, 0x1f, 0x46, 0x64, 0x1b, 0xd6, 0x30, 0xe5, 0xe1, 0x30, + 0x88, 0x32, 0x41, 0x55, 0xcc, 0xd9, 0x66, 0x65, 0xcb, 0xda, 0x5d, 0xf6, 0x1b, 0x06, 0x7d, 0x52, + 0x80, 0xf6, 0x01, 0x54, 0x7d, 0x7d, 0x22, 0xb7, 0x60, 0x95, 0x65, 0x09, 0x0a, 0xaa, 0xb8, 0x30, + 0x5e, 0xcb, 0xfe, 0x0c, 0x20, 0x5b, 0x50, 0x8b, 0x90, 0xf1, 0x24, 0x66, 0xe6, 0xff, 0xdc, 0xea, + 0x22, 0x64, 0x87, 0xd0, 0x78, 0x96, 0x44, 0x17, 0xb2, 0x6d, 0xc3, 0x5a, 0x2a, 0x30, 0x8c, 0x65, + 0xcc, 0x59, 0x30, 0x88, 0x95, 0x34, 0xae, 0x0d, 0xbf, 0x31, 0x45, 0x3b, 0xb1, 0x92, 0xe4, 0x0e, + 0x10, 0x2a, 0x03, 0x7e, 0x1c, 0x0c, 0x46, 0x3c, 0x7c, 0x17, 0x0c, 0x31, 0x3e, 0x19, 0xaa, 0xa2, + 0xc1, 0x3a, 0x95, 0xaf, 0x8e, 0x3b, 0x1a, 0x7f, 0x6e, 0x60, 0xdb, 0x06, 0x78, 0xc9, 0x15, 0xf6, + 0x78, 0x26, 0x42, 0x24, 0x1b, 0x50, 0x8d, 0x19, 0xc3, 0x3c, 0x6e, 0xdd, 0xcf, 0x0b, 0xfb, 0xa3, + 0x05, 0xab, 0xbd, 0x14, 0x59, 0x74, 0xc8, 0x8e, 0x39, 0xe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xd2, 0xf9, 0xa4, 0xb9, 0xf4, 0x73, 0xd2, 0x5c, 0x82, 0xbd, 0x90, 0x27, 0x0b, 0x9a, 0x77, 0x20, + 0x5f, 0xaa, 0x7e, 0x05, 0xba, 0xd6, 0xd1, 0xdb, 0x93, 0x58, 0x0d, 0xb3, 0x81, 0xa6, 0xbb, 0x21, + 0x97, 0x09, 0x97, 0xae, 0xc0, 0x11, 0x3d, 0x43, 0xe1, 0x9e, 0xb6, 0xa6, 0x47, 0x63, 0x21, 0xdd, + 0xc5, 0xde, 0x99, 0x07, 0xa6, 0x2c, 0xab, 0xaf, 0x95, 0xe5, 0xae, 0xe7, 0x79, 0xdf, 0x2a, 0x3b, + 0xdd, 0x32, 0x9f, 0xa7, 0xf3, 0x79, 0xd3, 0x7c, 0x26, 0x8f, 0xf3, 0xa6, 0xe0, 0xff, 0x98, 0x11, + 0xfb, 0x9a, 0xd8, 0x9f, 0x12, 0xfb, 0x86, 0xd8, 0x2f, 0x89, 0xe3, 0x4a, 0x6b, 0x31, 0x62, 0xff, + 0xa0, 0xdb, 0x79, 0x81, 0x8a, 0x46, 0x54, 0xd1, 0xdf, 0x95, 0xbd, 0x52, 0xd4, 0x6e, 0x6b, 0x95, + 0xfe, 0x2d, 0x64, 0xed, 0xb6, 0xd1, 0xb5, 0xdb, 0xa5, 0x70, 0xb0, 0x62, 0xde, 0xca, 0x7b, 0x7f, + 0x03, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x31, 0xab, 0x6c, 0x61, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -713,36 +616,6 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{ Metadata: "penumbra/core/component/chain/v1alpha1/chain.proto", } -func (m *EffectHash) 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 *EffectHash) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EffectHash) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintChain(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *ChainParameters) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -844,43 +717,6 @@ func (m *FmdParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *KnownAssets) 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 *KnownAssets) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *KnownAssets) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Assets) > 0 { - for iNdEx := len(m.Assets) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Assets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - func (m *NoteSource) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1093,19 +929,6 @@ func encodeVarintChain(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } -func (m *EffectHash) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovChain(uint64(l)) - } - return n -} - func (m *ChainParameters) Size() (n int) { if m == nil { return 0 @@ -1152,21 +975,6 @@ func (m *FmdParameters) Size() (n int) { return n } -func (m *KnownAssets) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Assets) > 0 { - for _, e := range m.Assets { - l = e.Size() - n += 1 + l + sovChain(uint64(l)) - } - } - return n -} - func (m *NoteSource) Size() (n int) { if m == nil { return 0 @@ -1255,90 +1063,6 @@ func sovChain(x uint64) (n int) { func sozChain(x uint64) (n int) { return sovChain(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *EffectHash) 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 ErrIntOverflowChain - } - 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: EffectHash: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EffectHash: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *ChainParameters) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1616,90 +1340,6 @@ func (m *FmdParameters) Unmarshal(dAtA []byte) error { } return nil } -func (m *KnownAssets) 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 ErrIntOverflowChain - } - 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: KnownAssets: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: KnownAssets: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Assets", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Assets = append(m.Assets, &v1alpha1.DenomMetadata{}) - if err := m.Assets[len(m.Assets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *NoteSource) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/core/component/compact_block/v1alpha1/compact_block.pb.go b/relayer/chains/penumbra/core/component/compact_block/v1alpha1/compact_block.pb.go index 77c787db4..939dfaab0 100644 --- a/relayer/chains/penumbra/core/component/compact_block/v1alpha1/compact_block.pb.go +++ b/relayer/chains/penumbra/core/component/compact_block/v1alpha1/compact_block.pb.go @@ -538,69 +538,68 @@ func init() { } var fileDescriptor_7db33c115ee8eed4 = []byte{ - // 977 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xf7, 0xda, 0x4e, 0x6a, 0x8f, 0x9d, 0x96, 0x8e, 0xaa, 0x6a, 0x6b, 0x09, 0x2b, 0xe4, 0x80, - 0xcc, 0xa1, 0x6b, 0x62, 0xe0, 0xd0, 0x94, 0x4b, 0x6d, 0x4a, 0x52, 0xa4, 0x24, 0x66, 0xad, 0x82, - 0x40, 0x96, 0x56, 0x93, 0xdd, 0x67, 0x7b, 0x95, 0xdd, 0x9d, 0x61, 0x66, 0x36, 0x6d, 0x2e, 0x7c, - 0x06, 0x4e, 0x48, 0x5c, 0xe1, 0x96, 0xaf, 0xc0, 0x17, 0x40, 0x9c, 0x7a, 0xe0, 0x80, 0xc4, 0x05, - 0x25, 0x37, 0x3e, 0x05, 0x9a, 0xd9, 0x3f, 0xde, 0x15, 0xb8, 0xad, 0x95, 0x5c, 0xac, 0x79, 0xcf, - 0xef, 0xf7, 0x7b, 0xbf, 0xf7, 0xe6, 0xed, 0xdb, 0x45, 0x43, 0x06, 0x51, 0x1c, 0x9e, 0x70, 0xd2, - 0x77, 0x29, 0x87, 0xbe, 0x4b, 0x43, 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 0xb7, 0x93, - 0xd3, 0x1e, 0x65, 0x38, 0xbb, 0x40, 0x81, 0xf7, 0x11, 0xd2, 0xe9, 0x1d, 0x4e, 0xa9, 0x34, 0xeb, - 0xdb, 0x46, 0xaf, 0x35, 0xe8, 0x15, 0x08, 0xf5, 0x8c, 0x58, 0xb2, 0x48, 0x74, 0x08, 0xfc, 0x34, - 0x00, 0x9b, 0x52, 0x69, 0x37, 0x35, 0x56, 0x1d, 0x15, 0x11, 0x30, 0xea, 0x2e, 0x12, 0xa2, 0xbb, - 0xeb, 0x12, 0x69, 0xac, 0x26, 0xfa, 0x00, 0xbd, 0xc3, 0x38, 0x65, 0x54, 0x90, 0xc0, 0x11, 0x92, - 0x70, 0x09, 0x9e, 0x79, 0x6f, 0xdb, 0xe8, 0x35, 0xec, 0x3b, 0x99, 0x7f, 0x92, 0xb8, 0xf1, 0x14, - 0xdd, 0x9e, 0x85, 0x9e, 0xc3, 0x08, 0x27, 0x21, 0x48, 0xd5, 0x11, 0x4f, 0xe7, 0xfd, 0x64, 0x75, - 0xcb, 0xf5, 0xf4, 0xe5, 0x0a, 0x3e, 0x0f, 0xbd, 0x71, 0x0e, 0xb6, 0xb7, 0x66, 0x45, 0x13, 0x4f, - 0x51, 0x5b, 0xbc, 0x20, 0xcc, 0xa1, 0xb1, 0x64, 0xb1, 0x14, 0xe6, 0x86, 0xee, 0xf6, 0xa3, 0x95, - 0xdc, 0x6a, 0x4e, 0x73, 0xe6, 0x21, 0x91, 0xee, 0x62, 0xf2, 0x82, 0xb0, 0x63, 0x8d, 0xfe, 0x8c, - 0x48, 0x62, 0xb7, 0x44, 0x6e, 0x0b, 0xfc, 0x31, 0xba, 0x4f, 0x18, 0x2b, 0x68, 0x77, 0x62, 0xe6, - 0x11, 0x55, 0xec, 0xa6, 0x2e, 0xf6, 0x1e, 0x61, 0x6c, 0x29, 0xe6, 0x79, 0xf2, 0x1f, 0x3e, 0x42, - 0x68, 0x4e, 0x84, 0xc3, 0xb8, 0xef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e, 0x6c, 0x7c, 0xcb, 0xe6, 0xbe, 0x5c, 0xc4, 0x27, 0x0a, 0xd3, 0x77, 0xa9, - 0x08, 0xa9, 0xe8, 0x73, 0x08, 0xc8, 0x39, 0xf0, 0xfe, 0xd9, 0x20, 0x3f, 0xea, 0x81, 0x11, 0xfd, - 0xf5, 0xbe, 0xdf, 0x1e, 0x97, 0xdc, 0x99, 0xf7, 0xe7, 0x6a, 0x7d, 0x3c, 0x1a, 0x8d, 0x2e, 0xaa, - 0x0f, 0xc7, 0x99, 0xfc, 0x91, 0x92, 0x3f, 0xca, 0xe5, 0x17, 0x65, 0x5a, 0x5f, 0xa5, 0xb0, 0xdf, - 0x97, 0xf1, 0x53, 0x15, 0x3f, 0xcd, 0xe3, 0xa7, 0xc5, 0xf8, 0x69, 0x16, 0x7f, 0x59, 0x7d, 0xb4, - 0x56, 0xfc, 0x74, 0x7f, 0x3c, 0x3c, 0x04, 0x49, 0x3c, 0x22, 0xc9, 0x3f, 0xd5, 0xdd, 0x0c, 0xbb, - 0xb7, 0xa7, 0xc0, 0xea, 0x37, 0x45, 0x27, 0xc7, 0x0c, 0xbe, 0xb7, 0x97, 0xe1, 0x4f, 0x36, 0xf5, - 0xf7, 0xd3, 0x47, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xe1, 0xab, 0xb1, 0x8e, 0xe5, 0x0a, 0x00, - 0x00, + // 976 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xc7, 0xbd, 0xb6, 0x93, 0xda, 0x63, 0xa7, 0xa5, 0xa3, 0xaa, 0xda, 0x5a, 0xc2, 0x0a, 0x39, + 0x20, 0x73, 0xe8, 0x9a, 0x18, 0x38, 0x34, 0xe5, 0x52, 0x9b, 0x92, 0x14, 0x29, 0x89, 0x59, 0xab, + 0x20, 0x90, 0xa5, 0xd5, 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 0xfa, 0x37, 0x00, 0x00, 0xff, 0xff, 0x51, 0x25, 0x8f, 0x59, 0xe5, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/relayer/chains/penumbra/core/component/dao/v1alpha1/dao.pb.go b/relayer/chains/penumbra/core/component/dao/v1alpha1/dao.pb.go index a92ba40d7..dcd66bfc2 100644 --- a/relayer/chains/penumbra/core/component/dao/v1alpha1/dao.pb.go +++ b/relayer/chains/penumbra/core/component/dao/v1alpha1/dao.pb.go @@ -4,8 +4,14 @@ package daov1alpha1 import ( + context "context" fmt "fmt" + grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" + v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1alpha1" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" io "io" math "math" math_bits "math/bits" @@ -114,9 +120,112 @@ func (m *GenesisContent) GetDaoParams() *DaoParameters { return nil } +// Requests the list of all asset balances associated with the DAO. +type DaoAssetBalancesRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // (Optional): The specific asset balances to retrieve, if excluded all will be returned. + AssetIds []*v1alpha1.AssetId `protobuf:"bytes,2,rep,name=asset_ids,json=assetIds,proto3" json:"asset_ids,omitempty"` +} + +func (m *DaoAssetBalancesRequest) Reset() { *m = DaoAssetBalancesRequest{} } +func (m *DaoAssetBalancesRequest) String() string { return proto.CompactTextString(m) } +func (*DaoAssetBalancesRequest) ProtoMessage() {} +func (*DaoAssetBalancesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a2476c8b34dca79f, []int{2} +} +func (m *DaoAssetBalancesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DaoAssetBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DaoAssetBalancesRequest.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 *DaoAssetBalancesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DaoAssetBalancesRequest.Merge(m, src) +} +func (m *DaoAssetBalancesRequest) XXX_Size() int { + return m.Size() +} +func (m *DaoAssetBalancesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DaoAssetBalancesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DaoAssetBalancesRequest proto.InternalMessageInfo + +func (m *DaoAssetBalancesRequest) GetChainId() string { + if m != nil { + return m.ChainId + } + return "" +} + +func (m *DaoAssetBalancesRequest) GetAssetIds() []*v1alpha1.AssetId { + if m != nil { + return m.AssetIds + } + return nil +} + +// The DAO's balance of a single asset. +type DaoAssetBalancesResponse struct { + // The balance for a single asset. + Balance *v1alpha1.Value `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` +} + +func (m *DaoAssetBalancesResponse) Reset() { *m = DaoAssetBalancesResponse{} } +func (m *DaoAssetBalancesResponse) String() string { return proto.CompactTextString(m) } +func (*DaoAssetBalancesResponse) ProtoMessage() {} +func (*DaoAssetBalancesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a2476c8b34dca79f, []int{3} +} +func (m *DaoAssetBalancesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DaoAssetBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DaoAssetBalancesResponse.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 *DaoAssetBalancesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DaoAssetBalancesResponse.Merge(m, src) +} +func (m *DaoAssetBalancesResponse) XXX_Size() int { + return m.Size() +} +func (m *DaoAssetBalancesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DaoAssetBalancesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DaoAssetBalancesResponse proto.InternalMessageInfo + +func (m *DaoAssetBalancesResponse) GetBalance() *v1alpha1.Value { + if m != nil { + return m.Balance + } + return nil +} + func init() { proto.RegisterType((*DaoParameters)(nil), "penumbra.core.component.dao.v1alpha1.DaoParameters") proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.dao.v1alpha1.GenesisContent") + proto.RegisterType((*DaoAssetBalancesRequest)(nil), "penumbra.core.component.dao.v1alpha1.DaoAssetBalancesRequest") + proto.RegisterType((*DaoAssetBalancesResponse)(nil), "penumbra.core.component.dao.v1alpha1.DaoAssetBalancesResponse") } func init() { @@ -124,30 +233,146 @@ func init() { } var fileDescriptor_a2476c8b34dca79f = []byte{ - // 359 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd2, 0xb1, 0x6a, 0xe3, 0x30, - 0x18, 0x07, 0xf0, 0xd8, 0x1c, 0x47, 0xce, 0xc7, 0xdd, 0x90, 0x29, 0x70, 0x60, 0x8e, 0x90, 0x21, - 0x93, 0xd4, 0x24, 0x9b, 0x4b, 0x97, 0xd8, 0x25, 0x53, 0x8b, 0x49, 0xa1, 0x43, 0x31, 0x84, 0xcf, - 0x96, 0x68, 0x02, 0xb6, 0x3e, 0x21, 0x29, 0x81, 0xbe, 0x45, 0x9f, 0xa1, 0x63, 0x9f, 0xa4, 0x74, - 0xca, 0xd8, 0xad, 0xc5, 0xd9, 0xfa, 0x14, 0x45, 0x69, 0xe4, 0xd2, 0xcd, 0x8b, 0xd1, 0x87, 0x7f, - 0xff, 0xcf, 0x7f, 0x6c, 0x07, 0x44, 0x72, 0xb1, 0xa9, 0x72, 0x05, 0xb4, 0x40, 0xc5, 0x69, 0x81, - 0x95, 0x44, 0xc1, 0x85, 0xa1, 0x0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, 0x8f, 0xfe, 0x30, 0x75, - 0xbd, 0x62, 0xdb, 0x2b, 0x6e, 0x7a, 0x25, 0x80, 0xe4, 0xfa, 0xa8, 0x9f, 0xbf, 0x58, 0x66, 0x59, - 0xd6, 0xb0, 0x2c, 0x01, 0xcc, 0x1c, 0xab, 0xfd, 0x93, 0x36, 0x2c, 0x9b, 0xa7, 0xb3, 0x0b, 0x6e, - 0x80, 0x81, 0x81, 0x77, 0x7f, 0xe4, 0x22, 0x51, 0x64, 0x33, 0xf6, 0x7a, 0x0c, 0x45, 0x51, 0x02, - 0x18, 0x45, 0x2e, 0x96, 0xff, 0x3c, 0xfc, 0x44, 0xd3, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6b, - 0xb8, 0xe8, 0xf5, 0x76, 0x02, 0x00, 0x00, + // 510 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x41, 0x8b, 0xd3, 0x40, + 0x14, 0xc7, 0x37, 0x51, 0xdc, 0x76, 0x56, 0x45, 0x72, 0xb1, 0xae, 0x10, 0x96, 0xba, 0x42, 0x4f, + 0xc9, 0x6e, 0xf7, 0x16, 0xa9, 0x60, 0x1b, 0x59, 0xf6, 0xa0, 0xc4, 0x2c, 0x2c, 0x28, 0x81, 0xf2, + 0x9a, 0x79, 0xd8, 0x40, 0x3a, 0x2f, 0xce, 0x4c, 0x8b, 0xfb, 0x2d, 0x04, 0xbf, 0x81, 0x78, 0xf2, + 0x93, 0x88, 0xa7, 0x3d, 0x7a, 0x53, 0xda, 0x9b, 0x9f, 0x42, 0x26, 0x69, 0xba, 0xec, 0x2a, 0x12, + 0xbc, 0x84, 0x79, 0xc9, 0xef, 0xff, 0x7f, 0xff, 0x37, 0x93, 0x61, 0x5e, 0x81, 0x62, 0x3e, 0x9b, + 0x48, 0xf0, 0x53, 0x92, 0xe8, 0xa7, 0x34, 0x2b, 0x48, 0xa0, 0xd0, 0x3e, 0x07, 0xf2, 0x17, 0x87, + 0x90, 0x17, 0x53, 0x38, 0x34, 0x85, 0x57, 0x48, 0xd2, 0xe4, 0xec, 0xd7, 0xbc, 0x67, 0x78, 0x6f, + 0xc3, 0x7b, 0x06, 0xa9, 0xf9, 0xdd, 0xde, 0x55, 0x57, 0x50, 0x0a, 0xf5, 0xa5, 0x5b, 0x59, 0x56, + 0x7e, 0xdd, 0x97, 0xec, 0x4e, 0x08, 0x14, 0x81, 0x84, 0x19, 0x6a, 0x94, 0xca, 0x19, 0xb0, 0x87, + 0x1c, 0x68, 0xac, 0x0a, 0x14, 0x7c, 0x5c, 0x48, 0x2a, 0x48, 0x41, 0xae, 0xc6, 0x28, 0x60, 0x92, + 0x23, 0xef, 0x58, 0x7b, 0x56, 0xaf, 0x15, 0x77, 0x38, 0xd0, 0xa9, 0x21, 0xa2, 0x1a, 0x78, 0x5e, + 0x7d, 0xef, 0x72, 0x76, 0xf7, 0x18, 0x05, 0xaa, 0x4c, 0x8d, 0x48, 0x68, 0x14, 0xda, 0x89, 0x19, + 0x33, 0x86, 0x85, 0x69, 0xa1, 0x4a, 0xfd, 0x4e, 0xff, 0xc8, 0x6b, 0x32, 0x86, 0x77, 0x25, 0x59, + 0xdc, 0xe6, 0xeb, 0x52, 0x75, 0xdf, 0xb3, 0xfb, 0x21, 0xd0, 0x33, 0x33, 0xc7, 0x10, 0x72, 0x10, + 0x29, 0xaa, 0x18, 0xdf, 0xcd, 0x51, 0x69, 0xe7, 0x01, 0x6b, 0xa5, 0x53, 0xc8, 0xc4, 0x38, 0xab, + 0xc2, 0xb6, 0xe3, 0xed, 0xb2, 0x3e, 0xe1, 0xce, 0x90, 0xb5, 0xcb, 0xd1, 0xc7, 0x19, 0x57, 0x1d, + 0x7b, 0xef, 0x46, 0x6f, 0xa7, 0xff, 0xf8, 0x5a, 0x90, 0x6a, 0x6b, 0x36, 0x01, 0xca, 0x0e, 0x27, + 0x3c, 0x6e, 0x41, 0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0e, 0x1a, 0x7e, 0xd9, 0xbd, 0x5a, 0x12, 0x04, + 0x46, 0x63, 0x9e, 0x6b, 0x51, 0x10, 0x84, 0x40, 0x41, 0x50, 0xcb, 0x26, 0xb7, 0xca, 0xab, 0x79, + 0xf4, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x34, 0x72, 0x78, 0x24, 0x1c, 0x04, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// QueryServiceClient is the client API for QueryService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type QueryServiceClient interface { + DaoAssetBalances(ctx context.Context, in *DaoAssetBalancesRequest, opts ...grpc.CallOption) (QueryService_DaoAssetBalancesClient, error) +} + +type queryServiceClient struct { + cc grpc1.ClientConn +} + +func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { + return &queryServiceClient{cc} +} + +func (c *queryServiceClient) DaoAssetBalances(ctx context.Context, in *DaoAssetBalancesRequest, opts ...grpc.CallOption) (QueryService_DaoAssetBalancesClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.core.component.dao.v1alpha1.QueryService/DaoAssetBalances", opts...) + if err != nil { + return nil, err + } + x := &queryServiceDaoAssetBalancesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type QueryService_DaoAssetBalancesClient interface { + Recv() (*DaoAssetBalancesResponse, error) + grpc.ClientStream +} + +type queryServiceDaoAssetBalancesClient struct { + grpc.ClientStream +} + +func (x *queryServiceDaoAssetBalancesClient) Recv() (*DaoAssetBalancesResponse, error) { + m := new(DaoAssetBalancesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// QueryServiceServer is the server API for QueryService service. +type QueryServiceServer interface { + DaoAssetBalances(*DaoAssetBalancesRequest, QueryService_DaoAssetBalancesServer) error +} + +// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServiceServer struct { +} + +func (*UnimplementedQueryServiceServer) DaoAssetBalances(req *DaoAssetBalancesRequest, srv QueryService_DaoAssetBalancesServer) error { + return status.Errorf(codes.Unimplemented, "method DaoAssetBalances not implemented") +} + +func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { + s.RegisterService(&_QueryService_serviceDesc, srv) +} + +func _QueryService_DaoAssetBalances_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(DaoAssetBalancesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).DaoAssetBalances(m, &queryServiceDaoAssetBalancesServer{stream}) +} + +type QueryService_DaoAssetBalancesServer interface { + Send(*DaoAssetBalancesResponse) error + grpc.ServerStream +} + +type queryServiceDaoAssetBalancesServer struct { + grpc.ServerStream +} + +func (x *queryServiceDaoAssetBalancesServer) Send(m *DaoAssetBalancesResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _QueryService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "penumbra.core.component.dao.v1alpha1.QueryService", + HandlerType: (*QueryServiceServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{ + { + StreamName: "DaoAssetBalances", + Handler: _QueryService_DaoAssetBalances_Handler, + ServerStreams: true, + }, + }, + Metadata: "penumbra/core/component/dao/v1alpha1/dao.proto", } func (m *DaoParameters) Marshal() (dAtA []byte, err error) { @@ -218,6 +443,85 @@ func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *DaoAssetBalancesRequest) 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 *DaoAssetBalancesRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DaoAssetBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AssetIds) > 0 { + for iNdEx := len(m.AssetIds) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.AssetIds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDao(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintDao(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DaoAssetBalancesResponse) 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 *DaoAssetBalancesResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DaoAssetBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Balance != nil { + { + size, err := m.Balance.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDao(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintDao(dAtA []byte, offset int, v uint64) int { offset -= sovDao(v) base := offset @@ -254,6 +558,38 @@ func (m *GenesisContent) Size() (n int) { return n } +func (m *DaoAssetBalancesRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovDao(uint64(l)) + } + if len(m.AssetIds) > 0 { + for _, e := range m.AssetIds { + l = e.Size() + n += 1 + l + sovDao(uint64(l)) + } + } + return n +} + +func (m *DaoAssetBalancesResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Balance != nil { + l = m.Balance.Size() + n += 1 + l + sovDao(uint64(l)) + } + return n +} + func sovDao(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -416,6 +752,208 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { } return nil } +func (m *DaoAssetBalancesRequest) 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 ErrIntOverflowDao + } + 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: DaoAssetBalancesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DaoAssetBalancesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDao + } + 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 ErrInvalidLengthDao + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDao + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AssetIds", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDao + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDao + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDao + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AssetIds = append(m.AssetIds, &v1alpha1.AssetId{}) + if err := m.AssetIds[len(m.AssetIds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDao(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDao + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DaoAssetBalancesResponse) 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 ErrIntOverflowDao + } + 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: DaoAssetBalancesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DaoAssetBalancesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Balance", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDao + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDao + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDao + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Balance == nil { + m.Balance = &v1alpha1.Value{} + } + if err := m.Balance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDao(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDao + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipDao(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/core/component/dex/v1alpha1/dex.pb.go b/relayer/chains/penumbra/core/component/dex/v1alpha1/dex.pb.go index 8d6a64ff1..a1ca46312 100644 --- a/relayer/chains/penumbra/core/component/dex/v1alpha1/dex.pb.go +++ b/relayer/chains/penumbra/core/component/dex/v1alpha1/dex.pb.go @@ -3663,181 +3663,180 @@ func init() { } var fileDescriptor_259f31b405eaa9a9 = []byte{ - // 2769 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5b, 0x4d, 0x6c, 0x1b, 0xc7, - 0x15, 0xd6, 0x90, 0x94, 0x48, 0x3e, 0x4a, 0x8a, 0x3c, 0x92, 0x53, 0x85, 0xa9, 0x15, 0x7b, 0xe3, - 0x04, 0x6a, 0x81, 0x52, 0xe6, 0xa6, 0x69, 0x1b, 0xa9, 0xf9, 0x11, 0x45, 0xca, 0x62, 0x62, 0x4b, - 0xcc, 0x52, 0xb1, 0x0b, 0x57, 0xc9, 0x66, 0xc5, 0x1d, 0x9a, 0x8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f, - 0x6d, 0xe6, 0xb3, 0xfb, 0x6b, 0x33, 0x7f, 0xb9, 0xbf, 0x36, 0x03, 0xeb, 0x2d, 0xb3, 0x1b, 0x0b, - 0xba, 0x92, 0xab, 0x92, 0xd3, 0x86, 0x6d, 0xba, 0x66, 0x03, 0xdd, 0x3a, 0xba, 0xad, 0xb9, 0x9d, - 0xde, 0x31, 0x15, 0xdd, 0x68, 0x99, 0x4e, 0xd7, 0x74, 0x36, 0x6c, 0xa2, 0x2b, 0x67, 0xc4, 0xde, - 0x38, 0x11, 0x83, 0x3f, 0x59, 0x4b, 0xec, 0x6c, 0xc4, 0xf9, 0x8f, 0x0c, 0x5b, 0x2a, 0x39, 0xf5, - 0xff, 0xfe, 0x75, 0x2a, 0xd3, 0xd8, 0xd9, 0xa9, 0xfe, 0x2e, 0x75, 0xb9, 0xe1, 0xf3, 0xda, 0xa1, - 0xbc, 0x76, 0x02, 0x5e, 0x55, 0x72, 0x5a, 0xba, 0xc1, 0xa5, 0xff, 0xdc, 0x17, 0x3b, 0xa2, 0x62, - 0x47, 0x81, 0xd8, 0x51, 0x95, 0x9c, 0x1e, 0xf9, 0x62, 0xf7, 0x52, 0x57, 0xe2, 0x88, 0x1d, 0x5d, - 0x6d, 0x54, 0xae, 0x13, 0x57, 0xa1, 0x7d, 0xff, 0x17, 0xa9, 0x75, 0x5f, 0x65, 0x73, 0x93, 0xea, - 0xd0, 0x7f, 0xb9, 0xd2, 0xe6, 0x66, 0x95, 0x9c, 0x6e, 0x6e, 0xfa, 0x6a, 0xc7, 0x73, 0xec, 0xbf, - 0x06, 0x3c, 0xf7, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xf1, 0x71, 0xaf, 0xb6, 0x31, 0x00, - 0x00, + // 2764 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5b, 0x4d, 0x6c, 0xe3, 0xc6, + 0x15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 0x03, 0xfc, 0x22, 0xe4, 0x55, 0xa2, 0xbb, 0x8a, 0x5c, 0x96, 0x35, 0x1e, 0x3f, + 0x61, 0x00, 0x92, 0x16, 0x88, 0x00, 0x68, 0xb3, 0x63, 0x76, 0x0d, 0x57, 0xca, 0x32, 0xa5, 0x72, + 0xbd, 0xa7, 0x2f, 0xca, 0x1a, 0x0f, 0x59, 0x7c, 0x7d, 0xb1, 0x8e, 0x6f, 0xc1, 0x7c, 0x9b, 0x90, + 0xb3, 0x81, 0x19, 0xcc, 0x46, 0xaf, 0x32, 0x87, 0x3c, 0xa7, 0x2b, 0x46, 0x2b, 0x1c, 0x9a, 0xb9, + 0x36, 0x09, 0x0d, 0xf1, 0xab, 0x90, 0xb5, 0x94, 0x53, 0xdd, 0x54, 0xd4, 0xe5, 0xe9, 0x24, 0x8e, + 0x62, 0xb5, 0xc4, 0x53, 0x94, 0x7c, 0x04, 0xe1, 0x6d, 0x04, 0x85, 0xd0, 0x07, 0x7c, 0x13, 0x20, + 0x44, 0x18, 0x8d, 0x92, 0x49, 0x21, 0x00, 0xb6, 0x8b, 0x0d, 0xa6, 0x44, 0x54, 0xd9, 0xb9, 0xaf, + 0x58, 0x2c, 0x10, 0xb3, 0xd2, 0x5c, 0x30, 0x4b, 0x17, 0x17, 0x7e, 0xc6, 0x77, 0x71, 0x43, 0x57, + 0x34, 0xc3, 0x25, 0x27, 0xee, 0xff, 0x69, 0x4a, 0x6c, 0x43, 0xbe, 0x45, 0x0b, 0x95, 0x4c, 0x4b, + 0x4a, 0x26, 0x69, 0x49, 0xc9, 0x31, 0xdd, 0x6d, 0x42, 0x70, 0x1d, 0xe6, 0x3c, 0x1c, 0x45, 0x55, + 0x6d, 0xe2, 0x38, 0x3c, 0x11, 0xae, 0x0e, 0x60, 0xb1, 0x63, 0xb2, 0x47, 0xc6, 0x93, 0x95, 0x66, + 0x99, 0x2a, 0x1f, 0xd1, 0x83, 0xcb, 0x76, 0x08, 0x51, 0xd9, 0xf6, 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x13, 0xc9, 0x7d, 0xc5, 0x56, 0xbd, + 0x36, 0xf8, 0x1c, 0x8c, 0x79, 0x13, 0xb0, 0xcd, 0x56, 0x98, 0x84, 0x2d, 0x17, 0x38, 0x54, 0xc8, + 0x94, 0xf7, 0xf9, 0x45, 0xbf, 0x76, 0x42, 0x5a, 0x5d, 0x56, 0x9b, 0x5f, 0x83, 0x19, 0xd7, 0x56, + 0x5a, 0xc4, 0x59, 0x46, 0x97, 0xd3, 0xf1, 0xcf, 0xd1, 0x3e, 0x10, 0x5a, 0xac, 0x5b, 0x44, 0xe2, + 0x40, 0xf8, 0x79, 0x5a, 0xc6, 0xac, 0xae, 0xcf, 0xfb, 0xe9, 0x47, 0xf3, 0xbe, 0xa5, 0xe8, 0x5d, + 0x22, 0x79, 0x1a, 0x78, 0x03, 0x66, 0xbc, 0xd6, 0x9d, 0xd7, 0xf2, 0x58, 0xba, 0x5c, 0xa5, 0x58, + 0x81, 0x69, 0x46, 0x84, 0x12, 0x38, 0xa6, 0x5f, 0xb8, 0x49, 0xf1, 0x08, 0x30, 0x0d, 0xe1, 0x3f, + 0x08, 0x96, 0x06, 0xb3, 0x96, 0x3d, 0x88, 0x84, 0x4f, 0x06, 0x34, 0xe6, 0xc9, 0x30, 0x90, 0x38, + 0xa9, 0x09, 0x24, 0x8e, 0xdf, 0xb8, 0xa4, 0xc7, 0x6b, 0x5c, 0x08, 0x7c, 0x25, 0x22, 0xd3, 0x27, + 0xed, 0x00, 0x5a, 0x83, 0x8b, 0x51, 0xaf, 0x35, 0xe4, 0x5e, 0x97, 0x38, 0x2e, 0x7e, 0x02, 0x72, + 0xad, 0x23, 0x45, 0x0b, 0x76, 0x55, 0x5e, 0xca, 0xb2, 0x71, 0x5d, 0x0d, 0xf5, 0xab, 0xa9, 0x47, + 0xf6, 0xab, 0xe9, 0x49, 0xf4, 0xab, 0x82, 0x0e, 0x4f, 0x46, 0xd2, 0x74, 0x2c, 0xd3, 0x70, 0x08, + 0xbe, 0x09, 0x19, 0xf6, 0x4a, 0x85, 0xc6, 0x7d, 0xa5, 0x62, 0x30, 0xc2, 0xef, 0x10, 0x2c, 0xf5, + 0xed, 0xab, 0x31, 0xfc, 0x71, 0x10, 0xe9, 0x8f, 0x98, 0x14, 0x23, 0x2e, 0x8d, 0xfd, 0x7e, 0x71, + 0xe0, 0xe2, 0x00, 0x51, 0xee, 0x11, 0xff, 0xa5, 0x87, 0xf8, 0x5f, 0x92, 0x3f, 0x1b, 0xf6, 0x40, + 0xd9, 0x4b, 0x4f, 0x30, 0x14, 0x76, 0x60, 0x71, 0xd3, 0x3e, 0x9c, 0x80, 0x73, 0x84, 0x77, 0x11, + 0x2c, 0xf5, 0x43, 0x9d, 0x3f, 0xfd, 0xa1, 0x64, 0x3e, 0x43, 0x03, 0xce, 0x74, 0x62, 0x58, 0x76, + 0x05, 0x66, 0xd9, 0x15, 0x4a, 0xee, 0x83, 0x2c, 0xb0, 0x39, 0xef, 0xde, 0x84, 0x2f, 0x01, 0x10, + 0x43, 0xf5, 0x05, 0xd2, 0x4c, 0x20, 0x4f, 0x0c, 0x75, 0x27, 0x3a, 0x41, 0x32, 0x13, 0x4d, 0x90, + 0xcf, 0x11, 0x3c, 0x3e, 0x68, 0xd4, 0x97, 0xe7, 0xe3, 0x73, 0xdf, 0x0d, 0x7d, 0xd9, 0xf4, 0x3f, + 0x89, 0x1f, 0xbd, 0x62, 0x5e, 0x1c, 0x58, 0xf5, 0x4b, 0x4c, 0xe2, 0x37, 0xe0, 0x89, 0x1b, 0xda, + 0xbd, 0xae, 0xa6, 0x6a, 0xee, 0xa9, 0x7f, 0x80, 0xc4, 0xf1, 0xc3, 0x33, 0x30, 0xaf, 0x19, 0x2d, + 0xbd, 0xab, 0x12, 0x99, 0x5d, 0x8b, 0x54, 0x96, 0x87, 0x39, 0x69, 0x8e, 0xcf, 0xb2, 0xee, 0x54, + 0x15, 0xde, 0x82, 0x62, 0x14, 0x3c, 0x37, 0xb8, 0xd2, 0x57, 0x86,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00, + 0x00, 0x00, 0xff, 0xff, 0x91, 0x4e, 0x1f, 0x9f, 0xb6, 0x31, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/relayer/chains/penumbra/core/component/distributions/v1alpha1/distributions.pb.go b/relayer/chains/penumbra/core/component/distributions/v1alpha1/distributions.pb.go index 3c7152a5f..466b5e0f1 100644 --- a/relayer/chains/penumbra/core/component/distributions/v1alpha1/distributions.pb.go +++ b/relayer/chains/penumbra/core/component/distributions/v1alpha1/distributions.pb.go @@ -6,7 +6,9 @@ package distributionsv1alpha1 import ( fmt "fmt" proto "github.com/cosmos/gogoproto/proto" + io "io" math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. @@ -20,27 +22,475 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// Distribution configuration data. +type DistributionsParameters struct { + // The amount of staking token issued per block. + StakingIssuancePerBlock uint64 `protobuf:"varint,1,opt,name=staking_issuance_per_block,json=stakingIssuancePerBlock,proto3" json:"staking_issuance_per_block,omitempty"` +} + +func (m *DistributionsParameters) Reset() { *m = DistributionsParameters{} } +func (m *DistributionsParameters) String() string { return proto.CompactTextString(m) } +func (*DistributionsParameters) ProtoMessage() {} +func (*DistributionsParameters) Descriptor() ([]byte, []int) { + return fileDescriptor_5006eea51ea29289, []int{0} +} +func (m *DistributionsParameters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DistributionsParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DistributionsParameters.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 *DistributionsParameters) XXX_Merge(src proto.Message) { + xxx_messageInfo_DistributionsParameters.Merge(m, src) +} +func (m *DistributionsParameters) XXX_Size() int { + return m.Size() +} +func (m *DistributionsParameters) XXX_DiscardUnknown() { + xxx_messageInfo_DistributionsParameters.DiscardUnknown(m) +} + +var xxx_messageInfo_DistributionsParameters proto.InternalMessageInfo + +func (m *DistributionsParameters) GetStakingIssuancePerBlock() uint64 { + if m != nil { + return m.StakingIssuancePerBlock + } + return 0 +} + +// Genesis data for the distributions module. +type GenesisContent struct { + DistributionsParams *DistributionsParameters `protobuf:"bytes,1,opt,name=distributions_params,json=distributionsParams,proto3" json:"distributions_params,omitempty"` +} + +func (m *GenesisContent) Reset() { *m = GenesisContent{} } +func (m *GenesisContent) String() string { return proto.CompactTextString(m) } +func (*GenesisContent) ProtoMessage() {} +func (*GenesisContent) Descriptor() ([]byte, []int) { + return fileDescriptor_5006eea51ea29289, []int{1} +} +func (m *GenesisContent) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenesisContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenesisContent.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 *GenesisContent) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenesisContent.Merge(m, src) +} +func (m *GenesisContent) XXX_Size() int { + return m.Size() +} +func (m *GenesisContent) XXX_DiscardUnknown() { + xxx_messageInfo_GenesisContent.DiscardUnknown(m) +} + +var xxx_messageInfo_GenesisContent proto.InternalMessageInfo + +func (m *GenesisContent) GetDistributionsParams() *DistributionsParameters { + if m != nil { + return m.DistributionsParams + } + return nil +} + +func init() { + proto.RegisterType((*DistributionsParameters)(nil), "penumbra.core.component.distributions.v1alpha1.DistributionsParameters") + proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.distributions.v1alpha1.GenesisContent") +} + func init() { proto.RegisterFile("penumbra/core/component/distributions/v1alpha1/distributions.proto", fileDescriptor_5006eea51ea29289) } var fileDescriptor_5006eea51ea29289 = []byte{ - // 267 bytes of a gzipped FileDescriptorProto - 0x1f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 0x5d, 0xc2, 0x4d, 0x16, 0xa7, 0xf4, 0xa5, 0xbc, - 0x64, 0x4d, 0xb3, 0x7b, 0x2d, 0x31, 0x4b, 0xfb, 0x9b, 0xb8, 0xbf, 0x99, 0xf7, 0x67, 0x3b, 0xf1, - 0xfd, 0xd9, 0x7d, 0xfc, 0x01, 0x1e, 0x01, 0x9f, 0x01, 0xcf, 0x00, 0x4f, 0x60, 0x2c, 0xe9, 0x32, - 0xc0, 0x6f, 0x59, 0x7d, 0xa7, 0x82, 0xd8, 0x8b, 0x20, 0xbe, 0xcb, 0x2a, 0x61, 0x4a, 0xa3, 0x8e, - 0xdf, 0x33, 0xa7, 0x34, 0xf3, 0x94, 0xa6, 0x82, 0xf6, 0xea, 0xf7, 0xa1, 0xaf, 0x7f, 0x02, 0x00, - 0x00, 0xff, 0xff, 0x1a, 0x29, 0xaf, 0x4c, 0x2e, 0x02, 0x00, 0x00, + // 372 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x31, 0x4b, 0xf3, 0x40, + 0x18, 0xc7, 0x9b, 0xbc, 0xe5, 0x1d, 0x22, 0x38, 0x44, 0xa1, 0xe2, 0x10, 0xa4, 0x93, 0xd3, 0x1d, + 0x8d, 0x5b, 0xba, 0x25, 0x85, 0xe2, 0x20, 0x84, 0x0e, 0x1d, 0x24, 0x10, 0x2e, 0xe9, 0xd1, 0x1e, + 0x6d, 0xee, 0xc2, 0xdd, 0xa5, 0xa0, 0x9f, 0xc1, 0xc1, 0xcf, 0xe0, 0xe8, 0xe2, 0xd7, 0x10, 0xa7, + 0x8e, 0x8e, 0x92, 0x6e, 0x7e, 0x0a, 0xb9, 0x92, 0x8b, 0x1e, 0xe2, 0x90, 0x25, 0x84, 0xe7, 0x79, + 0x7e, 0xff, 0xe7, 0xc7, 0xdd, 0x39, 0x61, 0x89, 0x69, 0x55, 0x64, 0x1c, 0xc1, 0x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e, 0x73, 0xb8, 0xf5, 0xdb, 0xdf, 0x7c, 0x85, 0x08, 0x15, 0xb0, 0xdb, 0x5d, + 0x8f, 0x8d, 0xb2, 0xae, 0x3e, 0xd9, 0xfd, 0x38, 0x8a, 0x26, 0xcf, 0x36, 0x88, 0xb5, 0x7f, 0xa4, + 0xfc, 0xa3, 0xd6, 0xdf, 0xf0, 0x04, 0xf3, 0x86, 0x7b, 0xfb, 0x06, 0x12, 0x05, 0x24, 0x2d, 0x90, + 0x18, 0x40, 0xa2, 0x81, 0xda, 0x0e, 0xba, 0x01, 0xc9, 0x34, 0x0e, 0x6f, 0xb0, 0x44, 0x0b, 0x24, + 0xd1, 0xa7, 0xed, 0x6b, 0x38, 0x08, 0x14, 0xad, 0xbe, 0x0d, 0x1e, 0x04, 0x06, 0x1f, 0x04, 0x3a, + 0x20, 0xfb, 0x7f, 0x78, 0xcf, 0x57, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb4, 0x38, 0x4c, 0xa2, + 0x15, 0x03, 0x00, 0x00, } + +func (m *DistributionsParameters) 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 *DistributionsParameters) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DistributionsParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.StakingIssuancePerBlock != 0 { + i = encodeVarintDistributions(dAtA, i, uint64(m.StakingIssuancePerBlock)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *GenesisContent) 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 *GenesisContent) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.DistributionsParams != nil { + { + size, err := m.DistributionsParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDistributions(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintDistributions(dAtA []byte, offset int, v uint64) int { + offset -= sovDistributions(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *DistributionsParameters) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StakingIssuancePerBlock != 0 { + n += 1 + sovDistributions(uint64(m.StakingIssuancePerBlock)) + } + return n +} + +func (m *GenesisContent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DistributionsParams != nil { + l = m.DistributionsParams.Size() + n += 1 + l + sovDistributions(uint64(l)) + } + return n +} + +func sovDistributions(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozDistributions(x uint64) (n int) { + return sovDistributions(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *DistributionsParameters) 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 ErrIntOverflowDistributions + } + 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: DistributionsParameters: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DistributionsParameters: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StakingIssuancePerBlock", wireType) + } + m.StakingIssuancePerBlock = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDistributions + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StakingIssuancePerBlock |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipDistributions(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDistributions + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GenesisContent) 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 ErrIntOverflowDistributions + } + 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: GenesisContent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GenesisContent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DistributionsParams", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDistributions + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDistributions + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDistributions + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DistributionsParams == nil { + m.DistributionsParams = &DistributionsParameters{} + } + if err := m.DistributionsParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDistributions(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDistributions + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipDistributions(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, ErrIntOverflowDistributions + } + 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, ErrIntOverflowDistributions + } + 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, ErrIntOverflowDistributions + } + 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, ErrInvalidLengthDistributions + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupDistributions + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthDistributions + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthDistributions = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowDistributions = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupDistributions = fmt.Errorf("proto: unexpected end of group") +) diff --git a/relayer/chains/penumbra/core/component/fee/v1alpha1/fee.pb.go b/relayer/chains/penumbra/core/component/fee/v1alpha1/fee.pb.go index a69e5ebf4..6e6956a2a 100644 --- a/relayer/chains/penumbra/core/component/fee/v1alpha1/fee.pb.go +++ b/relayer/chains/penumbra/core/component/fee/v1alpha1/fee.pb.go @@ -262,34 +262,34 @@ var fileDescriptor_03007f6a7f31c8af = []byte{ 0x08, 0x4e, 0xdc, 0xdd, 0x93, 0xf1, 0xa2, 0x2d, 0xa4, 0x78, 0x50, 0x42, 0x04, 0x0f, 0x12, 0x08, 0xd3, 0xe9, 0x9b, 0x36, 0xd8, 0xcc, 0x84, 0xcc, 0xa4, 0xe8, 0xd9, 0x2f, 0xe0, 0x67, 0xf0, 0xe8, 0xd9, 0x0f, 0x21, 0x7b, 0xda, 0xa3, 0x37, 0xa5, 0xbd, 0xf9, 0x29, 0x64, 0x26, 0x7f, 0xba, 0x5d, - 0x2f, 0xb9, 0x94, 0xf7, 0x9d, 0x79, 0x9e, 0x5f, 0x5f, 0x26, 0x33, 0x08, 0x67, 0xc0, 0x8a, 0x74, + 0x2f, 0xb9, 0x94, 0xf7, 0x9d, 0x79, 0x9e, 0xb7, 0x3f, 0x26, 0x33, 0x08, 0x67, 0xc0, 0x8a, 0x74, 0x96, 0x13, 0x87, 0xf2, 0x1c, 0x1c, 0xca, 0xd3, 0x8c, 0x33, 0x60, 0xd2, 0x89, 0x01, 0x9c, 0xf5, 0x39, 0x59, 0x65, 0x4b, 0x72, 0xae, 0x1a, 0x9c, 0xe5, 0x5c, 0x72, 0x6b, 0x58, 0xf3, 0x58, 0xf1, - 0xb8, 0xe1, 0xb1, 0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0x31, 0x9f, 0xb5, 0xc1, 0xc2, 0xa9, 0x3f, 0x7e, + 0x03, 0x92, 0xcc, 0x89, 0x24, 0x7f, 0xcd, 0x51, 0xad, 0xb8, 0xae, 0x72, 0xd4, 0x6f, 0x25, 0xb9, + 0xae, 0x07, 0xe0, 0xba, 0xb5, 0x36, 0x3b, 0xd4, 0x6f, 0xf0, 0xf2, 0x5f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x97, 0x08, 0x0b, 0xac, 0x2b, 0x04, 0x00, 0x00, } func (m *Fee) Marshal() (dAtA []byte, err error) { diff --git a/relayer/chains/penumbra/core/component/governance/v1alpha1/governance.pb.go b/relayer/chains/penumbra/core/component/governance/v1alpha1/governance.pb.go index 89c174e16..273480d9b 100644 --- a/relayer/chains/penumbra/core/component/governance/v1alpha1/governance.pb.go +++ b/relayer/chains/penumbra/core/component/governance/v1alpha1/governance.pb.go @@ -12,6 +12,7 @@ import ( v1alpha13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1alpha1" v1alpha16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" v1alpha17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dao/v1alpha1" + v1alpha110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/distributions/v1alpha1" v1alpha19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" v1alpha18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1alpha1" v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1" @@ -1120,7 +1121,6 @@ type ProposalState struct { // The state of the proposal. // // Types that are valid to be assigned to State: - // // *ProposalState_Voting_ // *ProposalState_Withdrawn_ // *ProposalState_Finished_ @@ -1406,7 +1406,6 @@ func (m *ProposalState_Claimed) GetOutcome() *ProposalOutcome { // The outcome of a concluded proposal. type ProposalOutcome struct { // Types that are valid to be assigned to Outcome: - // // *ProposalOutcome_Passed_ // *ProposalOutcome_Failed_ // *ProposalOutcome_Slashed_ @@ -2210,6 +2209,150 @@ func (m *ProposalInfoResponse) GetStartPosition() uint64 { return 0 } +type ProposalDataRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // The proposal id to request information on. + ProposalId uint64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` +} + +func (m *ProposalDataRequest) Reset() { *m = ProposalDataRequest{} } +func (m *ProposalDataRequest) String() string { return proto.CompactTextString(m) } +func (*ProposalDataRequest) ProtoMessage() {} +func (*ProposalDataRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{21} +} +func (m *ProposalDataRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProposalDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProposalDataRequest.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 *ProposalDataRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProposalDataRequest.Merge(m, src) +} +func (m *ProposalDataRequest) XXX_Size() int { + return m.Size() +} +func (m *ProposalDataRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ProposalDataRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ProposalDataRequest proto.InternalMessageInfo + +func (m *ProposalDataRequest) GetChainId() string { + if m != nil { + return m.ChainId + } + return "" +} + +func (m *ProposalDataRequest) GetProposalId() uint64 { + if m != nil { + return m.ProposalId + } + return 0 +} + +type ProposalDataResponse struct { + // The proposal metadata. + Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` + // The block height at which the proposal started voting. + StartBlockHeight uint64 `protobuf:"varint,2,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"` + // The block height at which the proposal ends voting. + EndBlockHeight uint64 `protobuf:"varint,3,opt,name=end_block_height,json=endBlockHeight,proto3" json:"end_block_height,omitempty"` + // The position of the state commitment tree at which the proposal is considered to have started voting. + StartPosition uint64 `protobuf:"varint,4,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"` + // The current state of the proposal. + State *ProposalState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` + // The deposit amount paid for the proposal. + ProposalDepositAmount *v1alpha1.Amount `protobuf:"bytes,6,opt,name=proposal_deposit_amount,json=proposalDepositAmount,proto3" json:"proposal_deposit_amount,omitempty"` +} + +func (m *ProposalDataResponse) Reset() { *m = ProposalDataResponse{} } +func (m *ProposalDataResponse) String() string { return proto.CompactTextString(m) } +func (*ProposalDataResponse) ProtoMessage() {} +func (*ProposalDataResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{22} +} +func (m *ProposalDataResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProposalDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProposalDataResponse.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 *ProposalDataResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProposalDataResponse.Merge(m, src) +} +func (m *ProposalDataResponse) XXX_Size() int { + return m.Size() +} +func (m *ProposalDataResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ProposalDataResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ProposalDataResponse proto.InternalMessageInfo + +func (m *ProposalDataResponse) GetProposal() *Proposal { + if m != nil { + return m.Proposal + } + return nil +} + +func (m *ProposalDataResponse) GetStartBlockHeight() uint64 { + if m != nil { + return m.StartBlockHeight + } + return 0 +} + +func (m *ProposalDataResponse) GetEndBlockHeight() uint64 { + if m != nil { + return m.EndBlockHeight + } + return 0 +} + +func (m *ProposalDataResponse) GetStartPosition() uint64 { + if m != nil { + return m.StartPosition + } + return 0 +} + +func (m *ProposalDataResponse) GetState() *ProposalState { + if m != nil { + return m.State + } + return nil +} + +func (m *ProposalDataResponse) GetProposalDepositAmount() *v1alpha1.Amount { + if m != nil { + return m.ProposalDepositAmount + } + return nil +} + // Requests the validator rate data for a proposal. type ProposalRateDataRequest struct { // The expected chain id (empty string if no expectation). @@ -2222,7 +2365,7 @@ func (m *ProposalRateDataRequest) Reset() { *m = ProposalRateDataRequest func (m *ProposalRateDataRequest) String() string { return proto.CompactTextString(m) } func (*ProposalRateDataRequest) ProtoMessage() {} func (*ProposalRateDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_67f269dcda22019a, []int{21} + return fileDescriptor_67f269dcda22019a, []int{23} } func (m *ProposalRateDataRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2274,7 +2417,7 @@ func (m *ProposalRateDataResponse) Reset() { *m = ProposalRateDataRespon func (m *ProposalRateDataResponse) String() string { return proto.CompactTextString(m) } func (*ProposalRateDataResponse) ProtoMessage() {} func (*ProposalRateDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_67f269dcda22019a, []int{22} + return fileDescriptor_67f269dcda22019a, []int{24} } func (m *ProposalRateDataResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2310,34 +2453,26 @@ func (m *ProposalRateDataResponse) GetRateData() *v1alpha15.RateData { return nil } -// Governance configuration data. -type GovernanceParameters struct { - // The number of blocks during which a proposal is voted on. - ProposalVotingBlocks uint64 `protobuf:"varint,1,opt,name=proposal_voting_blocks,json=proposalVotingBlocks,proto3" json:"proposal_voting_blocks,omitempty"` - // The deposit required to create a proposal. - ProposalDepositAmount *v1alpha1.Amount `protobuf:"bytes,2,opt,name=proposal_deposit_amount,json=proposalDepositAmount,proto3" json:"proposal_deposit_amount,omitempty"` - // The quorum required for a proposal to be considered valid, as a fraction of the total stake - // weight of the network. - ProposalValidQuorum string `protobuf:"bytes,3,opt,name=proposal_valid_quorum,json=proposalValidQuorum,proto3" json:"proposal_valid_quorum,omitempty"` - // The threshold for a proposal to pass voting, as a ratio of "yes" votes over "no" votes. - ProposalPassThreshold string `protobuf:"bytes,4,opt,name=proposal_pass_threshold,json=proposalPassThreshold,proto3" json:"proposal_pass_threshold,omitempty"` - // The threshold for a proposal to be slashed, regardless of whether the "yes" and "no" votes - // would have passed it, as a ratio of "no" votes over all total votes. - ProposalSlashThreshold string `protobuf:"bytes,5,opt,name=proposal_slash_threshold,json=proposalSlashThreshold,proto3" json:"proposal_slash_threshold,omitempty"` +// Requests the list of all proposals. +type ProposalListRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // Whether to include proposals that are no longer active.; + Inactive bool `protobuf:"varint,2,opt,name=inactive,proto3" json:"inactive,omitempty"` } -func (m *GovernanceParameters) Reset() { *m = GovernanceParameters{} } -func (m *GovernanceParameters) String() string { return proto.CompactTextString(m) } -func (*GovernanceParameters) ProtoMessage() {} -func (*GovernanceParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_67f269dcda22019a, []int{23} +func (m *ProposalListRequest) Reset() { *m = ProposalListRequest{} } +func (m *ProposalListRequest) String() string { return proto.CompactTextString(m) } +func (*ProposalListRequest) ProtoMessage() {} +func (*ProposalListRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{25} } -func (m *GovernanceParameters) XXX_Unmarshal(b []byte) error { +func (m *ProposalListRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GovernanceParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ProposalListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GovernanceParameters.Marshal(b, m, deterministic) + return xxx_messageInfo_ProposalListRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2347,71 +2482,134 @@ func (m *GovernanceParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *GovernanceParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_GovernanceParameters.Merge(m, src) +func (m *ProposalListRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProposalListRequest.Merge(m, src) } -func (m *GovernanceParameters) XXX_Size() int { +func (m *ProposalListRequest) XXX_Size() int { return m.Size() } -func (m *GovernanceParameters) XXX_DiscardUnknown() { - xxx_messageInfo_GovernanceParameters.DiscardUnknown(m) +func (m *ProposalListRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ProposalListRequest.DiscardUnknown(m) } -var xxx_messageInfo_GovernanceParameters proto.InternalMessageInfo +var xxx_messageInfo_ProposalListRequest proto.InternalMessageInfo -func (m *GovernanceParameters) GetProposalVotingBlocks() uint64 { +func (m *ProposalListRequest) GetChainId() string { if m != nil { - return m.ProposalVotingBlocks + return m.ChainId } - return 0 + return "" } -func (m *GovernanceParameters) GetProposalDepositAmount() *v1alpha1.Amount { +func (m *ProposalListRequest) GetInactive() bool { if m != nil { - return m.ProposalDepositAmount + return m.Inactive + } + return false +} + +// The data for a single proposal. +type ProposalListResponse struct { + // The proposal metadata. + Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` + // The block height at which the proposal started voting. + StartBlockHeight uint64 `protobuf:"varint,2,opt,name=start_block_height,json=startBlockHeight,proto3" json:"start_block_height,omitempty"` + // The block height at which the proposal ends voting. + EndBlockHeight uint64 `protobuf:"varint,3,opt,name=end_block_height,json=endBlockHeight,proto3" json:"end_block_height,omitempty"` + // The position of the state commitment tree at which the proposal is considered to have started voting. + StartPosition uint64 `protobuf:"varint,4,opt,name=start_position,json=startPosition,proto3" json:"start_position,omitempty"` + // The current state of the proposal. + State *ProposalState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` +} + +func (m *ProposalListResponse) Reset() { *m = ProposalListResponse{} } +func (m *ProposalListResponse) String() string { return proto.CompactTextString(m) } +func (*ProposalListResponse) ProtoMessage() {} +func (*ProposalListResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{26} +} +func (m *ProposalListResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProposalListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProposalListResponse.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 *ProposalListResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProposalListResponse.Merge(m, src) +} +func (m *ProposalListResponse) XXX_Size() int { + return m.Size() +} +func (m *ProposalListResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ProposalListResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ProposalListResponse proto.InternalMessageInfo + +func (m *ProposalListResponse) GetProposal() *Proposal { + if m != nil { + return m.Proposal } return nil } -func (m *GovernanceParameters) GetProposalValidQuorum() string { +func (m *ProposalListResponse) GetStartBlockHeight() uint64 { if m != nil { - return m.ProposalValidQuorum + return m.StartBlockHeight } - return "" + return 0 } -func (m *GovernanceParameters) GetProposalPassThreshold() string { +func (m *ProposalListResponse) GetEndBlockHeight() uint64 { if m != nil { - return m.ProposalPassThreshold + return m.EndBlockHeight } - return "" + return 0 } -func (m *GovernanceParameters) GetProposalSlashThreshold() string { +func (m *ProposalListResponse) GetStartPosition() uint64 { if m != nil { - return m.ProposalSlashThreshold + return m.StartPosition } - return "" + return 0 } -// Governance genesis state. -type GenesisContent struct { - // Governance parameters. - GovernanceParams *GovernanceParameters `protobuf:"bytes,1,opt,name=governance_params,json=governanceParams,proto3" json:"governance_params,omitempty"` +func (m *ProposalListResponse) GetState() *ProposalState { + if m != nil { + return m.State + } + return nil } -func (m *GenesisContent) Reset() { *m = GenesisContent{} } -func (m *GenesisContent) String() string { return proto.CompactTextString(m) } -func (*GenesisContent) ProtoMessage() {} -func (*GenesisContent) Descriptor() ([]byte, []int) { - return fileDescriptor_67f269dcda22019a, []int{24} +// Requests the list of all validator votes for a given proposal. +type ValidatorVotesRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // The proposal id to request information on. + ProposalId uint64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` } -func (m *GenesisContent) XXX_Unmarshal(b []byte) error { + +func (m *ValidatorVotesRequest) Reset() { *m = ValidatorVotesRequest{} } +func (m *ValidatorVotesRequest) String() string { return proto.CompactTextString(m) } +func (*ValidatorVotesRequest) ProtoMessage() {} +func (*ValidatorVotesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{27} +} +func (m *ValidatorVotesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GenesisContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ValidatorVotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GenesisContent.Marshal(b, m, deterministic) + return xxx_messageInfo_ValidatorVotesRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2421,54 +2619,52 @@ func (m *GenesisContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *GenesisContent) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenesisContent.Merge(m, src) +func (m *ValidatorVotesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValidatorVotesRequest.Merge(m, src) } -func (m *GenesisContent) XXX_Size() int { +func (m *ValidatorVotesRequest) XXX_Size() int { return m.Size() } -func (m *GenesisContent) XXX_DiscardUnknown() { - xxx_messageInfo_GenesisContent.DiscardUnknown(m) +func (m *ValidatorVotesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ValidatorVotesRequest.DiscardUnknown(m) } -var xxx_messageInfo_GenesisContent proto.InternalMessageInfo +var xxx_messageInfo_ValidatorVotesRequest proto.InternalMessageInfo -func (m *GenesisContent) GetGovernanceParams() *GovernanceParameters { +func (m *ValidatorVotesRequest) GetChainId() string { if m != nil { - return m.GovernanceParams + return m.ChainId } - return nil + return "" } -// Note: must be kept in sync with AppParameters. -// Each field here is optional. -type ChangedAppParameters struct { - // Chain module parameters. - ChainParams *v1alpha16.ChainParameters `protobuf:"bytes,1,opt,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"` - // DAO module parameters. - DaoParams *v1alpha17.DaoParameters `protobuf:"bytes,2,opt,name=dao_params,json=daoParams,proto3" json:"dao_params,omitempty"` - // Governance module parameters. - GovernanceParams *GovernanceParameters `protobuf:"bytes,3,opt,name=governance_params,json=governanceParams,proto3" json:"governance_params,omitempty"` - // IBC module parameters. - IbcParams *v1alpha18.IbcParameters `protobuf:"bytes,4,opt,name=ibc_params,json=ibcParams,proto3" json:"ibc_params,omitempty"` - // Stake module parameters. - StakeParams *v1alpha15.StakeParameters `protobuf:"bytes,5,opt,name=stake_params,json=stakeParams,proto3" json:"stake_params,omitempty"` - // Fee module parameters. - FeeParams *v1alpha19.FeeParameters `protobuf:"bytes,6,opt,name=fee_params,json=feeParams,proto3" json:"fee_params,omitempty"` +func (m *ValidatorVotesRequest) GetProposalId() uint64 { + if m != nil { + return m.ProposalId + } + return 0 } -func (m *ChangedAppParameters) Reset() { *m = ChangedAppParameters{} } -func (m *ChangedAppParameters) String() string { return proto.CompactTextString(m) } -func (*ChangedAppParameters) ProtoMessage() {} -func (*ChangedAppParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_67f269dcda22019a, []int{25} +// The data for a single validator vote. +type ValidatorVotesResponse struct { + // The vote. + Vote *Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"` + // The validator identity. + IdentityKey *v1alpha12.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` } -func (m *ChangedAppParameters) XXX_Unmarshal(b []byte) error { + +func (m *ValidatorVotesResponse) Reset() { *m = ValidatorVotesResponse{} } +func (m *ValidatorVotesResponse) String() string { return proto.CompactTextString(m) } +func (*ValidatorVotesResponse) ProtoMessage() {} +func (*ValidatorVotesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{28} +} +func (m *ValidatorVotesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ChangedAppParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ValidatorVotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ChangedAppParameters.Marshal(b, m, deterministic) + return xxx_messageInfo_ValidatorVotesResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2478,14 +2674,210 @@ func (m *ChangedAppParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *ChangedAppParameters) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangedAppParameters.Merge(m, src) +func (m *ValidatorVotesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValidatorVotesResponse.Merge(m, src) } -func (m *ChangedAppParameters) XXX_Size() int { +func (m *ValidatorVotesResponse) XXX_Size() int { return m.Size() } -func (m *ChangedAppParameters) XXX_DiscardUnknown() { - xxx_messageInfo_ChangedAppParameters.DiscardUnknown(m) +func (m *ValidatorVotesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ValidatorVotesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ValidatorVotesResponse proto.InternalMessageInfo + +func (m *ValidatorVotesResponse) GetVote() *Vote { + if m != nil { + return m.Vote + } + return nil +} + +func (m *ValidatorVotesResponse) GetIdentityKey() *v1alpha12.IdentityKey { + if m != nil { + return m.IdentityKey + } + return nil +} + +// Governance configuration data. +type GovernanceParameters struct { + // The number of blocks during which a proposal is voted on. + ProposalVotingBlocks uint64 `protobuf:"varint,1,opt,name=proposal_voting_blocks,json=proposalVotingBlocks,proto3" json:"proposal_voting_blocks,omitempty"` + // The deposit required to create a proposal. + ProposalDepositAmount *v1alpha1.Amount `protobuf:"bytes,2,opt,name=proposal_deposit_amount,json=proposalDepositAmount,proto3" json:"proposal_deposit_amount,omitempty"` + // The quorum required for a proposal to be considered valid, as a fraction of the total stake + // weight of the network. + ProposalValidQuorum string `protobuf:"bytes,3,opt,name=proposal_valid_quorum,json=proposalValidQuorum,proto3" json:"proposal_valid_quorum,omitempty"` + // The threshold for a proposal to pass voting, as a ratio of "yes" votes over "no" votes. + ProposalPassThreshold string `protobuf:"bytes,4,opt,name=proposal_pass_threshold,json=proposalPassThreshold,proto3" json:"proposal_pass_threshold,omitempty"` + // The threshold for a proposal to be slashed, regardless of whether the "yes" and "no" votes + // would have passed it, as a ratio of "no" votes over all total votes. + ProposalSlashThreshold string `protobuf:"bytes,5,opt,name=proposal_slash_threshold,json=proposalSlashThreshold,proto3" json:"proposal_slash_threshold,omitempty"` +} + +func (m *GovernanceParameters) Reset() { *m = GovernanceParameters{} } +func (m *GovernanceParameters) String() string { return proto.CompactTextString(m) } +func (*GovernanceParameters) ProtoMessage() {} +func (*GovernanceParameters) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{29} +} +func (m *GovernanceParameters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GovernanceParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GovernanceParameters.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 *GovernanceParameters) XXX_Merge(src proto.Message) { + xxx_messageInfo_GovernanceParameters.Merge(m, src) +} +func (m *GovernanceParameters) XXX_Size() int { + return m.Size() +} +func (m *GovernanceParameters) XXX_DiscardUnknown() { + xxx_messageInfo_GovernanceParameters.DiscardUnknown(m) +} + +var xxx_messageInfo_GovernanceParameters proto.InternalMessageInfo + +func (m *GovernanceParameters) GetProposalVotingBlocks() uint64 { + if m != nil { + return m.ProposalVotingBlocks + } + return 0 +} + +func (m *GovernanceParameters) GetProposalDepositAmount() *v1alpha1.Amount { + if m != nil { + return m.ProposalDepositAmount + } + return nil +} + +func (m *GovernanceParameters) GetProposalValidQuorum() string { + if m != nil { + return m.ProposalValidQuorum + } + return "" +} + +func (m *GovernanceParameters) GetProposalPassThreshold() string { + if m != nil { + return m.ProposalPassThreshold + } + return "" +} + +func (m *GovernanceParameters) GetProposalSlashThreshold() string { + if m != nil { + return m.ProposalSlashThreshold + } + return "" +} + +// Governance genesis state. +type GenesisContent struct { + // Governance parameters. + GovernanceParams *GovernanceParameters `protobuf:"bytes,1,opt,name=governance_params,json=governanceParams,proto3" json:"governance_params,omitempty"` +} + +func (m *GenesisContent) Reset() { *m = GenesisContent{} } +func (m *GenesisContent) String() string { return proto.CompactTextString(m) } +func (*GenesisContent) ProtoMessage() {} +func (*GenesisContent) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{30} +} +func (m *GenesisContent) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenesisContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenesisContent.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 *GenesisContent) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenesisContent.Merge(m, src) +} +func (m *GenesisContent) XXX_Size() int { + return m.Size() +} +func (m *GenesisContent) XXX_DiscardUnknown() { + xxx_messageInfo_GenesisContent.DiscardUnknown(m) +} + +var xxx_messageInfo_GenesisContent proto.InternalMessageInfo + +func (m *GenesisContent) GetGovernanceParams() *GovernanceParameters { + if m != nil { + return m.GovernanceParams + } + return nil +} + +// Note: must be kept in sync with AppParameters. +// Each field here is optional. +type ChangedAppParameters struct { + // Chain module parameters. + ChainParams *v1alpha16.ChainParameters `protobuf:"bytes,1,opt,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"` + // DAO module parameters. + DaoParams *v1alpha17.DaoParameters `protobuf:"bytes,2,opt,name=dao_params,json=daoParams,proto3" json:"dao_params,omitempty"` + // Governance module parameters. + GovernanceParams *GovernanceParameters `protobuf:"bytes,3,opt,name=governance_params,json=governanceParams,proto3" json:"governance_params,omitempty"` + // IBC module parameters. + IbcParams *v1alpha18.IbcParameters `protobuf:"bytes,4,opt,name=ibc_params,json=ibcParams,proto3" json:"ibc_params,omitempty"` + // Stake module parameters. + StakeParams *v1alpha15.StakeParameters `protobuf:"bytes,5,opt,name=stake_params,json=stakeParams,proto3" json:"stake_params,omitempty"` + // Fee module parameters. + FeeParams *v1alpha19.FeeParameters `protobuf:"bytes,6,opt,name=fee_params,json=feeParams,proto3" json:"fee_params,omitempty"` + // Distributions module parameters. + DistributionsParams *v1alpha110.DistributionsParameters `protobuf:"bytes,7,opt,name=distributions_params,json=distributionsParams,proto3" json:"distributions_params,omitempty"` +} + +func (m *ChangedAppParameters) Reset() { *m = ChangedAppParameters{} } +func (m *ChangedAppParameters) String() string { return proto.CompactTextString(m) } +func (*ChangedAppParameters) ProtoMessage() {} +func (*ChangedAppParameters) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{31} +} +func (m *ChangedAppParameters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ChangedAppParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ChangedAppParameters.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 *ChangedAppParameters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChangedAppParameters.Merge(m, src) +} +func (m *ChangedAppParameters) XXX_Size() int { + return m.Size() +} +func (m *ChangedAppParameters) XXX_DiscardUnknown() { + xxx_messageInfo_ChangedAppParameters.DiscardUnknown(m) } var xxx_messageInfo_ChangedAppParameters proto.InternalMessageInfo @@ -2532,6 +2924,13 @@ func (m *ChangedAppParameters) GetFeeParams() *v1alpha19.FeeParameters { return nil } +func (m *ChangedAppParameters) GetDistributionsParams() *v1alpha110.DistributionsParameters { + if m != nil { + return m.DistributionsParams + } + return nil +} + type ChangedAppParametersSet struct { // The set of app parameters at the time the proposal was submitted. Old *ChangedAppParameters `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"` @@ -2543,7 +2942,7 @@ func (m *ChangedAppParametersSet) Reset() { *m = ChangedAppParametersSet func (m *ChangedAppParametersSet) String() string { return proto.CompactTextString(m) } func (*ChangedAppParametersSet) ProtoMessage() {} func (*ChangedAppParametersSet) Descriptor() ([]byte, []int) { - return fileDescriptor_67f269dcda22019a, []int{26} + return fileDescriptor_67f269dcda22019a, []int{32} } func (m *ChangedAppParametersSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2586,886 +2985,1036 @@ func (m *ChangedAppParametersSet) GetNew() *ChangedAppParameters { return nil } -func init() { - proto.RegisterEnum("penumbra.core.component.governance.v1alpha1.Vote_Vote", Vote_Vote_name, Vote_Vote_value) - proto.RegisterType((*ZKDelegatorVoteProof)(nil), "penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof") - proto.RegisterType((*ProposalSubmit)(nil), "penumbra.core.component.governance.v1alpha1.ProposalSubmit") - proto.RegisterType((*ProposalWithdraw)(nil), "penumbra.core.component.governance.v1alpha1.ProposalWithdraw") - proto.RegisterType((*ProposalDepositClaim)(nil), "penumbra.core.component.governance.v1alpha1.ProposalDepositClaim") - proto.RegisterType((*ValidatorVote)(nil), "penumbra.core.component.governance.v1alpha1.ValidatorVote") - proto.RegisterType((*ValidatorVoteReason)(nil), "penumbra.core.component.governance.v1alpha1.ValidatorVoteReason") - proto.RegisterType((*ValidatorVoteBody)(nil), "penumbra.core.component.governance.v1alpha1.ValidatorVoteBody") - proto.RegisterType((*DelegatorVote)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVote") - proto.RegisterType((*DelegatorVoteBody)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVoteBody") - proto.RegisterType((*DelegatorVoteView)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVoteView") - proto.RegisterType((*DelegatorVoteView_Visible)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible") - proto.RegisterType((*DelegatorVoteView_Opaque)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque") - proto.RegisterType((*DelegatorVotePlan)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVotePlan") - proto.RegisterType((*DaoDeposit)(nil), "penumbra.core.component.governance.v1alpha1.DaoDeposit") - proto.RegisterType((*DaoSpend)(nil), "penumbra.core.component.governance.v1alpha1.DaoSpend") - proto.RegisterType((*DaoOutput)(nil), "penumbra.core.component.governance.v1alpha1.DaoOutput") - proto.RegisterType((*Vote)(nil), "penumbra.core.component.governance.v1alpha1.Vote") - proto.RegisterType((*ProposalState)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState") - proto.RegisterType((*ProposalState_Voting)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState.Voting") - proto.RegisterType((*ProposalState_Withdrawn)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn") - proto.RegisterType((*ProposalState_Finished)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState.Finished") - proto.RegisterType((*ProposalState_Claimed)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState.Claimed") - proto.RegisterType((*ProposalOutcome)(nil), "penumbra.core.component.governance.v1alpha1.ProposalOutcome") - proto.RegisterType((*ProposalOutcome_Withdrawn)(nil), "penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn") - proto.RegisterType((*ProposalOutcome_Passed)(nil), "penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed") - proto.RegisterType((*ProposalOutcome_Failed)(nil), "penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed") - proto.RegisterType((*ProposalOutcome_Slashed)(nil), "penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed") - proto.RegisterType((*Tally)(nil), "penumbra.core.component.governance.v1alpha1.Tally") - proto.RegisterType((*Proposal)(nil), "penumbra.core.component.governance.v1alpha1.Proposal") - proto.RegisterType((*Proposal_Signaling)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.Signaling") - proto.RegisterType((*Proposal_Emergency)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.Emergency") - proto.RegisterType((*Proposal_ParameterChange)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange") - proto.RegisterType((*Proposal_DaoSpend)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend") - proto.RegisterType((*Proposal_UpgradePlan)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan") - proto.RegisterType((*ProposalInfoRequest)(nil), "penumbra.core.component.governance.v1alpha1.ProposalInfoRequest") - proto.RegisterType((*ProposalInfoResponse)(nil), "penumbra.core.component.governance.v1alpha1.ProposalInfoResponse") - proto.RegisterType((*ProposalRateDataRequest)(nil), "penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest") - proto.RegisterType((*ProposalRateDataResponse)(nil), "penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse") - proto.RegisterType((*GovernanceParameters)(nil), "penumbra.core.component.governance.v1alpha1.GovernanceParameters") - proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.governance.v1alpha1.GenesisContent") - proto.RegisterType((*ChangedAppParameters)(nil), "penumbra.core.component.governance.v1alpha1.ChangedAppParameters") - proto.RegisterType((*ChangedAppParametersSet)(nil), "penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet") +type VotingPowerAtProposalStartRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // The proposal id to request information on. + ProposalId uint64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` + // The validator identity key to request information on. + IdentityKey *v1alpha12.IdentityKey `protobuf:"bytes,3,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` } -func init() { - proto.RegisterFile("penumbra/core/component/governance/v1alpha1/governance.proto", fileDescriptor_67f269dcda22019a) +func (m *VotingPowerAtProposalStartRequest) Reset() { *m = VotingPowerAtProposalStartRequest{} } +func (m *VotingPowerAtProposalStartRequest) String() string { return proto.CompactTextString(m) } +func (*VotingPowerAtProposalStartRequest) ProtoMessage() {} +func (*VotingPowerAtProposalStartRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{33} } - -var fileDescriptor_67f269dcda22019a = []byte{ - // 2334 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xd7, 0x52, 0xfc, 0x7c, 0xfa, 0x62, 0xc6, 0x4a, 0xac, 0x10, 0xad, 0x6a, 0x6c, 0x92, 0xc2, - 0x48, 0x52, 0xd2, 0x96, 0xd3, 0x38, 0x55, 0x83, 0x24, 0x22, 0x25, 0xd9, 0xaa, 0x1b, 0x5b, 0x5e, - 0xda, 0x4a, 0xeb, 0x38, 0x65, 0x87, 0xdc, 0x21, 0x39, 0xd5, 0x72, 0x66, 0xbd, 0x1f, 0x12, 0xd8, - 0x53, 0x4f, 0x3d, 0x17, 0x48, 0x80, 0x9e, 0x7a, 0x68, 0x8f, 0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a4, 0x66, 0x03, 0x72, 0x77, 0xb0, 0xe3, 0x0c, - 0x51, 0x19, 0xe6, 0x87, 0xc4, 0xd7, 0x63, 0x87, 0xf8, 0x29, 0x46, 0x59, 0xc6, 0xf5, 0x94, 0x91, - 0x61, 0x1c, 0xad, 0x41, 0x01, 0xb7, 0xfd, 0x00, 0x53, 0x55, 0x9f, 0xb2, 0x56, 0xb4, 0x34, 0xff, - 0x5b, 0x80, 0x62, 0xa4, 0x58, 0x88, 0x51, 0x55, 0x5c, 0xb2, 0x56, 0x86, 0xda, 0x68, 0x15, 0x72, - 0x01, 0x0d, 0xf4, 0xa4, 0x5b, 0xb2, 0xd4, 0x02, 0x5d, 0x80, 0x05, 0x9b, 0xf8, 0x1d, 0x8f, 0xba, - 0xf1, 0x2c, 0x53, 0xb2, 0xd2, 0x24, 0xf4, 0x19, 0x94, 0x7c, 0x71, 0xfd, 0x71, 0x44, 0xc1, 0x55, - 0x95, 0xe4, 0xc3, 0xa9, 0x5c, 0x51, 0x6d, 0x46, 0x30, 0x56, 0x82, 0x28, 0xe0, 0xc9, 0x80, 0x78, - 0x3d, 0xc2, 0x3a, 0x43, 0x3d, 0x52, 0x4c, 0x09, 0xbf, 0x13, 0xc1, 0x58, 0x09, 0x22, 0x72, 0xa1, - 0xec, 0x62, 0x0f, 0x0f, 0x48, 0x40, 0xbc, 0x56, 0xa7, 0x8f, 0x59, 0x8f, 0xc8, 0x81, 0x63, 0xd2, - 0x39, 0x3c, 0xd6, 0xb2, 0x1f, 0xa1, 0x35, 0x24, 0x98, 0xb5, 0xe2, 0x8e, 0x12, 0xd0, 0xa7, 0x50, - 0xb2, 0x31, 0x6f, 0xf9, 0x62, 0x40, 0x90, 0x53, 0xcb, 0xa4, 0x17, 0xd9, 0x58, 0x55, 0x34, 0x66, - 0x58, 0x45, 0x3b, 0x1a, 0x38, 0x6c, 0x58, 0x0c, 0xdd, 0x9e, 0x87, 0x6d, 0xd2, 0x72, 0x1d, 0xcc, - 0xe4, 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d5, 0x03, 0x2d, 0xf4, 0xa7, 0x84, 0xfb, 0xbe, 0xe0, 0xbe, - 0x1f, 0x73, 0xdf, 0x4f, 0xb8, 0xef, 0x47, 0xdc, 0x8f, 0x32, 0x57, 0x27, 0xe0, 0xbe, 0x7f, 0x6d, - 0xbf, 0xfe, 0x31, 0x09, 0xb0, 0xe8, 0xe5, 0xff, 0xce, 0xd4, 0x22, 0xc9, 0xcd, 0x4d, 0x21, 0x2a, - 0xfe, 0xd5, 0xb2, 0x9b, 0x9b, 0x89, 0xf0, 0xe6, 0x66, 0x24, 0xdd, 0xce, 0xcb, 0x19, 0xec, 0xca, - 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xec, 0x2e, 0x08, 0x65, 0x60, 0x21, 0x00, 0x00, +func (m *VotingPowerAtProposalStartRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// QueryServiceClient is the client API for QueryService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type QueryServiceClient interface { - ProposalInfo(ctx context.Context, in *ProposalInfoRequest, opts ...grpc.CallOption) (*ProposalInfoResponse, error) - // Used for computing voting power ? - ProposalRateData(ctx context.Context, in *ProposalRateDataRequest, opts ...grpc.CallOption) (QueryService_ProposalRateDataClient, error) +func (m *VotingPowerAtProposalStartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_VotingPowerAtProposalStartRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } - -type queryServiceClient struct { - cc grpc1.ClientConn +func (m *VotingPowerAtProposalStartRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_VotingPowerAtProposalStartRequest.Merge(m, src) } - -func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { - return &queryServiceClient{cc} +func (m *VotingPowerAtProposalStartRequest) XXX_Size() int { + return m.Size() +} +func (m *VotingPowerAtProposalStartRequest) XXX_DiscardUnknown() { + xxx_messageInfo_VotingPowerAtProposalStartRequest.DiscardUnknown(m) } -func (c *queryServiceClient) ProposalInfo(ctx context.Context, in *ProposalInfoRequest, opts ...grpc.CallOption) (*ProposalInfoResponse, error) { - out := new(ProposalInfoResponse) - err := c.cc.Invoke(ctx, "/penumbra.core.component.governance.v1alpha1.QueryService/ProposalInfo", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_VotingPowerAtProposalStartRequest proto.InternalMessageInfo + +func (m *VotingPowerAtProposalStartRequest) GetChainId() string { + if m != nil { + return m.ChainId } - return out, nil + return "" } -func (c *queryServiceClient) ProposalRateData(ctx context.Context, in *ProposalRateDataRequest, opts ...grpc.CallOption) (QueryService_ProposalRateDataClient, error) { - stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.core.component.governance.v1alpha1.QueryService/ProposalRateData", opts...) - if err != nil { - return nil, err - } - x := &queryServiceProposalRateDataClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err +func (m *VotingPowerAtProposalStartRequest) GetProposalId() uint64 { + if m != nil { + return m.ProposalId } - return x, nil + return 0 } -type QueryService_ProposalRateDataClient interface { - Recv() (*ProposalRateDataResponse, error) - grpc.ClientStream +func (m *VotingPowerAtProposalStartRequest) GetIdentityKey() *v1alpha12.IdentityKey { + if m != nil { + return m.IdentityKey + } + return nil } -type queryServiceProposalRateDataClient struct { - grpc.ClientStream +type VotingPowerAtProposalStartResponse struct { + // The voting power for the given identity key at the start of the proposal. + // TODO: since we don't support optional fields in our protos any more, + // this will be set to 0 if the validator was not active at the start of the proposal. + // Is this potentially an issue? + VotingPower uint64 `protobuf:"varint,1,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` } -func (x *queryServiceProposalRateDataClient) Recv() (*ProposalRateDataResponse, error) { - m := new(ProposalRateDataResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (m *VotingPowerAtProposalStartResponse) Reset() { *m = VotingPowerAtProposalStartResponse{} } +func (m *VotingPowerAtProposalStartResponse) String() string { return proto.CompactTextString(m) } +func (*VotingPowerAtProposalStartResponse) ProtoMessage() {} +func (*VotingPowerAtProposalStartResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{34} +} +func (m *VotingPowerAtProposalStartResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *VotingPowerAtProposalStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_VotingPowerAtProposalStartResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return m, nil +} +func (m *VotingPowerAtProposalStartResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_VotingPowerAtProposalStartResponse.Merge(m, src) +} +func (m *VotingPowerAtProposalStartResponse) XXX_Size() int { + return m.Size() +} +func (m *VotingPowerAtProposalStartResponse) XXX_DiscardUnknown() { + xxx_messageInfo_VotingPowerAtProposalStartResponse.DiscardUnknown(m) } -// QueryServiceServer is the server API for QueryService service. -type QueryServiceServer interface { - ProposalInfo(context.Context, *ProposalInfoRequest) (*ProposalInfoResponse, error) - // Used for computing voting power ? - ProposalRateData(*ProposalRateDataRequest, QueryService_ProposalRateDataServer) error +var xxx_messageInfo_VotingPowerAtProposalStartResponse proto.InternalMessageInfo + +func (m *VotingPowerAtProposalStartResponse) GetVotingPower() uint64 { + if m != nil { + return m.VotingPower + } + return 0 } -// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServiceServer struct { +type AllTalliedDelegatorVotesForProposalRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // The proposal id to request information on. + ProposalId uint64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` } -func (*UnimplementedQueryServiceServer) ProposalInfo(ctx context.Context, req *ProposalInfoRequest) (*ProposalInfoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ProposalInfo not implemented") +func (m *AllTalliedDelegatorVotesForProposalRequest) Reset() { + *m = AllTalliedDelegatorVotesForProposalRequest{} } -func (*UnimplementedQueryServiceServer) ProposalRateData(req *ProposalRateDataRequest, srv QueryService_ProposalRateDataServer) error { - return status.Errorf(codes.Unimplemented, "method ProposalRateData not implemented") +func (m *AllTalliedDelegatorVotesForProposalRequest) String() string { + return proto.CompactTextString(m) } - -func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { - s.RegisterService(&_QueryService_serviceDesc, srv) +func (*AllTalliedDelegatorVotesForProposalRequest) ProtoMessage() {} +func (*AllTalliedDelegatorVotesForProposalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{35} } - -func _QueryService_ProposalInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ProposalInfoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServiceServer).ProposalInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/penumbra.core.component.governance.v1alpha1.QueryService/ProposalInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServiceServer).ProposalInfo(ctx, req.(*ProposalInfoRequest)) +func (m *AllTalliedDelegatorVotesForProposalRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AllTalliedDelegatorVotesForProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AllTalliedDelegatorVotesForProposalRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *AllTalliedDelegatorVotesForProposalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AllTalliedDelegatorVotesForProposalRequest.Merge(m, src) +} +func (m *AllTalliedDelegatorVotesForProposalRequest) XXX_Size() int { + return m.Size() +} +func (m *AllTalliedDelegatorVotesForProposalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AllTalliedDelegatorVotesForProposalRequest.DiscardUnknown(m) } -func _QueryService_ProposalRateData_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ProposalRateDataRequest) - if err := stream.RecvMsg(m); err != nil { - return err +var xxx_messageInfo_AllTalliedDelegatorVotesForProposalRequest proto.InternalMessageInfo + +func (m *AllTalliedDelegatorVotesForProposalRequest) GetChainId() string { + if m != nil { + return m.ChainId } - return srv.(QueryServiceServer).ProposalRateData(m, &queryServiceProposalRateDataServer{stream}) + return "" } -type QueryService_ProposalRateDataServer interface { - Send(*ProposalRateDataResponse) error - grpc.ServerStream +func (m *AllTalliedDelegatorVotesForProposalRequest) GetProposalId() uint64 { + if m != nil { + return m.ProposalId + } + return 0 } -type queryServiceProposalRateDataServer struct { - grpc.ServerStream +type AllTalliedDelegatorVotesForProposalResponse struct { + // The tally of delegator votes for a given validator for the proposal. + Tally *Tally `protobuf:"bytes,1,opt,name=tally,proto3" json:"tally,omitempty"` + // The validator identity associated with the tally. + IdentityKey *v1alpha12.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` } -func (x *queryServiceProposalRateDataServer) Send(m *ProposalRateDataResponse) error { - return x.ServerStream.SendMsg(m) +func (m *AllTalliedDelegatorVotesForProposalResponse) Reset() { + *m = AllTalliedDelegatorVotesForProposalResponse{} +} +func (m *AllTalliedDelegatorVotesForProposalResponse) String() string { + return proto.CompactTextString(m) +} +func (*AllTalliedDelegatorVotesForProposalResponse) ProtoMessage() {} +func (*AllTalliedDelegatorVotesForProposalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{36} +} +func (m *AllTalliedDelegatorVotesForProposalResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AllTalliedDelegatorVotesForProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AllTalliedDelegatorVotesForProposalResponse.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 *AllTalliedDelegatorVotesForProposalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AllTalliedDelegatorVotesForProposalResponse.Merge(m, src) +} +func (m *AllTalliedDelegatorVotesForProposalResponse) XXX_Size() int { + return m.Size() +} +func (m *AllTalliedDelegatorVotesForProposalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AllTalliedDelegatorVotesForProposalResponse.DiscardUnknown(m) } -var _QueryService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "penumbra.core.component.governance.v1alpha1.QueryService", - HandlerType: (*QueryServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ProposalInfo", - Handler: _QueryService_ProposalInfo_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "ProposalRateData", - Handler: _QueryService_ProposalRateData_Handler, - ServerStreams: true, - }, - }, - Metadata: "penumbra/core/component/governance/v1alpha1/governance.proto", +var xxx_messageInfo_AllTalliedDelegatorVotesForProposalResponse proto.InternalMessageInfo + +func (m *AllTalliedDelegatorVotesForProposalResponse) GetTally() *Tally { + if m != nil { + return m.Tally + } + return nil } -func (m *ZKDelegatorVoteProof) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *AllTalliedDelegatorVotesForProposalResponse) GetIdentityKey() *v1alpha12.IdentityKey { + if m != nil { + return m.IdentityKey } - return dAtA[:n], nil + return nil } -func (m *ZKDelegatorVoteProof) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type NextProposalIdRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` } -func (m *ZKDelegatorVoteProof) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa +func (m *NextProposalIdRequest) Reset() { *m = NextProposalIdRequest{} } +func (m *NextProposalIdRequest) String() string { return proto.CompactTextString(m) } +func (*NextProposalIdRequest) ProtoMessage() {} +func (*NextProposalIdRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{37} +} +func (m *NextProposalIdRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NextProposalIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NextProposalIdRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return len(dAtA) - i, nil +} +func (m *NextProposalIdRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NextProposalIdRequest.Merge(m, src) +} +func (m *NextProposalIdRequest) XXX_Size() int { + return m.Size() +} +func (m *NextProposalIdRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NextProposalIdRequest.DiscardUnknown(m) } -func (m *ProposalSubmit) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +var xxx_messageInfo_NextProposalIdRequest proto.InternalMessageInfo + +func (m *NextProposalIdRequest) GetChainId() string { + if m != nil { + return m.ChainId } - return dAtA[:n], nil + return "" } -func (m *ProposalSubmit) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type NextProposalIdResponse struct { + // The next proposal ID. + NextProposalId uint64 `protobuf:"varint,1,opt,name=next_proposal_id,json=nextProposalId,proto3" json:"next_proposal_id,omitempty"` } -func (m *ProposalSubmit) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.DepositAmount != nil { - { - size, err := m.DepositAmount.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Proposal != nil { - { - size, err := m.Proposal.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) +func (m *NextProposalIdResponse) Reset() { *m = NextProposalIdResponse{} } +func (m *NextProposalIdResponse) String() string { return proto.CompactTextString(m) } +func (*NextProposalIdResponse) ProtoMessage() {} +func (*NextProposalIdResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{38} +} +func (m *NextProposalIdResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NextProposalIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NextProposalIdResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } - i-- - dAtA[i] = 0xa + return b[:n], nil } - return len(dAtA) - i, nil +} +func (m *NextProposalIdResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NextProposalIdResponse.Merge(m, src) +} +func (m *NextProposalIdResponse) XXX_Size() int { + return m.Size() +} +func (m *NextProposalIdResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NextProposalIdResponse.DiscardUnknown(m) } -func (m *ProposalWithdraw) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +var xxx_messageInfo_NextProposalIdResponse proto.InternalMessageInfo + +func (m *NextProposalIdResponse) GetNextProposalId() uint64 { + if m != nil { + return m.NextProposalId } - return dAtA[:n], nil + return 0 } -func (m *ProposalWithdraw) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func init() { + proto.RegisterEnum("penumbra.core.component.governance.v1alpha1.Vote_Vote", Vote_Vote_name, Vote_Vote_value) + proto.RegisterType((*ZKDelegatorVoteProof)(nil), "penumbra.core.component.governance.v1alpha1.ZKDelegatorVoteProof") + proto.RegisterType((*ProposalSubmit)(nil), "penumbra.core.component.governance.v1alpha1.ProposalSubmit") + proto.RegisterType((*ProposalWithdraw)(nil), "penumbra.core.component.governance.v1alpha1.ProposalWithdraw") + proto.RegisterType((*ProposalDepositClaim)(nil), "penumbra.core.component.governance.v1alpha1.ProposalDepositClaim") + proto.RegisterType((*ValidatorVote)(nil), "penumbra.core.component.governance.v1alpha1.ValidatorVote") + proto.RegisterType((*ValidatorVoteReason)(nil), "penumbra.core.component.governance.v1alpha1.ValidatorVoteReason") + proto.RegisterType((*ValidatorVoteBody)(nil), "penumbra.core.component.governance.v1alpha1.ValidatorVoteBody") + proto.RegisterType((*DelegatorVote)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVote") + proto.RegisterType((*DelegatorVoteBody)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVoteBody") + proto.RegisterType((*DelegatorVoteView)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVoteView") + proto.RegisterType((*DelegatorVoteView_Visible)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible") + proto.RegisterType((*DelegatorVoteView_Opaque)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque") + proto.RegisterType((*DelegatorVotePlan)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVotePlan") + proto.RegisterType((*DaoDeposit)(nil), "penumbra.core.component.governance.v1alpha1.DaoDeposit") + proto.RegisterType((*DaoSpend)(nil), "penumbra.core.component.governance.v1alpha1.DaoSpend") + proto.RegisterType((*DaoOutput)(nil), "penumbra.core.component.governance.v1alpha1.DaoOutput") + proto.RegisterType((*Vote)(nil), "penumbra.core.component.governance.v1alpha1.Vote") + proto.RegisterType((*ProposalState)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState") + proto.RegisterType((*ProposalState_Voting)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState.Voting") + proto.RegisterType((*ProposalState_Withdrawn)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState.Withdrawn") + proto.RegisterType((*ProposalState_Finished)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState.Finished") + proto.RegisterType((*ProposalState_Claimed)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState.Claimed") + proto.RegisterType((*ProposalOutcome)(nil), "penumbra.core.component.governance.v1alpha1.ProposalOutcome") + proto.RegisterType((*ProposalOutcome_Withdrawn)(nil), "penumbra.core.component.governance.v1alpha1.ProposalOutcome.Withdrawn") + proto.RegisterType((*ProposalOutcome_Passed)(nil), "penumbra.core.component.governance.v1alpha1.ProposalOutcome.Passed") + proto.RegisterType((*ProposalOutcome_Failed)(nil), "penumbra.core.component.governance.v1alpha1.ProposalOutcome.Failed") + proto.RegisterType((*ProposalOutcome_Slashed)(nil), "penumbra.core.component.governance.v1alpha1.ProposalOutcome.Slashed") + proto.RegisterType((*Tally)(nil), "penumbra.core.component.governance.v1alpha1.Tally") + proto.RegisterType((*Proposal)(nil), "penumbra.core.component.governance.v1alpha1.Proposal") + proto.RegisterType((*Proposal_Signaling)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.Signaling") + proto.RegisterType((*Proposal_Emergency)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.Emergency") + proto.RegisterType((*Proposal_ParameterChange)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange") + proto.RegisterType((*Proposal_DaoSpend)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend") + proto.RegisterType((*Proposal_UpgradePlan)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan") + proto.RegisterType((*ProposalInfoRequest)(nil), "penumbra.core.component.governance.v1alpha1.ProposalInfoRequest") + proto.RegisterType((*ProposalInfoResponse)(nil), "penumbra.core.component.governance.v1alpha1.ProposalInfoResponse") + proto.RegisterType((*ProposalDataRequest)(nil), "penumbra.core.component.governance.v1alpha1.ProposalDataRequest") + proto.RegisterType((*ProposalDataResponse)(nil), "penumbra.core.component.governance.v1alpha1.ProposalDataResponse") + proto.RegisterType((*ProposalRateDataRequest)(nil), "penumbra.core.component.governance.v1alpha1.ProposalRateDataRequest") + proto.RegisterType((*ProposalRateDataResponse)(nil), "penumbra.core.component.governance.v1alpha1.ProposalRateDataResponse") + proto.RegisterType((*ProposalListRequest)(nil), "penumbra.core.component.governance.v1alpha1.ProposalListRequest") + proto.RegisterType((*ProposalListResponse)(nil), "penumbra.core.component.governance.v1alpha1.ProposalListResponse") + proto.RegisterType((*ValidatorVotesRequest)(nil), "penumbra.core.component.governance.v1alpha1.ValidatorVotesRequest") + proto.RegisterType((*ValidatorVotesResponse)(nil), "penumbra.core.component.governance.v1alpha1.ValidatorVotesResponse") + proto.RegisterType((*GovernanceParameters)(nil), "penumbra.core.component.governance.v1alpha1.GovernanceParameters") + proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.governance.v1alpha1.GenesisContent") + proto.RegisterType((*ChangedAppParameters)(nil), "penumbra.core.component.governance.v1alpha1.ChangedAppParameters") + proto.RegisterType((*ChangedAppParametersSet)(nil), "penumbra.core.component.governance.v1alpha1.ChangedAppParametersSet") + proto.RegisterType((*VotingPowerAtProposalStartRequest)(nil), "penumbra.core.component.governance.v1alpha1.VotingPowerAtProposalStartRequest") + proto.RegisterType((*VotingPowerAtProposalStartResponse)(nil), "penumbra.core.component.governance.v1alpha1.VotingPowerAtProposalStartResponse") + proto.RegisterType((*AllTalliedDelegatorVotesForProposalRequest)(nil), "penumbra.core.component.governance.v1alpha1.AllTalliedDelegatorVotesForProposalRequest") + proto.RegisterType((*AllTalliedDelegatorVotesForProposalResponse)(nil), "penumbra.core.component.governance.v1alpha1.AllTalliedDelegatorVotesForProposalResponse") + proto.RegisterType((*NextProposalIdRequest)(nil), "penumbra.core.component.governance.v1alpha1.NextProposalIdRequest") + proto.RegisterType((*NextProposalIdResponse)(nil), "penumbra.core.component.governance.v1alpha1.NextProposalIdResponse") } -func (m *ProposalWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x12 - } - if m.Proposal != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.Proposal)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil +func init() { + proto.RegisterFile("penumbra/core/component/governance/v1alpha1/governance.proto", fileDescriptor_67f269dcda22019a) } -func (m *ProposalDepositClaim) 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 +var fileDescriptor_67f269dcda22019a = []byte{ + // 2763 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0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0x4f, 0x11, 0xa3, 0x7c, 0x9d, 0x1e, 0x2f, 0x5f, 0xbf, 0x02, 0x99, + 0x23, 0xec, 0x76, 0x89, 0xca, 0xac, 0xa7, 0xfb, 0x70, 0x64, 0x23, 0xa1, 0xc7, 0xbf, 0x4b, 0x2c, + 0x29, 0x81, 0xae, 0xc3, 0x85, 0x2e, 0xad, 0x33, 0xca, 0xef, 0x48, 0x55, 0xf3, 0x32, 0xe7, 0xae, + 0x79, 0x85, 0x50, 0x54, 0x15, 0xbd, 0xff, 0x83, 0x3c, 0xed, 0xba, 0xae, 0x73, 0xe0, 0x10, 0x6f, + 0x71, 0x46, 0xdc, 0x43, 0x31, 0x01, 0x15, 0x20, 0xe5, 0x1d, 0x2e, 0x66, 0x05, 0x39, 0xe5, 0x1d, + 0x9a, 0x9f, 0xa4, 0xfb, 0xbc, 0xba, 0xef, 0x90, 0x63, 0x54, 0x87, 0xec, 0x91, 0xe3, 0x3b, 0x75, + 0x97, 0xa8, 0x94, 0xdb, 0x1e, 0x3d, 0xe5, 0x38, 0x60, 0x79, 0x5f, 0xa2, 0x5d, 0x9b, 0xb2, 0x42, + 0x60, 0x54, 0x83, 0x19, 0xd6, 0xc1, 0x1f, 0x74, 0xc3, 0x42, 0xb1, 0x35, 0xa6, 0x8a, 0x9b, 0x02, + 0xec, 0xda, 0x94, 0xa5, 0x60, 0x4b, 0x9f, 0x1a, 0x90, 0x55, 0x7a, 0x11, 0xe6, 0x97, 0x8a, 0x92, + 0xa8, 0x89, 0x68, 0x1b, 0x0f, 0xa5, 0xfc, 0x90, 0x4a, 0xf9, 0x65, 0xa3, 0x9f, 0xd1, 0xb7, 0x20, + 0x4d, 0xe3, 0xb2, 0xf7, 0xea, 0x89, 0xc0, 0xc9, 0x6e, 0x28, 0xc2, 0xbe, 0xa1, 0xf6, 0x61, 0x09, + 0x94, 0xd2, 0x21, 0xcc, 0xc8, 0x0d, 0x7d, 0x0e, 0xa6, 0x6f, 0x14, 0xfb, 0x55, 0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e9, 0x3f, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x5e, 0xeb, 0x59, 0xb3, 0x41, 0x2d, 0x00, 0x00, } -func (m *ProposalDepositClaim) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// QueryServiceClient is the client API for QueryService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type QueryServiceClient interface { + ProposalInfo(ctx context.Context, in *ProposalInfoRequest, opts ...grpc.CallOption) (*ProposalInfoResponse, error) + ProposalList(ctx context.Context, in *ProposalListRequest, opts ...grpc.CallOption) (QueryService_ProposalListClient, error) + ProposalData(ctx context.Context, in *ProposalDataRequest, opts ...grpc.CallOption) (*ProposalDataResponse, error) + NextProposalId(ctx context.Context, in *NextProposalIdRequest, opts ...grpc.CallOption) (*NextProposalIdResponse, error) + ValidatorVotes(ctx context.Context, in *ValidatorVotesRequest, opts ...grpc.CallOption) (QueryService_ValidatorVotesClient, error) + VotingPowerAtProposalStart(ctx context.Context, in *VotingPowerAtProposalStartRequest, opts ...grpc.CallOption) (*VotingPowerAtProposalStartResponse, error) + AllTalliedDelegatorVotesForProposal(ctx context.Context, in *AllTalliedDelegatorVotesForProposalRequest, opts ...grpc.CallOption) (QueryService_AllTalliedDelegatorVotesForProposalClient, error) + // Used for computing voting power ? + ProposalRateData(ctx context.Context, in *ProposalRateDataRequest, opts ...grpc.CallOption) (QueryService_ProposalRateDataClient, error) } -func (m *ProposalDepositClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Outcome != nil { - { - size, err := m.Outcome.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.DepositAmount != nil { - { - size, err := m.DepositAmount.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Proposal != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.Proposal)) - i-- - dAtA[i] = 0x8 +type queryServiceClient struct { + cc grpc1.ClientConn +} + +func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { + return &queryServiceClient{cc} +} + +func (c *queryServiceClient) ProposalInfo(ctx context.Context, in *ProposalInfoRequest, opts ...grpc.CallOption) (*ProposalInfoResponse, error) { + out := new(ProposalInfoResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.governance.v1alpha1.QueryService/ProposalInfo", in, out, opts...) + if err != nil { + return nil, err } - return len(dAtA) - i, nil + return out, nil } -func (m *ValidatorVote) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *queryServiceClient) ProposalList(ctx context.Context, in *ProposalListRequest, opts ...grpc.CallOption) (QueryService_ProposalListClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.core.component.governance.v1alpha1.QueryService/ProposalList", opts...) if err != nil { return nil, err } - return dAtA[:n], nil + x := &queryServiceProposalListClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil } -func (m *ValidatorVote) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type QueryService_ProposalListClient interface { + Recv() (*ProposalListResponse, error) + grpc.ClientStream } -func (m *ValidatorVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AuthSig != nil { - { - size, err := m.AuthSig.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Body != nil { - { - size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +type queryServiceProposalListClient struct { + grpc.ClientStream +} + +func (x *queryServiceProposalListClient) Recv() (*ProposalListResponse, error) { + m := new(ProposalListResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err } - return len(dAtA) - i, nil + return m, nil } -func (m *ValidatorVoteReason) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *queryServiceClient) ProposalData(ctx context.Context, in *ProposalDataRequest, opts ...grpc.CallOption) (*ProposalDataResponse, error) { + out := new(ProposalDataResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.governance.v1alpha1.QueryService/ProposalData", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *ValidatorVoteReason) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (c *queryServiceClient) NextProposalId(ctx context.Context, in *NextProposalIdRequest, opts ...grpc.CallOption) (*NextProposalIdResponse, error) { + out := new(NextProposalIdResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.governance.v1alpha1.QueryService/NextProposalId", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *ValidatorVoteReason) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidatorVoteBody) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *queryServiceClient) ValidatorVotes(ctx context.Context, in *ValidatorVotesRequest, opts ...grpc.CallOption) (QueryService_ValidatorVotesClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[1], "/penumbra.core.component.governance.v1alpha1.QueryService/ValidatorVotes", opts...) if err != nil { return nil, err } - return dAtA[:n], nil + x := &queryServiceValidatorVotesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil } -func (m *ValidatorVoteBody) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type QueryService_ValidatorVotesClient interface { + Recv() (*ValidatorVotesResponse, error) + grpc.ClientStream } -func (m *ValidatorVoteBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Reason != nil { - { - size, err := m.Reason.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.GovernanceKey != nil { - { - size, err := m.GovernanceKey.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.IdentityKey != nil { - { - size, err := m.IdentityKey.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Vote != nil { - { - size, err := m.Vote.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Proposal != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.Proposal)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil +type queryServiceValidatorVotesClient struct { + grpc.ClientStream } -func (m *DelegatorVote) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func (x *queryServiceValidatorVotesClient) Recv() (*ValidatorVotesResponse, error) { + m := new(ValidatorVotesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } - return dAtA[:n], nil + return m, nil } -func (m *DelegatorVote) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (c *queryServiceClient) VotingPowerAtProposalStart(ctx context.Context, in *VotingPowerAtProposalStartRequest, opts ...grpc.CallOption) (*VotingPowerAtProposalStartResponse, error) { + out := new(VotingPowerAtProposalStartResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.governance.v1alpha1.QueryService/VotingPowerAtProposalStart", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *DelegatorVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Proof != nil { - { - size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a +func (c *queryServiceClient) AllTalliedDelegatorVotesForProposal(ctx context.Context, in *AllTalliedDelegatorVotesForProposalRequest, opts ...grpc.CallOption) (QueryService_AllTalliedDelegatorVotesForProposalClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[2], "/penumbra.core.component.governance.v1alpha1.QueryService/AllTalliedDelegatorVotesForProposal", opts...) + if err != nil { + return nil, err } - if m.AuthSig != nil { - { - size, err := m.AuthSig.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 + x := &queryServiceAllTalliedDelegatorVotesForProposalClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err } - if m.Body != nil { - { - size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err } - return len(dAtA) - i, nil + return x, nil } -func (m *DelegatorVoteBody) 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 +type QueryService_AllTalliedDelegatorVotesForProposalClient interface { + Recv() (*AllTalliedDelegatorVotesForProposalResponse, error) + grpc.ClientStream } -func (m *DelegatorVoteBody) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type queryServiceAllTalliedDelegatorVotesForProposalClient struct { + grpc.ClientStream } -func (m *DelegatorVoteBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Rk) > 0 { - i -= len(m.Rk) - copy(dAtA[i:], m.Rk) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Rk))) - i-- - dAtA[i] = 0x3a - } - if len(m.Nullifier) > 0 { - i -= len(m.Nullifier) - copy(dAtA[i:], m.Nullifier) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Nullifier))) - i-- - dAtA[i] = 0x32 - } - if m.UnbondedAmount != nil { - { - size, err := m.UnbondedAmount.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.Value != nil { - { - size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.Vote != nil { - { - size, err := m.Vote.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.StartPosition != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.StartPosition)) - i-- - dAtA[i] = 0x10 - } - if m.Proposal != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.Proposal)) - i-- - dAtA[i] = 0x8 +func (x *queryServiceAllTalliedDelegatorVotesForProposalClient) Recv() (*AllTalliedDelegatorVotesForProposalResponse, error) { + m := new(AllTalliedDelegatorVotesForProposalResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err } - return len(dAtA) - i, nil + return m, nil } -func (m *DelegatorVoteView) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *queryServiceClient) ProposalRateData(ctx context.Context, in *ProposalRateDataRequest, opts ...grpc.CallOption) (QueryService_ProposalRateDataClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[3], "/penumbra.core.component.governance.v1alpha1.QueryService/ProposalRateData", opts...) if err != nil { return nil, err } - return dAtA[:n], nil + x := &queryServiceProposalRateDataClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil } -func (m *DelegatorVoteView) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type QueryService_ProposalRateDataClient interface { + Recv() (*ProposalRateDataResponse, error) + grpc.ClientStream } -func (m *DelegatorVoteView) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.DelegatorVote != nil { - { - size := m.DelegatorVote.Size() - i -= size - if _, err := m.DelegatorVote.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } +type queryServiceProposalRateDataClient struct { + grpc.ClientStream +} + +func (x *queryServiceProposalRateDataClient) Recv() (*ProposalRateDataResponse, error) { + m := new(ProposalRateDataResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err } - return len(dAtA) - i, nil + return m, nil } -func (m *DelegatorVoteView_Visible_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// QueryServiceServer is the server API for QueryService service. +type QueryServiceServer interface { + ProposalInfo(context.Context, *ProposalInfoRequest) (*ProposalInfoResponse, error) + ProposalList(*ProposalListRequest, QueryService_ProposalListServer) error + ProposalData(context.Context, *ProposalDataRequest) (*ProposalDataResponse, error) + NextProposalId(context.Context, *NextProposalIdRequest) (*NextProposalIdResponse, error) + ValidatorVotes(*ValidatorVotesRequest, QueryService_ValidatorVotesServer) error + VotingPowerAtProposalStart(context.Context, *VotingPowerAtProposalStartRequest) (*VotingPowerAtProposalStartResponse, error) + AllTalliedDelegatorVotesForProposal(*AllTalliedDelegatorVotesForProposalRequest, QueryService_AllTalliedDelegatorVotesForProposalServer) error + // Used for computing voting power ? + ProposalRateData(*ProposalRateDataRequest, QueryService_ProposalRateDataServer) error } -func (m *DelegatorVoteView_Visible_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Visible != nil { +// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServiceServer struct { +} + +func (*UnimplementedQueryServiceServer) ProposalInfo(ctx context.Context, req *ProposalInfoRequest) (*ProposalInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProposalInfo not implemented") +} +func (*UnimplementedQueryServiceServer) ProposalList(req *ProposalListRequest, srv QueryService_ProposalListServer) error { + return status.Errorf(codes.Unimplemented, "method ProposalList not implemented") +} +func (*UnimplementedQueryServiceServer) ProposalData(ctx context.Context, req *ProposalDataRequest) (*ProposalDataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProposalData not implemented") +} +func (*UnimplementedQueryServiceServer) NextProposalId(ctx context.Context, req *NextProposalIdRequest) (*NextProposalIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method NextProposalId not implemented") +} +func (*UnimplementedQueryServiceServer) ValidatorVotes(req *ValidatorVotesRequest, srv QueryService_ValidatorVotesServer) error { + return status.Errorf(codes.Unimplemented, "method ValidatorVotes not implemented") +} +func (*UnimplementedQueryServiceServer) VotingPowerAtProposalStart(ctx context.Context, req *VotingPowerAtProposalStartRequest) (*VotingPowerAtProposalStartResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method VotingPowerAtProposalStart not implemented") +} +func (*UnimplementedQueryServiceServer) AllTalliedDelegatorVotesForProposal(req *AllTalliedDelegatorVotesForProposalRequest, srv QueryService_AllTalliedDelegatorVotesForProposalServer) error { + return status.Errorf(codes.Unimplemented, "method AllTalliedDelegatorVotesForProposal not implemented") +} +func (*UnimplementedQueryServiceServer) ProposalRateData(req *ProposalRateDataRequest, srv QueryService_ProposalRateDataServer) error { + return status.Errorf(codes.Unimplemented, "method ProposalRateData not implemented") +} + +func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { + s.RegisterService(&_QueryService_serviceDesc, srv) +} + +func _QueryService_ProposalInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ProposalInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).ProposalInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.governance.v1alpha1.QueryService/ProposalInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).ProposalInfo(ctx, req.(*ProposalInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_ProposalList_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ProposalListRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).ProposalList(m, &queryServiceProposalListServer{stream}) +} + +type QueryService_ProposalListServer interface { + Send(*ProposalListResponse) error + grpc.ServerStream +} + +type queryServiceProposalListServer struct { + grpc.ServerStream +} + +func (x *queryServiceProposalListServer) Send(m *ProposalListResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _QueryService_ProposalData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ProposalDataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).ProposalData(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.governance.v1alpha1.QueryService/ProposalData", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).ProposalData(ctx, req.(*ProposalDataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_NextProposalId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NextProposalIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).NextProposalId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.governance.v1alpha1.QueryService/NextProposalId", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).NextProposalId(ctx, req.(*NextProposalIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_ValidatorVotes_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ValidatorVotesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).ValidatorVotes(m, &queryServiceValidatorVotesServer{stream}) +} + +type QueryService_ValidatorVotesServer interface { + Send(*ValidatorVotesResponse) error + grpc.ServerStream +} + +type queryServiceValidatorVotesServer struct { + grpc.ServerStream +} + +func (x *queryServiceValidatorVotesServer) Send(m *ValidatorVotesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _QueryService_VotingPowerAtProposalStart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(VotingPowerAtProposalStartRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).VotingPowerAtProposalStart(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.governance.v1alpha1.QueryService/VotingPowerAtProposalStart", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).VotingPowerAtProposalStart(ctx, req.(*VotingPowerAtProposalStartRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_AllTalliedDelegatorVotesForProposal_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(AllTalliedDelegatorVotesForProposalRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).AllTalliedDelegatorVotesForProposal(m, &queryServiceAllTalliedDelegatorVotesForProposalServer{stream}) +} + +type QueryService_AllTalliedDelegatorVotesForProposalServer interface { + Send(*AllTalliedDelegatorVotesForProposalResponse) error + grpc.ServerStream +} + +type queryServiceAllTalliedDelegatorVotesForProposalServer struct { + grpc.ServerStream +} + +func (x *queryServiceAllTalliedDelegatorVotesForProposalServer) Send(m *AllTalliedDelegatorVotesForProposalResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _QueryService_ProposalRateData_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ProposalRateDataRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).ProposalRateData(m, &queryServiceProposalRateDataServer{stream}) +} + +type QueryService_ProposalRateDataServer interface { + Send(*ProposalRateDataResponse) error + grpc.ServerStream +} + +type queryServiceProposalRateDataServer struct { + grpc.ServerStream +} + +func (x *queryServiceProposalRateDataServer) Send(m *ProposalRateDataResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _QueryService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "penumbra.core.component.governance.v1alpha1.QueryService", + HandlerType: (*QueryServiceServer)(nil), + Methods: []grpc.MethodDesc{ { - size, err := m.Visible.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa + MethodName: "ProposalInfo", + Handler: _QueryService_ProposalInfo_Handler, + }, + { + MethodName: "ProposalData", + Handler: _QueryService_ProposalData_Handler, + }, + { + MethodName: "NextProposalId", + Handler: _QueryService_NextProposalId_Handler, + }, + { + MethodName: "VotingPowerAtProposalStart", + Handler: _QueryService_VotingPowerAtProposalStart_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "ProposalList", + Handler: _QueryService_ProposalList_Handler, + ServerStreams: true, + }, + { + StreamName: "ValidatorVotes", + Handler: _QueryService_ValidatorVotes_Handler, + ServerStreams: true, + }, + { + StreamName: "AllTalliedDelegatorVotesForProposal", + Handler: _QueryService_AllTalliedDelegatorVotesForProposal_Handler, + ServerStreams: true, + }, + { + StreamName: "ProposalRateData", + Handler: _QueryService_ProposalRateData_Handler, + ServerStreams: true, + }, + }, + Metadata: "penumbra/core/component/governance/v1alpha1/governance.proto", +} + +func (m *ZKDelegatorVoteProof) 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 len(dAtA) - i, nil + return dAtA[:n], nil } -func (m *DelegatorVoteView_Opaque_) MarshalTo(dAtA []byte) (int, error) { + +func (m *ZKDelegatorVoteProof) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DelegatorVoteView_Opaque_) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ZKDelegatorVoteProof) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.Opaque != nil { - { - size, err := m.Opaque.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } + _ = i + var l int + _ = l + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Inner))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *DelegatorVoteView_Visible) Marshal() (dAtA []byte, err error) { + +func (m *ProposalSubmit) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3475,19 +4024,19 @@ func (m *DelegatorVoteView_Visible) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DelegatorVoteView_Visible) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalSubmit) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DelegatorVoteView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalSubmit) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Note != nil { + if m.DepositAmount != nil { { - size, err := m.Note.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.DepositAmount.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3495,11 +4044,11 @@ func (m *DelegatorVoteView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, erro i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } - if m.DelegatorVote != nil { + if m.Proposal != nil { { - size, err := m.DelegatorVote.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Proposal.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3512,7 +4061,7 @@ func (m *DelegatorVoteView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *DelegatorVoteView_Opaque) Marshal() (dAtA []byte, err error) { +func (m *ProposalWithdraw) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3522,32 +4071,32 @@ func (m *DelegatorVoteView_Opaque) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DelegatorVoteView_Opaque) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalWithdraw) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DelegatorVoteView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.DelegatorVote != nil { - { - size, err := m.DelegatorVote.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Reason))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if m.Proposal != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.Proposal)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *DelegatorVotePlan) Marshal() (dAtA []byte, err error) { +func (m *ProposalDepositClaim) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3557,57 +4106,19 @@ func (m *DelegatorVotePlan) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DelegatorVotePlan) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalDepositClaim) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DelegatorVotePlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalDepositClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ProofBlindingS) > 0 { - i -= len(m.ProofBlindingS) - copy(dAtA[i:], m.ProofBlindingS) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.ProofBlindingS))) - i-- - dAtA[i] = 0x4a - } - if len(m.ProofBlindingR) > 0 { - i -= len(m.ProofBlindingR) - copy(dAtA[i:], m.ProofBlindingR) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.ProofBlindingR))) - i-- - dAtA[i] = 0x42 - } - if len(m.Randomizer) > 0 { - i -= len(m.Randomizer) - copy(dAtA[i:], m.Randomizer) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Randomizer))) - i-- - dAtA[i] = 0x3a - } - if m.UnbondedAmount != nil { - { - size, err := m.UnbondedAmount.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.StakedNotePosition != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.StakedNotePosition)) - i-- - dAtA[i] = 0x28 - } - if m.StakedNote != nil { + if m.Outcome != nil { { - size, err := m.StakedNote.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Outcome.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3615,11 +4126,11 @@ func (m *DelegatorVotePlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x1a } - if m.Vote != nil { + if m.DepositAmount != nil { { - size, err := m.Vote.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.DepositAmount.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3627,12 +4138,7 @@ func (m *DelegatorVotePlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a - } - if m.StartPosition != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.StartPosition)) - i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } if m.Proposal != 0 { i = encodeVarintGovernance(dAtA, i, uint64(m.Proposal)) @@ -3642,7 +4148,7 @@ func (m *DelegatorVotePlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *DaoDeposit) Marshal() (dAtA []byte, err error) { +func (m *ValidatorVote) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3652,19 +4158,31 @@ func (m *DaoDeposit) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DaoDeposit) MarshalTo(dAtA []byte) (int, error) { +func (m *ValidatorVote) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DaoDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ValidatorVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Value != nil { + if m.AuthSig != nil { { - size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.AuthSig.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Body != nil { + { + size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3677,7 +4195,7 @@ func (m *DaoDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *DaoSpend) Marshal() (dAtA []byte, err error) { +func (m *ValidatorVoteReason) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3687,32 +4205,27 @@ func (m *DaoSpend) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DaoSpend) MarshalTo(dAtA []byte) (int, error) { +func (m *ValidatorVoteReason) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ValidatorVoteReason) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Value != nil { - { - size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Reason))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *DaoOutput) Marshal() (dAtA []byte, err error) { +func (m *ValidatorVoteBody) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3722,19 +4235,19 @@ func (m *DaoOutput) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DaoOutput) MarshalTo(dAtA []byte) (int, error) { +func (m *ValidatorVoteBody) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DaoOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ValidatorVoteBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Address != nil { + if m.Reason != nil { { - size, err := m.Address.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Reason.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3742,11 +4255,11 @@ func (m *DaoOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x2a } - if m.Value != nil { + if m.GovernanceKey != nil { { - size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.GovernanceKey.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3754,40 +4267,41 @@ func (m *DaoOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x22 } - return len(dAtA) - i, nil -} - -func (m *Vote) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.IdentityKey != nil { + { + size, err := m.IdentityKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - return dAtA[:n], nil -} - -func (m *Vote) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Vote) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Vote != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.Vote)) + if m.Vote != nil { + { + size, err := m.Vote.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Proposal != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.Proposal)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *ProposalState) Marshal() (dAtA []byte, err error) { +func (m *DelegatorVote) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3797,38 +4311,31 @@ func (m *ProposalState) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProposalState) MarshalTo(dAtA []byte) (int, error) { +func (m *DelegatorVote) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalState) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DelegatorVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.State != nil { + if m.Proof != nil { { - size := m.State.Size() - i -= size - if _, err := m.State.MarshalTo(dAtA[i:]); err != nil { + size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { return 0, err } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1a } - return len(dAtA) - i, nil -} - -func (m *ProposalState_Voting_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposalState_Voting_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Voting != nil { + if m.AuthSig != nil { { - size, err := m.Voting.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.AuthSig.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3838,18 +4345,9 @@ func (m *ProposalState_Voting_) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - return len(dAtA) - i, nil -} -func (m *ProposalState_Withdrawn_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposalState_Withdrawn_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Withdrawn != nil { + if m.Body != nil { { - size, err := m.Withdrawn.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3857,20 +4355,60 @@ func (m *ProposalState_Withdrawn_) MarshalToSizedBuffer(dAtA []byte) (int, error i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ProposalState_Finished_) MarshalTo(dAtA []byte) (int, error) { + +func (m *DelegatorVoteBody) 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 *DelegatorVoteBody) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalState_Finished_) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DelegatorVoteBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.Finished != nil { - { - size, err := m.Finished.MarshalToSizedBuffer(dAtA[:i]) + _ = i + var l int + _ = l + if len(m.Rk) > 0 { + i -= len(m.Rk) + copy(dAtA[i:], m.Rk) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Rk))) + i-- + dAtA[i] = 0x3a + } + if len(m.Nullifier) > 0 { + i -= len(m.Nullifier) + copy(dAtA[i:], m.Nullifier) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Nullifier))) + i-- + dAtA[i] = 0x32 + } + if m.UnbondedAmount != nil { + { + size, err := m.UnbondedAmount.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.Value != nil { + { + size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3880,18 +4418,9 @@ func (m *ProposalState_Finished_) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x22 } - return len(dAtA) - i, nil -} -func (m *ProposalState_Claimed_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposalState_Claimed_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Claimed != nil { + if m.Vote != nil { { - size, err := m.Claimed.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Vote.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3899,11 +4428,22 @@ func (m *ProposalState_Claimed_) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x1a + } + if m.StartPosition != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.StartPosition)) + i-- + dAtA[i] = 0x10 + } + if m.Proposal != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.Proposal)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *ProposalState_Voting) Marshal() (dAtA []byte, err error) { + +func (m *DelegatorVoteView) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3913,50 +4453,71 @@ func (m *ProposalState_Voting) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProposalState_Voting) MarshalTo(dAtA []byte) (int, error) { +func (m *DelegatorVoteView) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalState_Voting) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DelegatorVoteView) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.DelegatorVote != nil { + { + size := m.DelegatorVote.Size() + i -= size + if _, err := m.DelegatorVote.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } return len(dAtA) - i, nil } -func (m *ProposalState_Withdrawn) Marshal() (dAtA []byte, err error) { +func (m *DelegatorVoteView_Visible_) MarshalTo(dAtA []byte) (int, error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalState_Withdrawn) MarshalTo(dAtA []byte) (int, error) { +func (m *DelegatorVoteView_Visible_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Visible != nil { + { + size, err := m.Visible.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} +func (m *DelegatorVoteView_Opaque_) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalState_Withdrawn) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DelegatorVoteView_Opaque_) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Reason))) + if m.Opaque != nil { + { + size, err := m.Opaque.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 } return len(dAtA) - i, nil } - -func (m *ProposalState_Finished) Marshal() (dAtA []byte, err error) { +func (m *DelegatorVoteView_Visible) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3966,19 +4527,31 @@ func (m *ProposalState_Finished) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProposalState_Finished) MarshalTo(dAtA []byte) (int, error) { +func (m *DelegatorVoteView_Visible) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalState_Finished) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DelegatorVoteView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Outcome != nil { + if m.Note != nil { { - size, err := m.Outcome.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Note.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.DelegatorVote != nil { + { + size, err := m.DelegatorVote.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3991,7 +4564,7 @@ func (m *ProposalState_Finished) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *ProposalState_Claimed) Marshal() (dAtA []byte, err error) { +func (m *DelegatorVoteView_Opaque) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4001,19 +4574,19 @@ func (m *ProposalState_Claimed) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProposalState_Claimed) MarshalTo(dAtA []byte) (int, error) { +func (m *DelegatorVoteView_Opaque) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalState_Claimed) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DelegatorVoteView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Outcome != nil { + if m.DelegatorVote != nil { { - size, err := m.Outcome.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.DelegatorVote.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4026,7 +4599,7 @@ func (m *ProposalState_Claimed) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ProposalOutcome) Marshal() (dAtA []byte, err error) { +func (m *DelegatorVotePlan) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4036,38 +4609,40 @@ func (m *ProposalOutcome) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProposalOutcome) MarshalTo(dAtA []byte) (int, error) { +func (m *DelegatorVotePlan) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalOutcome) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DelegatorVotePlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Outcome != nil { - { - size := m.Outcome.Size() - i -= size - if _, err := m.Outcome.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } + if len(m.ProofBlindingS) > 0 { + i -= len(m.ProofBlindingS) + copy(dAtA[i:], m.ProofBlindingS) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ProofBlindingS))) + i-- + dAtA[i] = 0x4a } - return len(dAtA) - i, nil -} - -func (m *ProposalOutcome_Passed_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposalOutcome_Passed_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Passed != nil { + if len(m.ProofBlindingR) > 0 { + i -= len(m.ProofBlindingR) + copy(dAtA[i:], m.ProofBlindingR) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ProofBlindingR))) + i-- + dAtA[i] = 0x42 + } + if len(m.Randomizer) > 0 { + i -= len(m.Randomizer) + copy(dAtA[i:], m.Randomizer) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Randomizer))) + i-- + dAtA[i] = 0x3a + } + if m.UnbondedAmount != nil { { - size, err := m.Passed.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.UnbondedAmount.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4075,20 +4650,16 @@ func (m *ProposalOutcome_Passed_) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x32 } - return len(dAtA) - i, nil -} -func (m *ProposalOutcome_Failed_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposalOutcome_Failed_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Failed != nil { + if m.StakedNotePosition != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.StakedNotePosition)) + i-- + dAtA[i] = 0x28 + } + if m.StakedNote != nil { { - size, err := m.Failed.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.StakedNote.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4096,20 +4667,11 @@ func (m *ProposalOutcome_Failed_) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x22 } - return len(dAtA) - i, nil -} -func (m *ProposalOutcome_Slashed_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposalOutcome_Slashed_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Slashed != nil { + if m.Vote != nil { { - size, err := m.Slashed.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Vote.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4119,9 +4681,20 @@ func (m *ProposalOutcome_Slashed_) MarshalToSizedBuffer(dAtA []byte) (int, error i-- dAtA[i] = 0x1a } + if m.StartPosition != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.StartPosition)) + i-- + dAtA[i] = 0x10 + } + if m.Proposal != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.Proposal)) + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *ProposalOutcome_Withdrawn) Marshal() (dAtA []byte, err error) { + +func (m *DaoDeposit) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4131,50 +4704,32 @@ func (m *ProposalOutcome_Withdrawn) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProposalOutcome_Withdrawn) MarshalTo(dAtA []byte) (int, error) { +func (m *DaoDeposit) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalOutcome_Withdrawn) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DaoDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Reason))) + if m.Value != nil { + { + size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ProposalOutcome_Passed) 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 *ProposalOutcome_Passed) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProposalOutcome_Passed) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *ProposalOutcome_Failed) Marshal() (dAtA []byte, err error) { +func (m *DaoSpend) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4184,19 +4739,19 @@ func (m *ProposalOutcome_Failed) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProposalOutcome_Failed) MarshalTo(dAtA []byte) (int, error) { +func (m *DaoSpend) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalOutcome_Failed) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Withdrawn != nil { + if m.Value != nil { { - size, err := m.Withdrawn.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4209,7 +4764,7 @@ func (m *ProposalOutcome_Failed) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *ProposalOutcome_Slashed) Marshal() (dAtA []byte, err error) { +func (m *DaoOutput) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4219,19 +4774,31 @@ func (m *ProposalOutcome_Slashed) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProposalOutcome_Slashed) MarshalTo(dAtA []byte) (int, error) { +func (m *DaoOutput) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalOutcome_Slashed) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DaoOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Withdrawn != nil { + if m.Address != nil { { - size, err := m.Withdrawn.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Address.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Value != nil { + { + size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4244,7 +4811,7 @@ func (m *ProposalOutcome_Slashed) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *Tally) Marshal() (dAtA []byte, err error) { +func (m *Vote) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4254,35 +4821,25 @@ func (m *Tally) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Tally) MarshalTo(dAtA []byte) (int, error) { +func (m *Vote) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Tally) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Vote) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Abstain != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.Abstain)) - i-- - dAtA[i] = 0x18 - } - if m.No != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.No)) - i-- - dAtA[i] = 0x10 - } - if m.Yes != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.Yes)) + if m.Vote != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.Vote)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *Proposal) Marshal() (dAtA []byte, err error) { +func (m *ProposalState) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4292,31 +4849,38 @@ func (m *Proposal) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Proposal) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalState) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.UpgradePlan != nil { + if m.State != nil { { - size, err := m.UpgradePlan.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { + size := m.State.Size() + i -= size + if _, err := m.State.MarshalTo(dAtA[i:]); err != nil { return 0, err } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) } - i-- - dAtA[i] = 0x4a } - if m.DaoSpend != nil { + return len(dAtA) - i, nil +} + +func (m *ProposalState_Voting_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProposalState_Voting_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Voting != nil { { - size, err := m.DaoSpend.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Voting.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4324,11 +4888,20 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x42 + dAtA[i] = 0x12 } - if m.ParameterChange != nil { + return len(dAtA) - i, nil +} +func (m *ProposalState_Withdrawn_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProposalState_Withdrawn_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Withdrawn != nil { { - size, err := m.ParameterChange.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Withdrawn.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4336,11 +4909,20 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x3a + dAtA[i] = 0x1a } - if m.Emergency != nil { + return len(dAtA) - i, nil +} +func (m *ProposalState_Finished_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProposalState_Finished_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Finished != nil { { - size, err := m.Emergency.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Finished.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4348,11 +4930,20 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x22 } - if m.Signaling != nil { + return len(dAtA) - i, nil +} +func (m *ProposalState_Claimed_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProposalState_Claimed_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Claimed != nil { { - size, err := m.Signaling.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Claimed.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4362,29 +4953,9 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x2a } - if m.Id != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.Id)) - i-- - dAtA[i] = 0x20 - } - if len(m.Description) > 0 { - i -= len(m.Description) - copy(dAtA[i:], m.Description) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Description))) - i-- - dAtA[i] = 0x12 - } - if len(m.Title) > 0 { - i -= len(m.Title) - copy(dAtA[i:], m.Title) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Title))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } - -func (m *Proposal_Signaling) Marshal() (dAtA []byte, err error) { +func (m *ProposalState_Voting) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4394,27 +4965,20 @@ func (m *Proposal_Signaling) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Proposal_Signaling) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalState_Voting) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Proposal_Signaling) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalState_Voting) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Commit) > 0 { - i -= len(m.Commit) - copy(dAtA[i:], m.Commit) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Commit))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *Proposal_Emergency) Marshal() (dAtA []byte, err error) { +func (m *ProposalState_Withdrawn) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4424,30 +4988,27 @@ func (m *Proposal_Emergency) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Proposal_Emergency) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalState_Withdrawn) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Proposal_Emergency) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalState_Withdrawn) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.HaltChain { - i-- - if m.HaltChain { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Reason))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Proposal_ParameterChange) Marshal() (dAtA []byte, err error) { +func (m *ProposalState_Finished) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4457,31 +5018,19 @@ func (m *Proposal_ParameterChange) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Proposal_ParameterChange) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalState_Finished) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Proposal_ParameterChange) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalState_Finished) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.NewParameters != nil { - { - size, err := m.NewParameters.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.OldParameters != nil { + if m.Outcome != nil { { - size, err := m.OldParameters.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Outcome.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4494,7 +5043,7 @@ func (m *Proposal_ParameterChange) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *Proposal_DaoSpend) Marshal() (dAtA []byte, err error) { +func (m *ProposalState_Claimed) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4504,19 +5053,19 @@ func (m *Proposal_DaoSpend) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Proposal_DaoSpend) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalState_Claimed) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Proposal_DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalState_Claimed) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.TransactionPlan != nil { + if m.Outcome != nil { { - size, err := m.TransactionPlan.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Outcome.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4524,12 +5073,12 @@ func (m *Proposal_DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Proposal_UpgradePlan) Marshal() (dAtA []byte, err error) { +func (m *ProposalOutcome) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4539,60 +5088,92 @@ func (m *Proposal_UpgradePlan) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Proposal_UpgradePlan) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalOutcome) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Proposal_UpgradePlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalOutcome) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Height != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.Height)) - i-- - dAtA[i] = 0x8 + if m.Outcome != nil { + { + size := m.Outcome.Size() + i -= size + if _, err := m.Outcome.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } } return len(dAtA) - i, nil } -func (m *ProposalInfoRequest) Marshal() (dAtA []byte, err error) { +func (m *ProposalOutcome_Passed_) MarshalTo(dAtA []byte) (int, error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalInfoRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalOutcome_Passed_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Passed != nil { + { + size, err := m.Passed.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} +func (m *ProposalOutcome_Failed_) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalOutcome_Failed_) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - _ = i - var l int - _ = l - if m.ProposalId != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.ProposalId)) + if m.Failed != nil { + { + size, err := m.Failed.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if len(m.ChainId) > 0 { - i -= len(m.ChainId) - copy(dAtA[i:], m.ChainId) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.ChainId))) + return len(dAtA) - i, nil +} +func (m *ProposalOutcome_Slashed_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProposalOutcome_Slashed_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Slashed != nil { + { + size, err := m.Slashed.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a } return len(dAtA) - i, nil } - -func (m *ProposalInfoResponse) Marshal() (dAtA []byte, err error) { +func (m *ProposalOutcome_Withdrawn) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4602,30 +5183,27 @@ func (m *ProposalInfoResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProposalInfoResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalOutcome_Withdrawn) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalOutcome_Withdrawn) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.StartPosition != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.StartPosition)) - i-- - dAtA[i] = 0x10 - } - if m.StartBlockHeight != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.StartBlockHeight)) + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Reason))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ProposalRateDataRequest) Marshal() (dAtA []byte, err error) { +func (m *ProposalOutcome_Passed) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4635,32 +5213,20 @@ func (m *ProposalRateDataRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProposalRateDataRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalOutcome_Passed) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalRateDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalOutcome_Passed) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ProposalId != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.ProposalId)) - i-- - dAtA[i] = 0x10 - } - if len(m.ChainId) > 0 { - i -= len(m.ChainId) - copy(dAtA[i:], m.ChainId) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.ChainId))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *ProposalRateDataResponse) Marshal() (dAtA []byte, err error) { +func (m *ProposalOutcome_Failed) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4670,19 +5236,19 @@ func (m *ProposalRateDataResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProposalRateDataResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalOutcome_Failed) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalRateDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalOutcome_Failed) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.RateData != nil { + if m.Withdrawn != nil { { - size, err := m.RateData.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Withdrawn.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4695,7 +5261,7 @@ func (m *ProposalRateDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *GovernanceParameters) Marshal() (dAtA []byte, err error) { +func (m *ProposalOutcome_Slashed) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4705,40 +5271,19 @@ func (m *GovernanceParameters) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GovernanceParameters) MarshalTo(dAtA []byte) (int, error) { +func (m *ProposalOutcome_Slashed) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GovernanceParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ProposalOutcome_Slashed) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ProposalSlashThreshold) > 0 { - i -= len(m.ProposalSlashThreshold) - copy(dAtA[i:], m.ProposalSlashThreshold) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.ProposalSlashThreshold))) - i-- - dAtA[i] = 0x2a - } - if len(m.ProposalPassThreshold) > 0 { - i -= len(m.ProposalPassThreshold) - copy(dAtA[i:], m.ProposalPassThreshold) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.ProposalPassThreshold))) - i-- - dAtA[i] = 0x22 - } - if len(m.ProposalValidQuorum) > 0 { - i -= len(m.ProposalValidQuorum) - copy(dAtA[i:], m.ProposalValidQuorum) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.ProposalValidQuorum))) - i-- - dAtA[i] = 0x1a - } - if m.ProposalDepositAmount != nil { + if m.Withdrawn != nil { { - size, err := m.ProposalDepositAmount.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Withdrawn.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4746,17 +5291,12 @@ func (m *GovernanceParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - } - if m.ProposalVotingBlocks != 0 { - i = encodeVarintGovernance(dAtA, i, uint64(m.ProposalVotingBlocks)) - i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GenesisContent) Marshal() (dAtA []byte, err error) { +func (m *Tally) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4766,32 +5306,35 @@ func (m *GenesisContent) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GenesisContent) MarshalTo(dAtA []byte) (int, error) { +func (m *Tally) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Tally) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.GovernanceParams != nil { - { - size, err := m.GovernanceParams.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } + if m.Abstain != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.Abstain)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x18 + } + if m.No != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.No)) + i-- + dAtA[i] = 0x10 + } + if m.Yes != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.Yes)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *ChangedAppParameters) Marshal() (dAtA []byte, err error) { +func (m *Proposal) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4801,19 +5344,19 @@ func (m *ChangedAppParameters) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ChangedAppParameters) MarshalTo(dAtA []byte) (int, error) { +func (m *Proposal) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ChangedAppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.FeeParams != nil { + if m.UpgradePlan != nil { { - size, err := m.FeeParams.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.UpgradePlan.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4821,11 +5364,11 @@ func (m *ChangedAppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x4a } - if m.StakeParams != nil { + if m.DaoSpend != nil { { - size, err := m.StakeParams.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.DaoSpend.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4833,11 +5376,11 @@ func (m *ChangedAppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x42 } - if m.IbcParams != nil { + if m.ParameterChange != nil { { - size, err := m.IbcParams.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ParameterChange.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4845,11 +5388,11 @@ func (m *ChangedAppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x3a } - if m.GovernanceParams != nil { + if m.Emergency != nil { { - size, err := m.GovernanceParams.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Emergency.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4857,11 +5400,11 @@ func (m *ChangedAppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x32 } - if m.DaoParams != nil { + if m.Signaling != nil { { - size, err := m.DaoParams.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Signaling.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4869,24 +5412,31 @@ func (m *ChangedAppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGovernance(dAtA, i, uint64(size)) } i-- + dAtA[i] = 0x2a + } + if m.Id != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x20 + } + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Description))) + i-- dAtA[i] = 0x12 } - if m.ChainParams != nil { - { - size, err := m.ChainParams.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGovernance(dAtA, i, uint64(size)) - } + if len(m.Title) > 0 { + i -= len(m.Title) + copy(dAtA[i:], m.Title) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Title))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ChangedAppParametersSet) Marshal() (dAtA []byte, err error) { +func (m *Proposal_Signaling) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4896,19 +5446,82 @@ func (m *ChangedAppParametersSet) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ChangedAppParametersSet) MarshalTo(dAtA []byte) (int, error) { +func (m *Proposal_Signaling) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ChangedAppParametersSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Proposal_Signaling) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.New != nil { + if len(m.Commit) > 0 { + i -= len(m.Commit) + copy(dAtA[i:], m.Commit) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Commit))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Proposal_Emergency) 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 *Proposal_Emergency) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Proposal_Emergency) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.HaltChain { + i-- + if m.HaltChain { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Proposal_ParameterChange) 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 *Proposal_ParameterChange) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Proposal_ParameterChange) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.NewParameters != nil { { - size, err := m.New.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.NewParameters.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4918,9 +5531,9 @@ func (m *ChangedAppParametersSet) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x12 } - if m.Old != nil { + if m.OldParameters != nil { { - size, err := m.Old.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.OldParameters.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4933,852 +5546,2891 @@ func (m *ChangedAppParametersSet) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func encodeVarintGovernance(dAtA []byte, offset int, v uint64) int { - offset -= sovGovernance(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *Proposal_DaoSpend) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *ZKDelegatorVoteProof) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) - } - return n + +func (m *Proposal_DaoSpend) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalSubmit) Size() (n int) { - if m == nil { - return 0 - } +func (m *Proposal_DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Proposal != nil { - l = m.Proposal.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - if m.DepositAmount != nil { - l = m.DepositAmount.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.TransactionPlan != nil { + { + size, err := m.TransactionPlan.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - return n + return len(dAtA) - i, nil } -func (m *ProposalWithdraw) Size() (n int) { - if m == nil { - return 0 +func (m *Proposal_UpgradePlan) 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 *Proposal_UpgradePlan) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Proposal_UpgradePlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Proposal != 0 { - n += 1 + sovGovernance(uint64(m.Proposal)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) + if m.Height != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.Height)) + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *ProposalDepositClaim) Size() (n int) { - if m == nil { - return 0 +func (m *ProposalInfoRequest) 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 *ProposalInfoRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProposalInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Proposal != 0 { - n += 1 + sovGovernance(uint64(m.Proposal)) - } - if m.DepositAmount != nil { - l = m.DepositAmount.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.ProposalId != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.ProposalId)) + i-- + dAtA[i] = 0x10 } - if m.Outcome != nil { - l = m.Outcome.Size() - n += 1 + l + sovGovernance(uint64(l)) + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *ValidatorVote) Size() (n int) { - if m == nil { - return 0 +func (m *ProposalInfoResponse) 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 *ProposalInfoResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProposalInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Body != nil { - l = m.Body.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.StartPosition != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.StartPosition)) + i-- + dAtA[i] = 0x10 } - if m.AuthSig != nil { - l = m.AuthSig.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.StartBlockHeight != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.StartBlockHeight)) + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *ValidatorVoteReason) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) +func (m *ProposalDataRequest) 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 n + return dAtA[:n], nil } -func (m *ValidatorVoteBody) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Proposal != 0 { - n += 1 + sovGovernance(uint64(m.Proposal)) - } - if m.Vote != nil { - l = m.Vote.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - if m.IdentityKey != nil { - l = m.IdentityKey.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - if m.GovernanceKey != nil { - l = m.GovernanceKey.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - if m.Reason != nil { - l = m.Reason.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - return n +func (m *ProposalDataRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DelegatorVote) Size() (n int) { - if m == nil { - return 0 - } +func (m *ProposalDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Body != nil { - l = m.Body.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - if m.AuthSig != nil { - l = m.AuthSig.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.ProposalId != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.ProposalId)) + i-- + dAtA[i] = 0x10 } - if m.Proof != nil { - l = m.Proof.Size() - n += 1 + l + sovGovernance(uint64(l)) + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *DelegatorVoteBody) Size() (n int) { - if m == nil { - return 0 +func (m *ProposalDataResponse) 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 *ProposalDataResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProposalDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Proposal != 0 { - n += 1 + sovGovernance(uint64(m.Proposal)) - } - if m.StartPosition != 0 { - n += 1 + sovGovernance(uint64(m.StartPosition)) + if m.ProposalDepositAmount != nil { + { + size, err := m.ProposalDepositAmount.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 } - if m.Vote != nil { - l = m.Vote.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.State != nil { + { + size, err := m.State.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a } - if m.Value != nil { - l = m.Value.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.StartPosition != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.StartPosition)) + i-- + dAtA[i] = 0x20 } - if m.UnbondedAmount != nil { - l = m.UnbondedAmount.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.EndBlockHeight != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.EndBlockHeight)) + i-- + dAtA[i] = 0x18 } - l = len(m.Nullifier) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) + if m.StartBlockHeight != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.StartBlockHeight)) + i-- + dAtA[i] = 0x10 } - l = len(m.Rk) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) + if m.Proposal != nil { + { + size, err := m.Proposal.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *DelegatorVoteView) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.DelegatorVote != nil { - n += m.DelegatorVote.Size() +func (m *ProposalRateDataRequest) 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 n + return dAtA[:n], nil } -func (m *DelegatorVoteView_Visible_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Visible != nil { - l = m.Visible.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - return n -} -func (m *DelegatorVoteView_Opaque_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Opaque != nil { - l = m.Opaque.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - return n +func (m *ProposalRateDataRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DelegatorVoteView_Visible) Size() (n int) { - if m == nil { - return 0 - } + +func (m *ProposalRateDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.DelegatorVote != nil { - l = m.DelegatorVote.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.ProposalId != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.ProposalId)) + i-- + dAtA[i] = 0x10 } - if m.Note != nil { - l = m.Note.Size() - n += 1 + l + sovGovernance(uint64(l)) + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *DelegatorVoteView_Opaque) Size() (n int) { - if m == nil { - return 0 +func (m *ProposalRateDataResponse) 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 *ProposalRateDataResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ProposalRateDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.DelegatorVote != nil { - l = m.DelegatorVote.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.RateData != nil { + { + size, err := m.RateData.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *DelegatorVotePlan) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Proposal != 0 { - n += 1 + sovGovernance(uint64(m.Proposal)) +func (m *ProposalListRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.StartPosition != 0 { - n += 1 + sovGovernance(uint64(m.StartPosition)) - } - if m.Vote != nil { - l = m.Vote.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - if m.StakedNote != nil { - l = m.StakedNote.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - if m.StakedNotePosition != 0 { - n += 1 + sovGovernance(uint64(m.StakedNotePosition)) - } - if m.UnbondedAmount != nil { - l = m.UnbondedAmount.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - l = len(m.Randomizer) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) - } - l = len(m.ProofBlindingR) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) - } - l = len(m.ProofBlindingS) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) - } - return n -} - -func (m *DaoDeposit) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Value != nil { - l = m.Value.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - return n + return dAtA[:n], nil } -func (m *DaoSpend) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Value != nil { - l = m.Value.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - return n +func (m *ProposalListRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DaoOutput) Size() (n int) { - if m == nil { - return 0 - } +func (m *ProposalListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Value != nil { - l = m.Value.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.Inactive { + i-- + if m.Inactive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 } - if m.Address != nil { - l = m.Address.Size() - n += 1 + l + sovGovernance(uint64(l)) + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *Vote) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Vote != 0 { - n += 1 + sovGovernance(uint64(m.Vote)) +func (m *ProposalListResponse) 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 n + return dAtA[:n], nil } -func (m *ProposalState) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.State != nil { - n += m.State.Size() - } - return n +func (m *ProposalListResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalState_Voting_) Size() (n int) { - if m == nil { - return 0 - } +func (m *ProposalListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Voting != nil { - l = m.Voting.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.State != nil { + { + size, err := m.State.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a } - return n -} -func (m *ProposalState_Withdrawn_) Size() (n int) { - if m == nil { - return 0 + if m.StartPosition != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.StartPosition)) + i-- + dAtA[i] = 0x20 } - var l int - _ = l - if m.Withdrawn != nil { - l = m.Withdrawn.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.EndBlockHeight != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.EndBlockHeight)) + i-- + dAtA[i] = 0x18 } - return n -} -func (m *ProposalState_Finished_) Size() (n int) { - if m == nil { - return 0 + if m.StartBlockHeight != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.StartBlockHeight)) + i-- + dAtA[i] = 0x10 } - var l int - _ = l - if m.Finished != nil { - l = m.Finished.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.Proposal != nil { + { + size, err := m.Proposal.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *ProposalState_Claimed_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Claimed != nil { - l = m.Claimed.Size() - n += 1 + l + sovGovernance(uint64(l)) + +func (m *ValidatorVotesRequest) 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 n + return dAtA[:n], nil } -func (m *ProposalState_Voting) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n + +func (m *ValidatorVotesRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalState_Withdrawn) Size() (n int) { - if m == nil { - return 0 - } +func (m *ValidatorVotesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) + if m.ProposalId != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.ProposalId)) + i-- + dAtA[i] = 0x10 } - return n + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *ProposalState_Finished) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Outcome != nil { - l = m.Outcome.Size() - n += 1 + l + sovGovernance(uint64(l)) +func (m *ValidatorVotesResponse) 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 n + return dAtA[:n], nil } -func (m *ProposalState_Claimed) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Outcome != nil { - l = m.Outcome.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - return n +func (m *ValidatorVotesResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalOutcome) Size() (n int) { - if m == nil { - return 0 - } +func (m *ValidatorVotesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Outcome != nil { - n += m.Outcome.Size() + if m.IdentityKey != nil { + { + size, err := m.IdentityKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - return n + if m.Vote != nil { + { + size, err := m.Vote.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *ProposalOutcome_Passed_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Passed != nil { - l = m.Passed.Size() - n += 1 + l + sovGovernance(uint64(l)) +func (m *GovernanceParameters) 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 n + return dAtA[:n], nil } -func (m *ProposalOutcome_Failed_) Size() (n int) { - if m == nil { - return 0 - } + +func (m *GovernanceParameters) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GovernanceParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Failed != nil { - l = m.Failed.Size() - n += 1 + l + sovGovernance(uint64(l)) + if len(m.ProposalSlashThreshold) > 0 { + i -= len(m.ProposalSlashThreshold) + copy(dAtA[i:], m.ProposalSlashThreshold) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ProposalSlashThreshold))) + i-- + dAtA[i] = 0x2a } - return n -} -func (m *ProposalOutcome_Slashed_) Size() (n int) { - if m == nil { - return 0 + if len(m.ProposalPassThreshold) > 0 { + i -= len(m.ProposalPassThreshold) + copy(dAtA[i:], m.ProposalPassThreshold) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ProposalPassThreshold))) + i-- + dAtA[i] = 0x22 } - var l int - _ = l - if m.Slashed != nil { - l = m.Slashed.Size() - n += 1 + l + sovGovernance(uint64(l)) + if len(m.ProposalValidQuorum) > 0 { + i -= len(m.ProposalValidQuorum) + copy(dAtA[i:], m.ProposalValidQuorum) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ProposalValidQuorum))) + i-- + dAtA[i] = 0x1a } - return n -} -func (m *ProposalOutcome_Withdrawn) Size() (n int) { - if m == nil { - return 0 + if m.ProposalDepositAmount != nil { + { + size, err := m.ProposalDepositAmount.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - var l int - _ = l - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) + if m.ProposalVotingBlocks != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.ProposalVotingBlocks)) + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *ProposalOutcome_Passed) Size() (n int) { - if m == nil { - return 0 +func (m *GenesisContent) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *ProposalOutcome_Failed) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Withdrawn != nil { - l = m.Withdrawn.Size() - n += 1 + l + sovGovernance(uint64(l)) - } - return n +func (m *GenesisContent) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalOutcome_Slashed) Size() (n int) { - if m == nil { - return 0 - } +func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Withdrawn != nil { - l = m.Withdrawn.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.GovernanceParams != nil { + { + size, err := m.GovernanceParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *Tally) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Yes != 0 { - n += 1 + sovGovernance(uint64(m.Yes)) - } - if m.No != 0 { - n += 1 + sovGovernance(uint64(m.No)) - } - if m.Abstain != 0 { - n += 1 + sovGovernance(uint64(m.Abstain)) +func (m *ChangedAppParameters) 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 n + return dAtA[:n], nil } -func (m *Proposal) Size() (n int) { - if m == nil { - return 0 - } +func (m *ChangedAppParameters) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ChangedAppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Title) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) - } - l = len(m.Description) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) + if m.DistributionsParams != nil { + { + size, err := m.DistributionsParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a } - if m.Id != 0 { - n += 1 + sovGovernance(uint64(m.Id)) + if m.FeeParams != nil { + { + size, err := m.FeeParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 } - if m.Signaling != nil { - l = m.Signaling.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.StakeParams != nil { + { + size, err := m.StakeParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a } - if m.Emergency != nil { - l = m.Emergency.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.IbcParams != nil { + { + size, err := m.IbcParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 } - if m.ParameterChange != nil { - l = m.ParameterChange.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.GovernanceParams != nil { + { + size, err := m.GovernanceParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - if m.DaoSpend != nil { - l = m.DaoSpend.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.DaoParams != nil { + { + size, err := m.DaoParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if m.UpgradePlan != nil { - l = m.UpgradePlan.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.ChainParams != nil { + { + size, err := m.ChainParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *Proposal_Signaling) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Commit) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) +func (m *ChangedAppParametersSet) 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 n + return dAtA[:n], nil } -func (m *Proposal_Emergency) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.HaltChain { - n += 2 - } - return n +func (m *ChangedAppParametersSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Proposal_ParameterChange) Size() (n int) { - if m == nil { - return 0 - } +func (m *ChangedAppParametersSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.OldParameters != nil { - l = m.OldParameters.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.New != nil { + { + size, err := m.New.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if m.NewParameters != nil { - l = m.NewParameters.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.Old != nil { + { + size, err := m.Old.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *Proposal_DaoSpend) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.TransactionPlan != nil { - l = m.TransactionPlan.Size() - n += 1 + l + sovGovernance(uint64(l)) +func (m *VotingPowerAtProposalStartRequest) 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 n + return dAtA[:n], nil } -func (m *Proposal_UpgradePlan) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Height != 0 { - n += 1 + sovGovernance(uint64(m.Height)) - } - return n +func (m *VotingPowerAtProposalStartRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ProposalInfoRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *VotingPowerAtProposalStartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ChainId) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) + if m.IdentityKey != nil { + { + size, err := m.IdentityKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } if m.ProposalId != 0 { - n += 1 + sovGovernance(uint64(m.ProposalId)) + i = encodeVarintGovernance(dAtA, i, uint64(m.ProposalId)) + i-- + dAtA[i] = 0x10 } - return n + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *ProposalInfoResponse) Size() (n int) { - if m == nil { - return 0 +func (m *VotingPowerAtProposalStartResponse) 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 *VotingPowerAtProposalStartResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *VotingPowerAtProposalStartResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.StartBlockHeight != 0 { - n += 1 + sovGovernance(uint64(m.StartBlockHeight)) - } - if m.StartPosition != 0 { - n += 1 + sovGovernance(uint64(m.StartPosition)) + if m.VotingPower != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.VotingPower)) + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *ProposalRateDataRequest) Size() (n int) { - if m == nil { - return 0 +func (m *AllTalliedDelegatorVotesForProposalRequest) 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 *AllTalliedDelegatorVotesForProposalRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AllTalliedDelegatorVotesForProposalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ChainId) - if l > 0 { - n += 1 + l + sovGovernance(uint64(l)) - } if m.ProposalId != 0 { - n += 1 + sovGovernance(uint64(m.ProposalId)) + i = encodeVarintGovernance(dAtA, i, uint64(m.ProposalId)) + i-- + dAtA[i] = 0x10 } - return n + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *ProposalRateDataResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RateData != nil { - l = m.RateData.Size() - n += 1 + l + sovGovernance(uint64(l)) +func (m *AllTalliedDelegatorVotesForProposalResponse) 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 n + return dAtA[:n], nil } -func (m *GovernanceParameters) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ProposalVotingBlocks != 0 { - n += 1 + sovGovernance(uint64(m.ProposalVotingBlocks)) +func (m *AllTalliedDelegatorVotesForProposalResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AllTalliedDelegatorVotesForProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.IdentityKey != nil { + { + size, err := m.IdentityKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if m.ProposalDepositAmount != nil { - l = m.ProposalDepositAmount.Size() - n += 1 + l + sovGovernance(uint64(l)) + if m.Tally != nil { + { + size, err := m.Tally.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - l = len(m.ProposalValidQuorum) + return len(dAtA) - i, nil +} + +func (m *NextProposalIdRequest) 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 *NextProposalIdRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NextProposalIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *NextProposalIdResponse) 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 *NextProposalIdResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NextProposalIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.NextProposalId != 0 { + i = encodeVarintGovernance(dAtA, i, uint64(m.NextProposalId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarintGovernance(dAtA []byte, offset int, v uint64) int { + offset -= sovGovernance(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *ZKDelegatorVoteProof) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) if l > 0 { n += 1 + l + sovGovernance(uint64(l)) } - l = len(m.ProposalPassThreshold) - if l > 0 { + return n +} + +func (m *ProposalSubmit) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Proposal != nil { + l = m.Proposal.Size() n += 1 + l + sovGovernance(uint64(l)) } - l = len(m.ProposalSlashThreshold) + if m.DepositAmount != nil { + l = m.DepositAmount.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *ProposalWithdraw) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Proposal != 0 { + n += 1 + sovGovernance(uint64(m.Proposal)) + } + l = len(m.Reason) if l > 0 { n += 1 + l + sovGovernance(uint64(l)) } return n } -func (m *GenesisContent) Size() (n int) { +func (m *ProposalDepositClaim) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.GovernanceParams != nil { - l = m.GovernanceParams.Size() + if m.Proposal != 0 { + n += 1 + sovGovernance(uint64(m.Proposal)) + } + if m.DepositAmount != nil { + l = m.DepositAmount.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.Outcome != nil { + l = m.Outcome.Size() n += 1 + l + sovGovernance(uint64(l)) } return n } -func (m *ChangedAppParameters) Size() (n int) { +func (m *ValidatorVote) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.ChainParams != nil { - l = m.ChainParams.Size() + if m.Body != nil { + l = m.Body.Size() n += 1 + l + sovGovernance(uint64(l)) } - if m.DaoParams != nil { - l = m.DaoParams.Size() + if m.AuthSig != nil { + l = m.AuthSig.Size() n += 1 + l + sovGovernance(uint64(l)) } - if m.GovernanceParams != nil { - l = m.GovernanceParams.Size() + return n +} + +func (m *ValidatorVoteReason) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Reason) + if l > 0 { n += 1 + l + sovGovernance(uint64(l)) } - if m.IbcParams != nil { - l = m.IbcParams.Size() + return n +} + +func (m *ValidatorVoteBody) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Proposal != 0 { + n += 1 + sovGovernance(uint64(m.Proposal)) + } + if m.Vote != nil { + l = m.Vote.Size() n += 1 + l + sovGovernance(uint64(l)) } - if m.StakeParams != nil { - l = m.StakeParams.Size() + if m.IdentityKey != nil { + l = m.IdentityKey.Size() n += 1 + l + sovGovernance(uint64(l)) } - if m.FeeParams != nil { - l = m.FeeParams.Size() + if m.GovernanceKey != nil { + l = m.GovernanceKey.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.Reason != nil { + l = m.Reason.Size() n += 1 + l + sovGovernance(uint64(l)) } return n } -func (m *ChangedAppParametersSet) Size() (n int) { +func (m *DelegatorVote) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Old != nil { - l = m.Old.Size() + if m.Body != nil { + l = m.Body.Size() n += 1 + l + sovGovernance(uint64(l)) } - if m.New != nil { - l = m.New.Size() + if m.AuthSig != nil { + l = m.AuthSig.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.Proof != nil { + l = m.Proof.Size() n += 1 + l + sovGovernance(uint64(l)) } return n } -func sovGovernance(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozGovernance(x uint64) (n int) { - return sovGovernance(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +func (m *DelegatorVoteBody) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Proposal != 0 { + n += 1 + sovGovernance(uint64(m.Proposal)) + } + if m.StartPosition != 0 { + n += 1 + sovGovernance(uint64(m.StartPosition)) + } + if m.Vote != nil { + l = m.Vote.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.Value != nil { + l = m.Value.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.UnbondedAmount != nil { + l = m.UnbondedAmount.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + l = len(m.Nullifier) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + l = len(m.Rk) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + return n } -func (m *ZKDelegatorVoteProof) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 + +func (m *DelegatorVoteView) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DelegatorVote != nil { + n += m.DelegatorVote.Size() + } + return n +} + +func (m *DelegatorVoteView_Visible_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Visible != nil { + l = m.Visible.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} +func (m *DelegatorVoteView_Opaque_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Opaque != nil { + l = m.Opaque.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} +func (m *DelegatorVoteView_Visible) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DelegatorVote != nil { + l = m.DelegatorVote.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.Note != nil { + l = m.Note.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *DelegatorVoteView_Opaque) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DelegatorVote != nil { + l = m.DelegatorVote.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *DelegatorVotePlan) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Proposal != 0 { + n += 1 + sovGovernance(uint64(m.Proposal)) + } + if m.StartPosition != 0 { + n += 1 + sovGovernance(uint64(m.StartPosition)) + } + if m.Vote != nil { + l = m.Vote.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.StakedNote != nil { + l = m.StakedNote.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.StakedNotePosition != 0 { + n += 1 + sovGovernance(uint64(m.StakedNotePosition)) + } + if m.UnbondedAmount != nil { + l = m.UnbondedAmount.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + l = len(m.Randomizer) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + l = len(m.ProofBlindingR) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + l = len(m.ProofBlindingS) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *DaoDeposit) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != nil { + l = m.Value.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *DaoSpend) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != nil { + l = m.Value.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *DaoOutput) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != nil { + l = m.Value.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.Address != nil { + l = m.Address.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *Vote) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Vote != 0 { + n += 1 + sovGovernance(uint64(m.Vote)) + } + return n +} + +func (m *ProposalState) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.State != nil { + n += m.State.Size() + } + return n +} + +func (m *ProposalState_Voting_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Voting != nil { + l = m.Voting.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} +func (m *ProposalState_Withdrawn_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Withdrawn != nil { + l = m.Withdrawn.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} +func (m *ProposalState_Finished_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Finished != nil { + l = m.Finished.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} +func (m *ProposalState_Claimed_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Claimed != nil { + l = m.Claimed.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} +func (m *ProposalState_Voting) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *ProposalState_Withdrawn) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *ProposalState_Finished) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Outcome != nil { + l = m.Outcome.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *ProposalState_Claimed) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Outcome != nil { + l = m.Outcome.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *ProposalOutcome) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Outcome != nil { + n += m.Outcome.Size() + } + return n +} + +func (m *ProposalOutcome_Passed_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Passed != nil { + l = m.Passed.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} +func (m *ProposalOutcome_Failed_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Failed != nil { + l = m.Failed.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} +func (m *ProposalOutcome_Slashed_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Slashed != nil { + l = m.Slashed.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} +func (m *ProposalOutcome_Withdrawn) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *ProposalOutcome_Passed) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *ProposalOutcome_Failed) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Withdrawn != nil { + l = m.Withdrawn.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *ProposalOutcome_Slashed) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Withdrawn != nil { + l = m.Withdrawn.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *Tally) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Yes != 0 { + n += 1 + sovGovernance(uint64(m.Yes)) + } + if m.No != 0 { + n += 1 + sovGovernance(uint64(m.No)) + } + if m.Abstain != 0 { + n += 1 + sovGovernance(uint64(m.Abstain)) + } + return n +} + +func (m *Proposal) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Title) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + if m.Id != 0 { + n += 1 + sovGovernance(uint64(m.Id)) + } + if m.Signaling != nil { + l = m.Signaling.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.Emergency != nil { + l = m.Emergency.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.ParameterChange != nil { + l = m.ParameterChange.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.DaoSpend != nil { + l = m.DaoSpend.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.UpgradePlan != nil { + l = m.UpgradePlan.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *Proposal_Signaling) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Commit) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *Proposal_Emergency) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.HaltChain { + n += 2 + } + return n +} + +func (m *Proposal_ParameterChange) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.OldParameters != nil { + l = m.OldParameters.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.NewParameters != nil { + l = m.NewParameters.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *Proposal_DaoSpend) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TransactionPlan != nil { + l = m.TransactionPlan.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *Proposal_UpgradePlan) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Height != 0 { + n += 1 + sovGovernance(uint64(m.Height)) + } + return n +} + +func (m *ProposalInfoRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + if m.ProposalId != 0 { + n += 1 + sovGovernance(uint64(m.ProposalId)) + } + return n +} + +func (m *ProposalInfoResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StartBlockHeight != 0 { + n += 1 + sovGovernance(uint64(m.StartBlockHeight)) + } + if m.StartPosition != 0 { + n += 1 + sovGovernance(uint64(m.StartPosition)) + } + return n +} + +func (m *ProposalDataRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + if m.ProposalId != 0 { + n += 1 + sovGovernance(uint64(m.ProposalId)) + } + return n +} + +func (m *ProposalDataResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Proposal != nil { + l = m.Proposal.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.StartBlockHeight != 0 { + n += 1 + sovGovernance(uint64(m.StartBlockHeight)) + } + if m.EndBlockHeight != 0 { + n += 1 + sovGovernance(uint64(m.EndBlockHeight)) + } + if m.StartPosition != 0 { + n += 1 + sovGovernance(uint64(m.StartPosition)) + } + if m.State != nil { + l = m.State.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.ProposalDepositAmount != nil { + l = m.ProposalDepositAmount.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *ProposalRateDataRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + if m.ProposalId != 0 { + n += 1 + sovGovernance(uint64(m.ProposalId)) + } + return n +} + +func (m *ProposalRateDataResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RateData != nil { + l = m.RateData.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *ProposalListRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + if m.Inactive { + n += 2 + } + return n +} + +func (m *ProposalListResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Proposal != nil { + l = m.Proposal.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.StartBlockHeight != 0 { + n += 1 + sovGovernance(uint64(m.StartBlockHeight)) + } + if m.EndBlockHeight != 0 { + n += 1 + sovGovernance(uint64(m.EndBlockHeight)) + } + if m.StartPosition != 0 { + n += 1 + sovGovernance(uint64(m.StartPosition)) + } + if m.State != nil { + l = m.State.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *ValidatorVotesRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + if m.ProposalId != 0 { + n += 1 + sovGovernance(uint64(m.ProposalId)) + } + return n +} + +func (m *ValidatorVotesResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Vote != nil { + l = m.Vote.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.IdentityKey != nil { + l = m.IdentityKey.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *GovernanceParameters) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ProposalVotingBlocks != 0 { + n += 1 + sovGovernance(uint64(m.ProposalVotingBlocks)) + } + if m.ProposalDepositAmount != nil { + l = m.ProposalDepositAmount.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + l = len(m.ProposalValidQuorum) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + l = len(m.ProposalPassThreshold) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + l = len(m.ProposalSlashThreshold) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *GenesisContent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GovernanceParams != nil { + l = m.GovernanceParams.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *ChangedAppParameters) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ChainParams != nil { + l = m.ChainParams.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.DaoParams != nil { + l = m.DaoParams.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.GovernanceParams != nil { + l = m.GovernanceParams.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.IbcParams != nil { + l = m.IbcParams.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.StakeParams != nil { + l = m.StakeParams.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.FeeParams != nil { + l = m.FeeParams.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.DistributionsParams != nil { + l = m.DistributionsParams.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *ChangedAppParametersSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Old != nil { + l = m.Old.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.New != nil { + l = m.New.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *VotingPowerAtProposalStartRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + if m.ProposalId != 0 { + n += 1 + sovGovernance(uint64(m.ProposalId)) + } + if m.IdentityKey != nil { + l = m.IdentityKey.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *VotingPowerAtProposalStartResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.VotingPower != 0 { + n += 1 + sovGovernance(uint64(m.VotingPower)) + } + return n +} + +func (m *AllTalliedDelegatorVotesForProposalRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + if m.ProposalId != 0 { + n += 1 + sovGovernance(uint64(m.ProposalId)) + } + return n +} + +func (m *AllTalliedDelegatorVotesForProposalResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Tally != nil { + l = m.Tally.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.IdentityKey != nil { + l = m.IdentityKey.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *NextProposalIdRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *NextProposalIdResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.NextProposalId != 0 { + n += 1 + sovGovernance(uint64(m.NextProposalId)) + } + return n +} + +func sovGovernance(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozGovernance(x uint64) (n int) { + return sovGovernance(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *ZKDelegatorVoteProof) 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 ErrIntOverflowGovernance + } + 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: ZKDelegatorVoteProof: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ZKDelegatorVoteProof: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProposalSubmit) 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 ErrIntOverflowGovernance + } + 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: ProposalSubmit: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProposalSubmit: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Proposal", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Proposal == nil { + m.Proposal = &Proposal{} + } + if err := m.Proposal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DepositAmount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DepositAmount == nil { + m.DepositAmount = &v1alpha1.Amount{} + } + if err := m.DepositAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProposalWithdraw) 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 ErrIntOverflowGovernance + } + 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: ProposalWithdraw: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProposalWithdraw: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Proposal", wireType) + } + m.Proposal = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Proposal |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + 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 ErrInvalidLengthGovernance + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reason = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProposalDepositClaim) 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 ErrIntOverflowGovernance + } + 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: ProposalDepositClaim: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProposalDepositClaim: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Proposal", wireType) + } + m.Proposal = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Proposal |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DepositAmount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DepositAmount == nil { + m.DepositAmount = &v1alpha1.Amount{} + } + if err := m.DepositAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Outcome == nil { + m.Outcome = &ProposalOutcome{} + } + if err := m.Outcome.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidatorVote) 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 ErrIntOverflowGovernance + } + 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: ValidatorVote: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidatorVote: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Body == nil { + m.Body = &ValidatorVoteBody{} + } + if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuthSig", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuthSig == nil { + m.AuthSig = &v1alpha11.SpendAuthSignature{} + } + if err := m.AuthSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidatorVoteReason) 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 ErrIntOverflowGovernance + } + 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: ValidatorVoteReason: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidatorVoteReason: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + 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 ErrInvalidLengthGovernance + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reason = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidatorVoteBody) 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 ErrIntOverflowGovernance + } + 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: ValidatorVoteBody: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidatorVoteBody: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Proposal", wireType) + } + m.Proposal = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Proposal |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Vote == nil { + m.Vote = &Vote{} + } + if err := m.Vote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IdentityKey", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.IdentityKey == nil { + m.IdentityKey = &v1alpha12.IdentityKey{} + } + if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GovernanceKey", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.GovernanceKey == nil { + m.GovernanceKey = &v1alpha12.GovernanceKey{} + } + if err := m.GovernanceKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Reason == nil { + m.Reason = &ValidatorVoteReason{} + } + if err := m.Reason.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DelegatorVote) 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 ErrIntOverflowGovernance @@ -5796,17 +8448,89 @@ func (m *ZKDelegatorVoteProof) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ZKDelegatorVoteProof: wiretype end group for non-group") + return fmt.Errorf("proto: DelegatorVote: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ZKDelegatorVoteProof: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DelegatorVote: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Body == nil { + m.Body = &DelegatorVoteBody{} + } + if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuthSig", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuthSig == nil { + m.AuthSig = &v1alpha11.SpendAuthSignature{} + } + if err := m.AuthSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -5816,24 +8540,26 @@ func (m *ZKDelegatorVoteProof) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} + if m.Proof == nil { + m.Proof = &ZKDelegatorVoteProof{} + } + if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -5857,7 +8583,7 @@ func (m *ZKDelegatorVoteProof) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalSubmit) Unmarshal(dAtA []byte) error { +func (m *DelegatorVoteBody) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5880,16 +8606,54 @@ func (m *ProposalSubmit) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ProposalSubmit: wiretype end group for non-group") + return fmt.Errorf("proto: DelegatorVoteBody: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ProposalSubmit: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DelegatorVoteBody: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { + if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Proposal", wireType) } + m.Proposal = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Proposal |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartPosition", wireType) + } + m.StartPosition = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartPosition |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType) + } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { @@ -5915,16 +8679,16 @@ func (m *ProposalSubmit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Proposal == nil { - m.Proposal = &Proposal{} + if m.Vote == nil { + m.Vote = &Vote{} } - if err := m.Proposal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Vote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DepositAmount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5951,68 +8715,54 @@ func (m *ProposalSubmit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DepositAmount == nil { - m.DepositAmount = &v1alpha1.Amount{} + if m.Value == nil { + m.Value = &v1alpha13.Value{} } - if err := m.DepositAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGovernance(dAtA[iNdEx:]) - if err != nil { - return err + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UnbondedAmount", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGovernance + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + if msglen < 0 { + return ErrInvalidLengthGovernance } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposalWithdraw) 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 ErrIntOverflowGovernance + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.UnbondedAmount == nil { + m.UnbondedAmount = &v1alpha1.Amount{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposalWithdraw: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposalWithdraw: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Proposal", wireType) + if err := m.UnbondedAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.Proposal = 0 + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Nullifier", wireType) + } + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -6022,16 +8772,31 @@ func (m *ProposalWithdraw) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Proposal |= uint64(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 2: + if byteLen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Nullifier = append(m.Nullifier[:0], dAtA[iNdEx:postIndex]...) + if m.Nullifier == nil { + m.Nullifier = []byte{} + } + iNdEx = postIndex + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Rk", wireType) } - var stringLen uint64 + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -6041,23 +8806,25 @@ func (m *ProposalWithdraw) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if byteLen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.Reason = string(dAtA[iNdEx:postIndex]) + m.Rk = append(m.Rk[:0], dAtA[iNdEx:postIndex]...) + if m.Rk == nil { + m.Rk = []byte{} + } iNdEx = postIndex default: iNdEx = preIndex @@ -6080,7 +8847,7 @@ func (m *ProposalWithdraw) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalDepositClaim) Unmarshal(dAtA []byte) error { +func (m *DelegatorVoteView) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6103,34 +8870,15 @@ func (m *ProposalDepositClaim) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ProposalDepositClaim: wiretype end group for non-group") + return fmt.Errorf("proto: DelegatorVoteView: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ProposalDepositClaim: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DelegatorVoteView: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Proposal", wireType) - } - m.Proposal = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Proposal |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DepositAmount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Visible", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6157,16 +8905,15 @@ func (m *ProposalDepositClaim) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DepositAmount == nil { - m.DepositAmount = &v1alpha1.Amount{} - } - if err := m.DepositAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &DelegatorVoteView_Visible{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.DelegatorVote = &DelegatorVoteView_Visible_{v} iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Opaque", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6193,12 +8940,11 @@ func (m *ProposalDepositClaim) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Outcome == nil { - m.Outcome = &ProposalOutcome{} - } - if err := m.Outcome.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &DelegatorVoteView_Opaque{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.DelegatorVote = &DelegatorVoteView_Opaque_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -6221,7 +8967,7 @@ func (m *ProposalDepositClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *ValidatorVote) Unmarshal(dAtA []byte) error { +func (m *DelegatorVoteView_Visible) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6244,15 +8990,15 @@ func (m *ValidatorVote) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidatorVote: wiretype end group for non-group") + return fmt.Errorf("proto: Visible: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorVote: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Visible: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DelegatorVote", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6279,16 +9025,16 @@ func (m *ValidatorVote) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Body == nil { - m.Body = &ValidatorVoteBody{} + if m.DelegatorVote == nil { + m.DelegatorVote = &DelegatorVote{} } - if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.DelegatorVote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuthSig", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Note", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6315,10 +9061,10 @@ func (m *ValidatorVote) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AuthSig == nil { - m.AuthSig = &v1alpha11.SpendAuthSignature{} + if m.Note == nil { + m.Note = &v1alpha14.NoteView{} } - if err := m.AuthSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Note.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -6343,7 +9089,7 @@ func (m *ValidatorVote) Unmarshal(dAtA []byte) error { } return nil } -func (m *ValidatorVoteReason) Unmarshal(dAtA []byte) error { +func (m *DelegatorVoteView_Opaque) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6366,17 +9112,17 @@ func (m *ValidatorVoteReason) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidatorVoteReason: wiretype end group for non-group") + return fmt.Errorf("proto: Opaque: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorVoteReason: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Opaque: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DelegatorVote", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -6386,23 +9132,27 @@ func (m *ValidatorVoteReason) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.Reason = string(dAtA[iNdEx:postIndex]) + if m.DelegatorVote == nil { + m.DelegatorVote = &DelegatorVote{} + } + if err := m.DelegatorVote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -6425,7 +9175,7 @@ func (m *ValidatorVoteReason) Unmarshal(dAtA []byte) error { } return nil } -func (m *ValidatorVoteBody) Unmarshal(dAtA []byte) error { +func (m *DelegatorVotePlan) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6448,10 +9198,10 @@ func (m *ValidatorVoteBody) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidatorVoteBody: wiretype end group for non-group") + return fmt.Errorf("proto: DelegatorVotePlan: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorVoteBody: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DelegatorVotePlan: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -6474,6 +9224,25 @@ func (m *ValidatorVoteBody) Unmarshal(dAtA []byte) error { } } case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartPosition", wireType) + } + m.StartPosition = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartPosition |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType) } @@ -6509,9 +9278,9 @@ func (m *ValidatorVoteBody) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 3: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdentityKey", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StakedNote", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6538,16 +9307,35 @@ func (m *ValidatorVoteBody) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.IdentityKey == nil { - m.IdentityKey = &v1alpha12.IdentityKey{} + if m.StakedNote == nil { + m.StakedNote = &v1alpha14.Note{} } - if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.StakedNote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StakedNotePosition", wireType) + } + m.StakedNotePosition = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StakedNotePosition |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GovernanceKey", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field UnbondedAmount", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6574,18 +9362,18 @@ func (m *ValidatorVoteBody) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.GovernanceKey == nil { - m.GovernanceKey = &v1alpha12.GovernanceKey{} + if m.UnbondedAmount == nil { + m.UnbondedAmount = &v1alpha1.Amount{} } - if err := m.GovernanceKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.UnbondedAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 5: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Randomizer", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -6595,26 +9383,92 @@ func (m *ValidatorVoteBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reason == nil { - m.Reason = &ValidatorVoteReason{} + m.Randomizer = append(m.Randomizer[:0], dAtA[iNdEx:postIndex]...) + if m.Randomizer == nil { + m.Randomizer = []byte{} } - if err := m.Reason.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingR", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProofBlindingR = append(m.ProofBlindingR[:0], dAtA[iNdEx:postIndex]...) + if m.ProofBlindingR == nil { + m.ProofBlindingR = []byte{} + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingS", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProofBlindingS = append(m.ProofBlindingS[:0], dAtA[iNdEx:postIndex]...) + if m.ProofBlindingS == nil { + m.ProofBlindingS = []byte{} } iNdEx = postIndex default: @@ -6638,7 +9492,7 @@ func (m *ValidatorVoteBody) Unmarshal(dAtA []byte) error { } return nil } -func (m *DelegatorVote) Unmarshal(dAtA []byte) error { +func (m *DaoDeposit) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6661,15 +9515,15 @@ func (m *DelegatorVote) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DelegatorVote: wiretype end group for non-group") + return fmt.Errorf("proto: DaoDeposit: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DelegatorVote: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DaoDeposit: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6696,52 +9550,66 @@ func (m *DelegatorVote) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Body == nil { - m.Body = &DelegatorVoteBody{} + if m.Value == nil { + m.Value = &v1alpha13.Value{} } - if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuthSig", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err } - if msglen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGovernance + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - if postIndex > l { + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DaoSpend) 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 ErrIntOverflowGovernance + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - if m.AuthSig == nil { - m.AuthSig = &v1alpha11.SpendAuthSignature{} - } - if err := m.AuthSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - iNdEx = postIndex - case 3: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DaoSpend: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DaoSpend: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6768,10 +9636,10 @@ func (m *DelegatorVote) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Proof == nil { - m.Proof = &ZKDelegatorVoteProof{} + if m.Value == nil { + m.Value = &v1alpha13.Value{} } - if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -6796,7 +9664,7 @@ func (m *DelegatorVote) Unmarshal(dAtA []byte) error { } return nil } -func (m *DelegatorVoteBody) Unmarshal(dAtA []byte) error { +func (m *DaoOutput) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6819,53 +9687,15 @@ func (m *DelegatorVoteBody) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DelegatorVoteBody: wiretype end group for non-group") + return fmt.Errorf("proto: DaoOutput: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DelegatorVoteBody: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DaoOutput: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Proposal", wireType) - } - m.Proposal = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Proposal |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartPosition", wireType) - } - m.StartPosition = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StartPosition |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6892,16 +9722,16 @@ func (m *DelegatorVoteBody) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Vote == nil { - m.Vote = &Vote{} + if m.Value == nil { + m.Value = &v1alpha13.Value{} } - if err := m.Vote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6928,18 +9758,68 @@ func (m *DelegatorVoteBody) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Value == nil { - m.Value = &v1alpha13.Value{} + if m.Address == nil { + m.Address = &v1alpha12.Address{} } - if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UnbondedAmount", wireType) + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err } - var msglen int + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Vote) 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 ErrIntOverflowGovernance + } + 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: Vote: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Vote: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType) + } + m.Vote = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -6949,33 +9829,66 @@ func (m *DelegatorVoteBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Vote |= Vote_Vote(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthGovernance + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthGovernance } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.UnbondedAmount == nil { - m.UnbondedAmount = &v1alpha1.Amount{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProposalState) 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 ErrIntOverflowGovernance } - if err := m.UnbondedAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 6: + 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: ProposalState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProposalState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Nullifier", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Voting", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -6985,31 +9898,32 @@ func (m *DelegatorVoteBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.Nullifier = append(m.Nullifier[:0], dAtA[iNdEx:postIndex]...) - if m.Nullifier == nil { - m.Nullifier = []byte{} + v := &ProposalState_Voting{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + m.State = &ProposalState_Voting_{v} iNdEx = postIndex - case 7: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Rk", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Withdrawn", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -7019,79 +9933,30 @@ func (m *DelegatorVoteBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthGovernance - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Rk = append(m.Rk[:0], dAtA[iNdEx:postIndex]...) - if m.Rk == nil { - m.Rk = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGovernance(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + if msglen < 0 { return ErrInvalidLengthGovernance } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DelegatorVoteView) 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 ErrIntOverflowGovernance + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + v := &ProposalState_Withdrawn{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DelegatorVoteView: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DelegatorVoteView: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.State = &ProposalState_Withdrawn_{v} + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Visible", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Finished", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7118,15 +9983,15 @@ func (m *DelegatorVoteView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &DelegatorVoteView_Visible{} + v := &ProposalState_Finished{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.DelegatorVote = &DelegatorVoteView_Visible_{v} + m.State = &ProposalState_Finished_{v} iNdEx = postIndex - case 2: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Opaque", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Claimed", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7153,11 +10018,11 @@ func (m *DelegatorVoteView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &DelegatorVoteView_Opaque{} + v := &ProposalState_Claimed{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.DelegatorVote = &DelegatorVoteView_Opaque_{v} + m.State = &ProposalState_Claimed_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -7180,7 +10045,7 @@ func (m *DelegatorVoteView) Unmarshal(dAtA []byte) error { } return nil } -func (m *DelegatorVoteView_Visible) Unmarshal(dAtA []byte) error { +func (m *ProposalState_Voting) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7203,53 +10068,67 @@ func (m *DelegatorVoteView_Visible) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Visible: wiretype end group for non-group") + return fmt.Errorf("proto: Voting: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Visible: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Voting: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DelegatorVote", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGovernance + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthGovernance } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.DelegatorVote == nil { - m.DelegatorVote = &DelegatorVote{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProposalState_Withdrawn) 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 ErrIntOverflowGovernance } - if err := m.DelegatorVote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 2: + 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: Withdrawn: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Withdrawn: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Note", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -7259,27 +10138,23 @@ func (m *DelegatorVoteView_Visible) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Note == nil { - m.Note = &v1alpha14.NoteView{} - } - if err := m.Note.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Reason = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -7302,7 +10177,7 @@ func (m *DelegatorVoteView_Visible) Unmarshal(dAtA []byte) error { } return nil } -func (m *DelegatorVoteView_Opaque) Unmarshal(dAtA []byte) error { +func (m *ProposalState_Finished) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7325,15 +10200,15 @@ func (m *DelegatorVoteView_Opaque) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Opaque: wiretype end group for non-group") + return fmt.Errorf("proto: Finished: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Opaque: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Finished: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DelegatorVote", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7360,10 +10235,10 @@ func (m *DelegatorVoteView_Opaque) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DelegatorVote == nil { - m.DelegatorVote = &DelegatorVote{} + if m.Outcome == nil { + m.Outcome = &ProposalOutcome{} } - if err := m.DelegatorVote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Outcome.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -7388,7 +10263,7 @@ func (m *DelegatorVoteView_Opaque) Unmarshal(dAtA []byte) error { } return nil } -func (m *DelegatorVotePlan) Unmarshal(dAtA []byte) error { +func (m *ProposalState_Claimed) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7411,89 +10286,15 @@ func (m *DelegatorVotePlan) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DelegatorVotePlan: wiretype end group for non-group") + return fmt.Errorf("proto: Claimed: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DelegatorVotePlan: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Proposal", wireType) - } - m.Proposal = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Proposal |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartPosition", wireType) - } - m.StartPosition = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StartPosition |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGovernance - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Vote == nil { - m.Vote = &Vote{} - } - if err := m.Vote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: + return fmt.Errorf("proto: Claimed: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StakedNote", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7520,35 +10321,66 @@ func (m *DelegatorVotePlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.StakedNote == nil { - m.StakedNote = &v1alpha14.Note{} + if m.Outcome == nil { + m.Outcome = &ProposalOutcome{} } - if err := m.StakedNote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Outcome.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StakedNotePosition", wireType) + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err } - m.StakedNotePosition = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StakedNotePosition |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance } - case 6: + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProposalOutcome) 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 ErrIntOverflowGovernance + } + 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: ProposalOutcome: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProposalOutcome: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UnbondedAmount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Passed", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7575,18 +10407,17 @@ func (m *DelegatorVotePlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.UnbondedAmount == nil { - m.UnbondedAmount = &v1alpha1.Amount{} - } - if err := m.UnbondedAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &ProposalOutcome_Passed{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.Outcome = &ProposalOutcome_Passed_{v} iNdEx = postIndex - case 7: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Randomizer", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Failed", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -7596,31 +10427,32 @@ func (m *DelegatorVotePlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.Randomizer = append(m.Randomizer[:0], dAtA[iNdEx:postIndex]...) - if m.Randomizer == nil { - m.Randomizer = []byte{} + v := &ProposalOutcome_Failed{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + m.Outcome = &ProposalOutcome_Failed_{v} iNdEx = postIndex - case 8: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingR", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Slashed", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -7630,31 +10462,82 @@ func (m *DelegatorVotePlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.ProofBlindingR = append(m.ProofBlindingR[:0], dAtA[iNdEx:postIndex]...) - if m.ProofBlindingR == nil { - m.ProofBlindingR = []byte{} + v := &ProposalOutcome_Slashed{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + m.Outcome = &ProposalOutcome_Slashed_{v} iNdEx = postIndex - case 9: + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProposalOutcome_Withdrawn) 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 ErrIntOverflowGovernance + } + 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: Withdrawn: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Withdrawn: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingS", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -7664,25 +10547,23 @@ func (m *DelegatorVotePlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.ProofBlindingS = append(m.ProofBlindingS[:0], dAtA[iNdEx:postIndex]...) - if m.ProofBlindingS == nil { - m.ProofBlindingS = []byte{} - } + m.Reason = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -7705,7 +10586,7 @@ func (m *DelegatorVotePlan) Unmarshal(dAtA []byte) error { } return nil } -func (m *DaoDeposit) Unmarshal(dAtA []byte) error { +func (m *ProposalOutcome_Passed) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7728,15 +10609,65 @@ func (m *DaoDeposit) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DaoDeposit: wiretype end group for non-group") + return fmt.Errorf("proto: Passed: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DaoDeposit: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Passed: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProposalOutcome_Failed) 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 ErrIntOverflowGovernance + } + 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: Failed: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Failed: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Withdrawn", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7763,10 +10694,10 @@ func (m *DaoDeposit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Value == nil { - m.Value = &v1alpha13.Value{} + if m.Withdrawn == nil { + m.Withdrawn = &ProposalOutcome_Withdrawn{} } - if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Withdrawn.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -7791,7 +10722,7 @@ func (m *DaoDeposit) Unmarshal(dAtA []byte) error { } return nil } -func (m *DaoSpend) Unmarshal(dAtA []byte) error { +func (m *ProposalOutcome_Slashed) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7814,15 +10745,15 @@ func (m *DaoSpend) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DaoSpend: wiretype end group for non-group") + return fmt.Errorf("proto: Slashed: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DaoSpend: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Slashed: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Withdrawn", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7849,10 +10780,10 @@ func (m *DaoSpend) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Value == nil { - m.Value = &v1alpha13.Value{} + if m.Withdrawn == nil { + m.Withdrawn = &ProposalOutcome_Withdrawn{} } - if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Withdrawn.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -7877,7 +10808,7 @@ func (m *DaoSpend) Unmarshal(dAtA []byte) error { } return nil } -func (m *DaoOutput) Unmarshal(dAtA []byte) error { +func (m *Tally) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7900,17 +10831,17 @@ func (m *DaoOutput) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DaoOutput: wiretype end group for non-group") + return fmt.Errorf("proto: Tally: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DaoOutput: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Tally: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Yes", wireType) } - var msglen int + m.Yes = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -7920,33 +10851,16 @@ func (m *DaoOutput) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Yes |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGovernance - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Value == nil { - m.Value = &v1alpha13.Value{} - } - if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field No", wireType) } - var msglen int + m.No = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -7956,28 +10870,30 @@ func (m *DaoOutput) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.No |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGovernance - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Address == nil { - m.Address = &v1alpha12.Address{} + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Abstain", wireType) } - if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.Abstain = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Abstain |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -7999,7 +10915,7 @@ func (m *DaoOutput) Unmarshal(dAtA []byte) error { } return nil } -func (m *Vote) Unmarshal(dAtA []byte) error { +func (m *Proposal) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8022,17 +10938,17 @@ func (m *Vote) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Vote: wiretype end group for non-group") + return fmt.Errorf("proto: Proposal: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Vote: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Proposal: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType) } - m.Vote = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -8042,64 +10958,78 @@ func (m *Vote) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Vote |= Vote_Vote(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipGovernance(dAtA[iNdEx:]) - if err != nil { - return err + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGovernance } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthGovernance } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposalState) 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 ErrIntOverflowGovernance + m.Title = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) } - if iNdEx >= l { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + 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 ErrInvalidLengthGovernance + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposalState: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposalState: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Voting", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Signaling", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8126,15 +11056,16 @@ func (m *ProposalState) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &ProposalState_Voting{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Signaling == nil { + m.Signaling = &Proposal_Signaling{} + } + if err := m.Signaling.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.State = &ProposalState_Voting_{v} iNdEx = postIndex - case 3: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Withdrawn", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Emergency", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8161,15 +11092,52 @@ func (m *ProposalState) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &ProposalState_Withdrawn{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Emergency == nil { + m.Emergency = &Proposal_Emergency{} + } + if err := m.Emergency.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.State = &ProposalState_Withdrawn_{v} iNdEx = postIndex - case 4: + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ParameterChange", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ParameterChange == nil { + m.ParameterChange = &Proposal_ParameterChange{} + } + if err := m.ParameterChange.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Finished", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DaoSpend", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8196,15 +11164,16 @@ func (m *ProposalState) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &ProposalState_Finished{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.DaoSpend == nil { + m.DaoSpend = &Proposal_DaoSpend{} + } + if err := m.DaoSpend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.State = &ProposalState_Finished_{v} iNdEx = postIndex - case 5: + case 9: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Claimed", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field UpgradePlan", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8231,11 +11200,12 @@ func (m *ProposalState) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &ProposalState_Claimed{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.UpgradePlan == nil { + m.UpgradePlan = &Proposal_UpgradePlan{} + } + if err := m.UpgradePlan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.State = &ProposalState_Claimed_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -8258,7 +11228,7 @@ func (m *ProposalState) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalState_Voting) Unmarshal(dAtA []byte) error { +func (m *Proposal_Signaling) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8281,12 +11251,44 @@ func (m *ProposalState_Voting) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Voting: wiretype end group for non-group") + return fmt.Errorf("proto: Signaling: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Voting: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Signaling: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + 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 ErrInvalidLengthGovernance + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Commit = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -8308,7 +11310,7 @@ func (m *ProposalState_Voting) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalState_Withdrawn) Unmarshal(dAtA []byte) error { +func (m *Proposal_Emergency) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8331,17 +11333,17 @@ func (m *ProposalState_Withdrawn) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Withdrawn: wiretype end group for non-group") + return fmt.Errorf("proto: Emergency: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Withdrawn: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Emergency: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HaltChain", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -8351,24 +11353,12 @@ func (m *ProposalState_Withdrawn) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGovernance - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + m.HaltChain = bool(v != 0) default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -8390,7 +11380,7 @@ func (m *ProposalState_Withdrawn) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalState_Finished) Unmarshal(dAtA []byte) error { +func (m *Proposal_ParameterChange) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8413,15 +11403,15 @@ func (m *ProposalState_Finished) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Finished: wiretype end group for non-group") + return fmt.Errorf("proto: ParameterChange: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Finished: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ParameterChange: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OldParameters", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8448,10 +11438,46 @@ func (m *ProposalState_Finished) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Outcome == nil { - m.Outcome = &ProposalOutcome{} + if m.OldParameters == nil { + m.OldParameters = &ChangedAppParameters{} } - if err := m.Outcome.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.OldParameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewParameters", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.NewParameters == nil { + m.NewParameters = &ChangedAppParameters{} + } + if err := m.NewParameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -8476,7 +11502,7 @@ func (m *ProposalState_Finished) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalState_Claimed) Unmarshal(dAtA []byte) error { +func (m *Proposal_DaoSpend) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8499,15 +11525,15 @@ func (m *ProposalState_Claimed) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Claimed: wiretype end group for non-group") + return fmt.Errorf("proto: DaoSpend: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Claimed: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DaoSpend: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TransactionPlan", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8534,10 +11560,10 @@ func (m *ProposalState_Claimed) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Outcome == nil { - m.Outcome = &ProposalOutcome{} + if m.TransactionPlan == nil { + m.TransactionPlan = &types.Any{} } - if err := m.Outcome.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TransactionPlan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -8562,7 +11588,7 @@ func (m *ProposalState_Claimed) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalOutcome) Unmarshal(dAtA []byte) error { +func (m *Proposal_UpgradePlan) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8585,17 +11611,17 @@ func (m *ProposalOutcome) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ProposalOutcome: wiretype end group for non-group") + return fmt.Errorf("proto: UpgradePlan: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ProposalOutcome: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpgradePlan: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Passed", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) } - var msglen int + m.Height = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -8605,67 +11631,66 @@ func (m *ProposalOutcome) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Height |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthGovernance + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthGovernance } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - v := &ProposalOutcome_Passed{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Outcome = &ProposalOutcome_Passed_{v} - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Failed", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGovernance + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProposalInfoRequest) 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 ErrIntOverflowGovernance } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - v := &ProposalOutcome_Failed{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - m.Outcome = &ProposalOutcome_Failed_{v} - iNdEx = postIndex - case 3: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ProposalInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProposalInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Slashed", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -8675,27 +11700,43 @@ func (m *ProposalOutcome) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - v := &ProposalOutcome_Slashed{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Outcome = &ProposalOutcome_Slashed_{v} + m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProposalId", wireType) + } + m.ProposalId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ProposalId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -8717,7 +11758,7 @@ func (m *ProposalOutcome) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalOutcome_Withdrawn) Unmarshal(dAtA []byte) error { +func (m *ProposalInfoResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8740,17 +11781,17 @@ func (m *ProposalOutcome_Withdrawn) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Withdrawn: wiretype end group for non-group") + return fmt.Errorf("proto: ProposalInfoResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Withdrawn: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ProposalInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartBlockHeight", wireType) } - var stringLen uint64 + m.StartBlockHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -8760,24 +11801,30 @@ func (m *ProposalOutcome_Withdrawn) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.StartBlockHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGovernance + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartPosition", wireType) } - if postIndex > l { - return io.ErrUnexpectedEOF + m.StartPosition = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartPosition |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -8799,7 +11846,7 @@ func (m *ProposalOutcome_Withdrawn) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalOutcome_Passed) Unmarshal(dAtA []byte) error { +func (m *ProposalDataRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8822,12 +11869,63 @@ func (m *ProposalOutcome_Passed) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Passed: wiretype end group for non-group") + return fmt.Errorf("proto: ProposalDataRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Passed: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ProposalDataRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + 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 ErrInvalidLengthGovernance + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProposalId", wireType) + } + m.ProposalId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ProposalId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -8849,7 +11947,7 @@ func (m *ProposalOutcome_Passed) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalOutcome_Failed) Unmarshal(dAtA []byte) error { +func (m *ProposalDataResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8872,15 +11970,15 @@ func (m *ProposalOutcome_Failed) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Failed: wiretype end group for non-group") + return fmt.Errorf("proto: ProposalDataResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Failed: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ProposalDataResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Withdrawn", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Proposal", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8907,10 +12005,139 @@ func (m *ProposalOutcome_Failed) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Withdrawn == nil { - m.Withdrawn = &ProposalOutcome_Withdrawn{} + if m.Proposal == nil { + m.Proposal = &Proposal{} + } + if err := m.Proposal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartBlockHeight", wireType) + } + m.StartBlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartBlockHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EndBlockHeight", wireType) + } + m.EndBlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EndBlockHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartPosition", wireType) + } + m.StartPosition = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartPosition |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.State == nil { + m.State = &ProposalState{} + } + if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProposalDepositAmount", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF } - if err := m.Withdrawn.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.ProposalDepositAmount == nil { + m.ProposalDepositAmount = &v1alpha1.Amount{} + } + if err := m.ProposalDepositAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -8935,7 +12162,7 @@ func (m *ProposalOutcome_Failed) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalOutcome_Slashed) Unmarshal(dAtA []byte) error { +func (m *ProposalRateDataRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8958,17 +12185,17 @@ func (m *ProposalOutcome_Slashed) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Slashed: wiretype end group for non-group") + return fmt.Errorf("proto: ProposalRateDataRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Slashed: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ProposalRateDataRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Withdrawn", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -8978,28 +12205,43 @@ func (m *ProposalOutcome_Slashed) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Withdrawn == nil { - m.Withdrawn = &ProposalOutcome_Withdrawn{} + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProposalId", wireType) } - if err := m.Withdrawn.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.ProposalId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ProposalId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -9021,7 +12263,7 @@ func (m *ProposalOutcome_Slashed) Unmarshal(dAtA []byte) error { } return nil } -func (m *Tally) Unmarshal(dAtA []byte) error { +func (m *ProposalRateDataResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9044,17 +12286,17 @@ func (m *Tally) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Tally: wiretype end group for non-group") + return fmt.Errorf("proto: ProposalRateDataResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Tally: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ProposalRateDataResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Yes", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RateData", wireType) } - m.Yes = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -9064,49 +12306,28 @@ func (m *Tally) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Yes |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field No", wireType) + if msglen < 0 { + return ErrInvalidLengthGovernance } - m.No = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.No |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Abstain", wireType) + if postIndex > l { + return io.ErrUnexpectedEOF } - m.Abstain = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Abstain |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if m.RateData == nil { + m.RateData = &v1alpha15.RateData{} + } + if err := m.RateData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -9128,7 +12349,7 @@ func (m *Tally) Unmarshal(dAtA []byte) error { } return nil } -func (m *Proposal) Unmarshal(dAtA []byte) error { +func (m *ProposalListRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9151,15 +12372,15 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Proposal: wiretype end group for non-group") + return fmt.Errorf("proto: ProposalListRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Proposal: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ProposalListRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9187,64 +12408,13 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Title = string(dAtA[iNdEx:postIndex]) + m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - 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 ErrInvalidLengthGovernance - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGovernance - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Description = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - m.Id = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Id |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signaling", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Inactive", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -9254,67 +12424,65 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthGovernance + m.Inactive = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthGovernance } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.Signaling == nil { - m.Signaling = &Proposal_Signaling{} - } - if err := m.Signaling.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Emergency", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGovernance + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ProposalListResponse) 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 ErrIntOverflowGovernance } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - if m.Emergency == nil { - m.Emergency = &Proposal_Emergency{} - } - if err := m.Emergency.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - iNdEx = postIndex - case 7: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ProposalListResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ProposalListResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ParameterChange", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Proposal", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9341,18 +12509,18 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ParameterChange == nil { - m.ParameterChange = &Proposal_ParameterChange{} + if m.Proposal == nil { + m.Proposal = &Proposal{} } - if err := m.ParameterChange.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Proposal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoSpend", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartBlockHeight", wireType) } - var msglen int + m.StartBlockHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -9362,31 +12530,52 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.StartBlockHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGovernance + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EndBlockHeight", wireType) } - if postIndex > l { - return io.ErrUnexpectedEOF + m.EndBlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EndBlockHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if m.DaoSpend == nil { - m.DaoSpend = &Proposal_DaoSpend{} + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartPosition", wireType) } - if err := m.DaoSpend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.StartPosition = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartPosition |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex - case 9: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UpgradePlan", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9413,10 +12602,10 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.UpgradePlan == nil { - m.UpgradePlan = &Proposal_UpgradePlan{} + if m.State == nil { + m.State = &ProposalState{} } - if err := m.UpgradePlan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -9441,7 +12630,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { } return nil } -func (m *Proposal_Signaling) Unmarshal(dAtA []byte) error { +func (m *ValidatorVotesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9464,15 +12653,15 @@ func (m *Proposal_Signaling) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Signaling: wiretype end group for non-group") + return fmt.Errorf("proto: ValidatorVotesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Signaling: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidatorVotesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9500,8 +12689,27 @@ func (m *Proposal_Signaling) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Commit = string(dAtA[iNdEx:postIndex]) + m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProposalId", wireType) + } + m.ProposalId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ProposalId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -9523,7 +12731,7 @@ func (m *Proposal_Signaling) Unmarshal(dAtA []byte) error { } return nil } -func (m *Proposal_Emergency) Unmarshal(dAtA []byte) error { +func (m *ValidatorVotesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9546,17 +12754,17 @@ func (m *Proposal_Emergency) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Emergency: wiretype end group for non-group") + return fmt.Errorf("proto: ValidatorVotesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Emergency: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ValidatorVotesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HaltChain", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vote", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -9566,12 +12774,64 @@ func (m *Proposal_Emergency) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.HaltChain = bool(v != 0) + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Vote == nil { + m.Vote = &Vote{} + } + if err := m.Vote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IdentityKey", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.IdentityKey == nil { + m.IdentityKey = &v1alpha12.IdentityKey{} + } + if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -9593,7 +12853,7 @@ func (m *Proposal_Emergency) Unmarshal(dAtA []byte) error { } return nil } -func (m *Proposal_ParameterChange) Unmarshal(dAtA []byte) error { +func (m *GovernanceParameters) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9616,15 +12876,34 @@ func (m *Proposal_ParameterChange) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ParameterChange: wiretype end group for non-group") + return fmt.Errorf("proto: GovernanceParameters: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ParameterChange: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GovernanceParameters: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProposalVotingBlocks", wireType) + } + m.ProposalVotingBlocks = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ProposalVotingBlocks |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OldParameters", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProposalDepositAmount", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9651,18 +12930,18 @@ func (m *Proposal_ParameterChange) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.OldParameters == nil { - m.OldParameters = &ChangedAppParameters{} + if m.ProposalDepositAmount == nil { + m.ProposalDepositAmount = &v1alpha1.Amount{} } - if err := m.OldParameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ProposalDepositAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewParameters", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProposalValidQuorum", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -9672,83 +12951,61 @@ func (m *Proposal_ParameterChange) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - if m.NewParameters == nil { - m.NewParameters = &ChangedAppParameters{} - } - if err := m.NewParameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ProposalValidQuorum = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGovernance(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGovernance - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProposalPassThreshold", wireType) } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Proposal_DaoSpend) 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 ErrIntOverflowGovernance + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { - return io.ErrUnexpectedEOF + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGovernance } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGovernance } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DaoSpend: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DaoSpend: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProposalPassThreshold = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TransactionPlan", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProposalSlashThreshold", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -9758,27 +13015,23 @@ func (m *Proposal_DaoSpend) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - if m.TransactionPlan == nil { - m.TransactionPlan = &types.Any{} - } - if err := m.TransactionPlan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ProposalSlashThreshold = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9801,7 +13054,7 @@ func (m *Proposal_DaoSpend) Unmarshal(dAtA []byte) error { } return nil } -func (m *Proposal_UpgradePlan) Unmarshal(dAtA []byte) error { +func (m *GenesisContent) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9824,17 +13077,17 @@ func (m *Proposal_UpgradePlan) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpgradePlan: wiretype end group for non-group") + return fmt.Errorf("proto: GenesisContent: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpgradePlan: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GenesisContent: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GovernanceParams", wireType) } - m.Height = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -9844,11 +13097,28 @@ func (m *Proposal_UpgradePlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Height |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.GovernanceParams == nil { + m.GovernanceParams = &GovernanceParameters{} + } + if err := m.GovernanceParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -9870,7 +13140,7 @@ func (m *Proposal_UpgradePlan) Unmarshal(dAtA []byte) error { } return nil } -func (m *ProposalInfoRequest) Unmarshal(dAtA []byte) error { +func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9893,17 +13163,17 @@ func (m *ProposalInfoRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ProposalInfoRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ChangedAppParameters: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ProposalInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ChangedAppParameters: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainParams", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -9913,29 +13183,33 @@ func (m *ProposalInfoRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.ChainId = string(dAtA[iNdEx:postIndex]) + if m.ChainParams == nil { + m.ChainParams = &v1alpha16.ChainParameters{} + } + if err := m.ChainParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposalId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DaoParams", wireType) } - m.ProposalId = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -9945,66 +13219,33 @@ func (m *ProposalInfoRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ProposalId |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipGovernance(dAtA[iNdEx:]) - if err != nil { - return err + if msglen < 0 { + return ErrInvalidLengthGovernance } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLengthGovernance } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposalInfoResponse) 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 ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if m.DaoParams == nil { + m.DaoParams = &v1alpha17.DaoParameters{} } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if err := m.DaoParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposalInfoResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposalInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartBlockHeight", wireType) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GovernanceParams", wireType) } - m.StartBlockHeight = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -10014,16 +13255,33 @@ func (m *ProposalInfoResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.StartBlockHeight |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartPosition", wireType) + if msglen < 0 { + return ErrInvalidLengthGovernance } - m.StartPosition = 0 + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.GovernanceParams == nil { + m.GovernanceParams = &GovernanceParameters{} + } + if err := m.GovernanceParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IbcParams", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -10033,66 +13291,33 @@ func (m *ProposalInfoResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.StartPosition |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipGovernance(dAtA[iNdEx:]) - if err != nil { - return err + if msglen < 0 { + return ErrInvalidLengthGovernance } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLengthGovernance } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposalRateDataRequest) 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 ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if m.IbcParams == nil { + m.IbcParams = &v1alpha18.IbcParameters{} } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if err := m.IbcParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposalRateDataRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposalRateDataRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StakeParams", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -10102,29 +13327,33 @@ func (m *ProposalRateDataRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.ChainId = string(dAtA[iNdEx:postIndex]) + if m.StakeParams == nil { + m.StakeParams = &v1alpha15.StakeParameters{} + } + if err := m.StakeParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposalId", wireType) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeeParams", wireType) } - m.ProposalId = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -10134,64 +13363,31 @@ func (m *ProposalRateDataRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ProposalId |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipGovernance(dAtA[iNdEx:]) - if err != nil { - return err + if msglen < 0 { + return ErrInvalidLengthGovernance } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLengthGovernance } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposalRateDataResponse) 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 ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if m.FeeParams == nil { + m.FeeParams = &v1alpha19.FeeParameters{} } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if err := m.FeeParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposalRateDataResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposalRateDataResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RateData", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DistributionsParams", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10218,10 +13414,10 @@ func (m *ProposalRateDataResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RateData == nil { - m.RateData = &v1alpha15.RateData{} + if m.DistributionsParams == nil { + m.DistributionsParams = &v1alpha110.DistributionsParameters{} } - if err := m.RateData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.DistributionsParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10246,7 +13442,7 @@ func (m *ProposalRateDataResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GovernanceParameters) Unmarshal(dAtA []byte) error { +func (m *ChangedAppParametersSet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10269,17 +13465,17 @@ func (m *GovernanceParameters) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GovernanceParameters: wiretype end group for non-group") + return fmt.Errorf("proto: ChangedAppParametersSet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GovernanceParameters: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ChangedAppParametersSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposalVotingBlocks", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Old", wireType) } - m.ProposalVotingBlocks = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -10289,14 +13485,31 @@ func (m *GovernanceParameters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ProposalVotingBlocks |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Old == nil { + m.Old = &ChangedAppParameters{} + } + if err := m.Old.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposalDepositAmount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field New", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10323,16 +13536,66 @@ func (m *GovernanceParameters) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ProposalDepositAmount == nil { - m.ProposalDepositAmount = &v1alpha1.Amount{} + if m.New == nil { + m.New = &ChangedAppParameters{} } - if err := m.ProposalDepositAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.New.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *VotingPowerAtProposalStartRequest) 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 ErrIntOverflowGovernance + } + 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: VotingPowerAtProposalStartRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VotingPowerAtProposalStartRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposalValidQuorum", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10360,13 +13623,13 @@ func (m *GovernanceParameters) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProposalValidQuorum = string(dAtA[iNdEx:postIndex]) + m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposalPassThreshold", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProposalId", wireType) } - var stringLen uint64 + m.ProposalId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -10376,29 +13639,16 @@ func (m *GovernanceParameters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.ProposalId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGovernance - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProposalPassThreshold = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposalSlashThreshold", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IdentityKey", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -10408,23 +13658,27 @@ func (m *GovernanceParameters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.ProposalSlashThreshold = string(dAtA[iNdEx:postIndex]) + if m.IdentityKey == nil { + m.IdentityKey = &v1alpha12.IdentityKey{} + } + if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -10447,7 +13701,7 @@ func (m *GovernanceParameters) Unmarshal(dAtA []byte) error { } return nil } -func (m *GenesisContent) Unmarshal(dAtA []byte) error { +func (m *VotingPowerAtProposalStartResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10470,48 +13724,31 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GenesisContent: wiretype end group for non-group") + return fmt.Errorf("proto: VotingPowerAtProposalStartResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GenesisContent: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: VotingPowerAtProposalStartResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GovernanceParams", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field VotingPower", wireType) } - var msglen int + m.VotingPower = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGovernance - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.GovernanceParams == nil { - m.GovernanceParams = &GovernanceParameters{} - } - if err := m.GovernanceParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.VotingPower |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -10533,7 +13770,7 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { } return nil } -func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { +func (m *AllTalliedDelegatorVotesForProposalRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10556,17 +13793,17 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ChangedAppParameters: wiretype end group for non-group") + return fmt.Errorf("proto: AllTalliedDelegatorVotesForProposalRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ChangedAppParameters: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AllTalliedDelegatorVotesForProposalRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainParams", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -10576,33 +13813,29 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - if m.ChainParams == nil { - m.ChainParams = &v1alpha16.ChainParameters{} - } - if err := m.ChainParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoParams", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProposalId", wireType) } - var msglen int + m.ProposalId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -10612,31 +13845,64 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.ProposalId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthGovernance + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthGovernance } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.DaoParams == nil { - m.DaoParams = &v1alpha17.DaoParameters{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AllTalliedDelegatorVotesForProposalResponse) 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 ErrIntOverflowGovernance } - if err := m.DaoParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 3: + 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: AllTalliedDelegatorVotesForProposalResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AllTalliedDelegatorVotesForProposalResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GovernanceParams", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tally", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10663,16 +13929,16 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.GovernanceParams == nil { - m.GovernanceParams = &GovernanceParameters{} + if m.Tally == nil { + m.Tally = &Tally{} } - if err := m.GovernanceParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Tally.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IbcParams", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IdentityKey", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10699,54 +13965,68 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.IbcParams == nil { - m.IbcParams = &v1alpha18.IbcParameters{} + if m.IdentityKey == nil { + m.IdentityKey = &v1alpha12.IdentityKey{} } - if err := m.IbcParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StakeParams", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGovernance + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthGovernance } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.StakeParams == nil { - m.StakeParams = &v1alpha15.StakeParameters{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NextProposalIdRequest) 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 ErrIntOverflowGovernance } - if err := m.StakeParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 6: + 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: NextProposalIdRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NextProposalIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FeeParams", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -10756,27 +14036,23 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - if m.FeeParams == nil { - m.FeeParams = &v1alpha19.FeeParameters{} - } - if err := m.FeeParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10799,7 +14075,7 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { } return nil } -func (m *ChangedAppParametersSet) Unmarshal(dAtA []byte) error { +func (m *NextProposalIdResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10822,53 +14098,17 @@ func (m *ChangedAppParametersSet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ChangedAppParametersSet: wiretype end group for non-group") + return fmt.Errorf("proto: NextProposalIdResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ChangedAppParametersSet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: NextProposalIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Old", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGovernance - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGovernance - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Old == nil { - m.Old = &ChangedAppParameters{} - } - if err := m.Old.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field New", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NextProposalId", wireType) } - var msglen int + m.NextProposalId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -10878,28 +14118,11 @@ func (m *ChangedAppParametersSet) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.NextProposalId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthGovernance - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGovernance - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.New == nil { - m.New = &ChangedAppParameters{} - } - if err := m.New.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) diff --git a/relayer/chains/penumbra/core/component/ibc/v1alpha1/ibc.pb.go b/relayer/chains/penumbra/core/component/ibc/v1alpha1/ibc.pb.go index 545271ad6..e55dcbcf9 100644 --- a/relayer/chains/penumbra/core/component/ibc/v1alpha1/ibc.pb.go +++ b/relayer/chains/penumbra/core/component/ibc/v1alpha1/ibc.pb.go @@ -27,22 +27,22 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -type IbcAction struct { +type IbcRelay struct { RawAction *types.Any `protobuf:"bytes,1,opt,name=raw_action,json=rawAction,proto3" json:"raw_action,omitempty"` } -func (m *IbcAction) Reset() { *m = IbcAction{} } -func (m *IbcAction) String() string { return proto.CompactTextString(m) } -func (*IbcAction) ProtoMessage() {} -func (*IbcAction) Descriptor() ([]byte, []int) { +func (m *IbcRelay) Reset() { *m = IbcRelay{} } +func (m *IbcRelay) String() string { return proto.CompactTextString(m) } +func (*IbcRelay) ProtoMessage() {} +func (*IbcRelay) Descriptor() ([]byte, []int) { return fileDescriptor_86476aff0cbfadc3, []int{0} } -func (m *IbcAction) XXX_Unmarshal(b []byte) error { +func (m *IbcRelay) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *IbcAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *IbcRelay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_IbcAction.Marshal(b, m, deterministic) + return xxx_messageInfo_IbcRelay.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -52,19 +52,19 @@ func (m *IbcAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *IbcAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_IbcAction.Merge(m, src) +func (m *IbcRelay) XXX_Merge(src proto.Message) { + xxx_messageInfo_IbcRelay.Merge(m, src) } -func (m *IbcAction) XXX_Size() int { +func (m *IbcRelay) XXX_Size() int { return m.Size() } -func (m *IbcAction) XXX_DiscardUnknown() { - xxx_messageInfo_IbcAction.DiscardUnknown(m) +func (m *IbcRelay) XXX_DiscardUnknown() { + xxx_messageInfo_IbcRelay.DiscardUnknown(m) } -var xxx_messageInfo_IbcAction proto.InternalMessageInfo +var xxx_messageInfo_IbcRelay proto.InternalMessageInfo -func (m *IbcAction) GetRawAction() *types.Any { +func (m *IbcRelay) GetRawAction() *types.Any { if m != nil { return m.RawAction } @@ -79,7 +79,7 @@ type FungibleTokenPacketData struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // the token amount to be transferred Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` - // the sender address + // the return address Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` // the recipient address on the destination chain Receiver string `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"` @@ -645,7 +645,7 @@ func (m *GenesisContent) GetIbcParams() *IbcParameters { } func init() { - proto.RegisterType((*IbcAction)(nil), "penumbra.core.component.ibc.v1alpha1.IbcAction") + proto.RegisterType((*IbcRelay)(nil), "penumbra.core.component.ibc.v1alpha1.IbcRelay") proto.RegisterType((*FungibleTokenPacketData)(nil), "penumbra.core.component.ibc.v1alpha1.FungibleTokenPacketData") proto.RegisterType((*Ics20Withdrawal)(nil), "penumbra.core.component.ibc.v1alpha1.Ics20Withdrawal") proto.RegisterType((*ClientData)(nil), "penumbra.core.component.ibc.v1alpha1.ClientData") @@ -663,69 +663,69 @@ func init() { } var fileDescriptor_86476aff0cbfadc3 = []byte{ - // 938 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x95, 0xc1, 0x6f, 0x23, 0xb5, - 0x17, 0xc7, 0x3b, 0x69, 0xb6, 0x6d, 0xdc, 0x4d, 0xfa, 0xdb, 0xd1, 0xea, 0xb7, 0xd9, 0x02, 0x69, - 0x19, 0x0a, 0xca, 0x1e, 0x98, 0xd9, 0xb6, 0x20, 0x44, 0x10, 0x12, 0xe9, 0xec, 0x52, 0x22, 0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, 0xdf, 0xb5, 0x3f, 0xae, 0x3b, 0xde, 0xf3, 0xeb, - 0x8e, 0xf7, 0xcf, 0x75, 0xc7, 0xfb, 0xe9, 0xa6, 0xb3, 0xf6, 0xfc, 0xa6, 0xb3, 0xf6, 0xd7, 0x4d, - 0x67, 0x0d, 0x75, 0x09, 0xcf, 0x6f, 0x95, 0xfd, 0x64, 0x4b, 0xa7, 0xd7, 0xd3, 0x33, 0xf4, 0x7e, - 0x18, 0x4d, 0xa8, 0x9a, 0x16, 0xa9, 0x46, 0x23, 0xc2, 0x65, 0xce, 0x65, 0x24, 0x60, 0x86, 0xaf, - 0x40, 0x44, 0x8b, 0xa3, 0x6a, 0x69, 0x7e, 0x88, 0x64, 0x74, 0x9b, 0x2f, 0xde, 0x67, 0x34, 0x25, - 0x6e, 0xfd, 0x4b, 0xad, 0x3e, 0x8c, 0xe3, 0xc1, 0xaf, 0xb5, 0x83, 0xa1, 0xd3, 0x15, 0x6b, 0x5d, - 0x71, 0xa5, 0x6b, 0x90, 0x92, 0xf0, 0x59, 0x49, 0xff, 0xb9, 0xc4, 0x46, 0x1a, 0x1b, 0x55, 0xd8, - 0x68, 0x90, 0x92, 0x91, 0xc3, 0xae, 0x6b, 0x8f, 0x6f, 0x83, 0x8d, 0x4e, 0x87, 0x27, 0xdf, 0x80, - 0xc2, 0x19, 0x56, 0xf8, 0xdf, 0x5a, 0xd7, 0x85, 0xf4, 0x7a, 0x3a, 0x46, 0xff, 0x2d, 0x83, 0x7a, - 0xbd, 0x41, 0x4a, 0x7a, 0x3d, 0x17, 0x96, 0x6e, 0x98, 0x77, 0x75, 0xfc, 0x5f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xf3, 0x62, 0x17, 0x31, 0xdf, 0x07, 0x00, 0x00, -} - -func (m *IbcAction) Marshal() (dAtA []byte, err error) { + // 941 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c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xe7, 0x64, 0xe9, 0x86, 0xb9, 0x57, 0xc7, 0xff, + 0x05, 0x00, 0x00, 0xff, 0xff, 0x47, 0x09, 0x81, 0x16, 0xde, 0x07, 0x00, 0x00, +} + +func (m *IbcRelay) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -735,12 +735,12 @@ func (m *IbcAction) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IbcAction) MarshalTo(dAtA []byte) (int, error) { +func (m *IbcRelay) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *IbcAction) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *IbcRelay) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1214,7 +1214,7 @@ func encodeVarintIbc(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } -func (m *IbcAction) Size() (n int) { +func (m *IbcRelay) Size() (n int) { if m == nil { return 0 } @@ -1416,7 +1416,7 @@ func sovIbc(x uint64) (n int) { func sozIbc(x uint64) (n int) { return sovIbc(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *IbcAction) Unmarshal(dAtA []byte) error { +func (m *IbcRelay) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1439,10 +1439,10 @@ func (m *IbcAction) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: IbcAction: wiretype end group for non-group") + return fmt.Errorf("proto: IbcRelay: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: IbcAction: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: IbcRelay: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: diff --git a/relayer/chains/penumbra/core/component/sct/v1alpha1/sct.pb.go b/relayer/chains/penumbra/core/component/sct/v1alpha1/sct.pb.go index 2fa5c96e6..2d057d593 100644 --- a/relayer/chains/penumbra/core/component/sct/v1alpha1/sct.pb.go +++ b/relayer/chains/penumbra/core/component/sct/v1alpha1/sct.pb.go @@ -181,7 +181,7 @@ func init() { } var fileDescriptor_e99589ee3b6c1a3a = []byte{ - // 486 bytes of a gzipped FileDescriptorProto + // 487 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xcf, 0x8a, 0x13, 0x41, 0x10, 0xc6, 0xd3, 0x83, 0x7f, 0x76, 0x3b, 0x8b, 0xe2, 0xe0, 0x21, 0x9b, 0xc3, 0xb0, 0x86, 0x45, 0x72, 0xb1, 0xc7, 0x1d, 0x6f, 0x23, 0x28, 0x24, 0x07, 0xf1, 0xe0, 0x12, 0x33, 0xb2, 0x07, 0x19, @@ -190,29 +190,29 @@ var fileDescriptor_e99589ee3b6c1a3a = []byte{ 0x0b, 0x1a, 0x08, 0x7b, 0x09, 0x55, 0xf0, 0xfb, 0xbe, 0xfa, 0xaa, 0xd2, 0x43, 0x59, 0x01, 0xb2, 0xcc, 0x27, 0x9a, 0x87, 0x42, 0x69, 0x08, 0x85, 0xca, 0x0b, 0x25, 0x41, 0x62, 0x68, 0x04, 0x86, 0x8b, 0x13, 0x3e, 0x2f, 0x66, 0xfc, 0xc4, 0x36, 0xac, 0xd0, 0x0a, 0x95, 0x7f, 0x5c, 0xf1, 0xcc, - 0xf2, 0xac, 0xe6, 0x99, 0x45, 0x2a, 0xbe, 0xfb, 0xb0, 0x71, 0xd5, 0xcb, 0x02, 0x55, 0x88, 0x57, - 0xdd, 0xb0, 0x72, 0xeb, 0x46, 0xdb, 0xa6, 0x8b, 0x19, 0xcf, 0x64, 0xa3, 0x70, 0xed, 0x46, 0xd3, - 0x7b, 0x40, 0xf7, 0x4f, 0xcb, 0xf9, 0x3c, 0x7b, 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, 0x2a, 0xdf, 0xc9, 0x7e, 0xb0, 0x97, 0x08, 0x1c, 0xd9, 0xb7, 0x31, + 0x22, 0x6f, 0xd3, 0xf7, 0x19, 0xce, 0xca, 0x89, 0x45, 0x43, 0xa1, 0x4c, 0xae, 0x4c, 0xa8, 0x61, + 0xce, 0x97, 0xa0, 0xc3, 0x45, 0x54, 0x97, 0xee, 0x88, 0x26, 0xdc, 0xe5, 0xed, 0x3f, 0x35, 0x02, + 0xab, 0xfa, 0x8b, 0x77, 0x63, 0x34, 0x1c, 0x26, 0xdf, 0xbc, 0xe3, 0x51, 0x95, 0x6b, 0x68, 0x73, + 0x0d, 0xeb, 0x5c, 0x89, 0x40, 0x76, 0x76, 0x49, 0xff, 0x68, 0xb0, 0xd4, 0x62, 0x69, 0x8d, 0xa5, + 0x89, 0xc0, 0xb4, 0xc2, 0x56, 0xde, 0xe3, 0x5d, 0xb0, 0xf4, 0xc5, 0x68, 0xf0, 0x0a, 0x90, 0x4f, + 0x39, 0xf2, 0x3f, 0x5e, 0xbf, 0x92, 0xc4, 0xb1, 0xd5, 0xd8, 0xdf, 0x4b, 0x51, 0x1c, 0x27, 0x02, + 0xe3, 0xb8, 0x92, 0x4d, 0x6e, 0xb9, 0xaf, 0xe6, 0xc9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x72, + 0x61, 0x55, 0xcf, 0xe9, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.pb.go b/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.pb.go index 5ad539eeb..b037b1e63 100644 --- a/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.pb.go +++ b/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.pb.go @@ -463,6 +463,96 @@ func (m *Spend) GetProof() *ZKSpendProof { return nil } +// ABCI Event recording a spend. +type EventSpend struct { + Nullifier []byte `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` +} + +func (m *EventSpend) Reset() { *m = EventSpend{} } +func (m *EventSpend) String() string { return proto.CompactTextString(m) } +func (*EventSpend) ProtoMessage() {} +func (*EventSpend) Descriptor() ([]byte, []int) { + return fileDescriptor_aa12195337df7d3c, []int{8} +} +func (m *EventSpend) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventSpend.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 *EventSpend) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventSpend.Merge(m, src) +} +func (m *EventSpend) XXX_Size() int { + return m.Size() +} +func (m *EventSpend) XXX_DiscardUnknown() { + xxx_messageInfo_EventSpend.DiscardUnknown(m) +} + +var xxx_messageInfo_EventSpend proto.InternalMessageInfo + +func (m *EventSpend) GetNullifier() []byte { + if m != nil { + return m.Nullifier + } + return nil +} + +// ABCI Event recording an output. +type EventOutput struct { + NoteCommitment *v1alpha12.StateCommitment `protobuf:"bytes,1,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` +} + +func (m *EventOutput) Reset() { *m = EventOutput{} } +func (m *EventOutput) String() string { return proto.CompactTextString(m) } +func (*EventOutput) ProtoMessage() {} +func (*EventOutput) Descriptor() ([]byte, []int) { + return fileDescriptor_aa12195337df7d3c, []int{9} +} +func (m *EventOutput) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventOutput.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 *EventOutput) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventOutput.Merge(m, src) +} +func (m *EventOutput) XXX_Size() int { + return m.Size() +} +func (m *EventOutput) XXX_DiscardUnknown() { + xxx_messageInfo_EventOutput.DiscardUnknown(m) +} + +var xxx_messageInfo_EventOutput proto.InternalMessageInfo + +func (m *EventOutput) GetNoteCommitment() *v1alpha12.StateCommitment { + if m != nil { + return m.NoteCommitment + } + return nil +} + // The body of a spend description, containing only the effecting data // describing changes to the ledger, and not the authorizing data that allows // those changes to be performed. @@ -479,7 +569,7 @@ func (m *SpendBody) Reset() { *m = SpendBody{} } func (m *SpendBody) String() string { return proto.CompactTextString(m) } func (*SpendBody) ProtoMessage() {} func (*SpendBody) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{8} + return fileDescriptor_aa12195337df7d3c, []int{10} } func (m *SpendBody) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -541,7 +631,7 @@ func (m *SpendView) Reset() { *m = SpendView{} } func (m *SpendView) String() string { return proto.CompactTextString(m) } func (*SpendView) ProtoMessage() {} func (*SpendView) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{9} + return fileDescriptor_aa12195337df7d3c, []int{11} } func (m *SpendView) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -624,7 +714,7 @@ func (m *SpendView_Visible) Reset() { *m = SpendView_Visible{} } func (m *SpendView_Visible) String() string { return proto.CompactTextString(m) } func (*SpendView_Visible) ProtoMessage() {} func (*SpendView_Visible) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{9, 0} + return fileDescriptor_aa12195337df7d3c, []int{11, 0} } func (m *SpendView_Visible) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -675,7 +765,7 @@ func (m *SpendView_Opaque) Reset() { *m = SpendView_Opaque{} } func (m *SpendView_Opaque) String() string { return proto.CompactTextString(m) } func (*SpendView_Opaque) ProtoMessage() {} func (*SpendView_Opaque) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{9, 1} + return fileDescriptor_aa12195337df7d3c, []int{11, 1} } func (m *SpendView_Opaque) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -730,7 +820,7 @@ func (m *SpendPlan) Reset() { *m = SpendPlan{} } func (m *SpendPlan) String() string { return proto.CompactTextString(m) } func (*SpendPlan) ProtoMessage() {} func (*SpendPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{10} + return fileDescriptor_aa12195337df7d3c, []int{12} } func (m *SpendPlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -813,7 +903,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_aa12195337df7d3c, []int{11} + return fileDescriptor_aa12195337df7d3c, []int{13} } func (m *Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -875,7 +965,7 @@ func (m *OutputBody) Reset() { *m = OutputBody{} } func (m *OutputBody) String() string { return proto.CompactTextString(m) } func (*OutputBody) ProtoMessage() {} func (*OutputBody) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{12} + return fileDescriptor_aa12195337df7d3c, []int{14} } func (m *OutputBody) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -944,7 +1034,7 @@ func (m *OutputView) Reset() { *m = OutputView{} } func (m *OutputView) String() string { return proto.CompactTextString(m) } func (*OutputView) ProtoMessage() {} func (*OutputView) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{13} + return fileDescriptor_aa12195337df7d3c, []int{15} } func (m *OutputView) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1028,7 +1118,7 @@ func (m *OutputView_Visible) Reset() { *m = OutputView_Visible{} } func (m *OutputView_Visible) String() string { return proto.CompactTextString(m) } func (*OutputView_Visible) ProtoMessage() {} func (*OutputView_Visible) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{13, 0} + return fileDescriptor_aa12195337df7d3c, []int{15, 0} } func (m *OutputView_Visible) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1086,7 +1176,7 @@ func (m *OutputView_Opaque) Reset() { *m = OutputView_Opaque{} } func (m *OutputView_Opaque) String() string { return proto.CompactTextString(m) } func (*OutputView_Opaque) ProtoMessage() {} func (*OutputView_Opaque) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{13, 1} + return fileDescriptor_aa12195337df7d3c, []int{15, 1} } func (m *OutputView_Opaque) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1141,7 +1231,7 @@ func (m *OutputPlan) Reset() { *m = OutputPlan{} } func (m *OutputPlan) String() string { return proto.CompactTextString(m) } func (*OutputPlan) ProtoMessage() {} func (*OutputPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{14} + return fileDescriptor_aa12195337df7d3c, []int{16} } func (m *OutputPlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1224,7 +1314,7 @@ func (m *DenomMetadataByIdRequest) Reset() { *m = DenomMetadataByIdReque func (m *DenomMetadataByIdRequest) String() string { return proto.CompactTextString(m) } func (*DenomMetadataByIdRequest) ProtoMessage() {} func (*DenomMetadataByIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{15} + return fileDescriptor_aa12195337df7d3c, []int{17} } func (m *DenomMetadataByIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1278,7 +1368,7 @@ func (m *DenomMetadataByIdResponse) Reset() { *m = DenomMetadataByIdResp func (m *DenomMetadataByIdResponse) String() string { return proto.CompactTextString(m) } func (*DenomMetadataByIdResponse) ProtoMessage() {} func (*DenomMetadataByIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{16} + return fileDescriptor_aa12195337df7d3c, []int{18} } func (m *DenomMetadataByIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1324,7 +1414,7 @@ func (m *GenesisContent) Reset() { *m = GenesisContent{} } func (m *GenesisContent) String() string { return proto.CompactTextString(m) } func (*GenesisContent) ProtoMessage() {} func (*GenesisContent) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{17} + return fileDescriptor_aa12195337df7d3c, []int{19} } func (m *GenesisContent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1370,7 +1460,7 @@ func (m *GenesisContent_Allocation) Reset() { *m = GenesisContent_Alloca func (m *GenesisContent_Allocation) String() string { return proto.CompactTextString(m) } func (*GenesisContent_Allocation) ProtoMessage() {} func (*GenesisContent_Allocation) Descriptor() ([]byte, []int) { - return fileDescriptor_aa12195337df7d3c, []int{17, 0} + return fileDescriptor_aa12195337df7d3c, []int{19, 0} } func (m *GenesisContent_Allocation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1429,6 +1519,8 @@ func init() { proto.RegisterType((*ZKSpendProof)(nil), "penumbra.core.component.shielded_pool.v1alpha1.ZKSpendProof") proto.RegisterType((*ZKNullifierDerivationProof)(nil), "penumbra.core.component.shielded_pool.v1alpha1.ZKNullifierDerivationProof") proto.RegisterType((*Spend)(nil), "penumbra.core.component.shielded_pool.v1alpha1.Spend") + proto.RegisterType((*EventSpend)(nil), "penumbra.core.component.shielded_pool.v1alpha1.EventSpend") + proto.RegisterType((*EventOutput)(nil), "penumbra.core.component.shielded_pool.v1alpha1.EventOutput") proto.RegisterType((*SpendBody)(nil), "penumbra.core.component.shielded_pool.v1alpha1.SpendBody") proto.RegisterType((*SpendView)(nil), "penumbra.core.component.shielded_pool.v1alpha1.SpendView") proto.RegisterType((*SpendView_Visible)(nil), "penumbra.core.component.shielded_pool.v1alpha1.SpendView.Visible") @@ -1451,96 +1543,97 @@ func init() { } var fileDescriptor_aa12195337df7d3c = []byte{ - // 1410 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcd, 0x6f, 0x1b, 0x45, - 0x14, 0xcf, 0x3a, 0x8e, 0x93, 0x3c, 0x3b, 0x6e, 0x3b, 0xe2, 0xe0, 0x5a, 0xc8, 0xaa, 0xdc, 0x36, - 0x58, 0x42, 0xb5, 0x55, 0x17, 0x28, 0x75, 0x69, 0xd5, 0xd8, 0x95, 0x9a, 0xc8, 0x34, 0x35, 0x6b, - 0x35, 0xa0, 0x10, 0xba, 0x1a, 0x7b, 0xa7, 0xf1, 0xca, 0xbb, 0x3b, 0xdb, 0xfd, 0x70, 0x30, 0x37, - 0xee, 0x1c, 0xb8, 0x21, 0x2e, 0x95, 0xf8, 0x10, 0x42, 0x95, 0xf8, 0x03, 0xf8, 0x0f, 0x10, 0xa7, - 0x8a, 0x13, 0x47, 0x94, 0xde, 0xb8, 0xf5, 0x3f, 0x40, 0xf3, 0xb1, 0xeb, 0x5d, 0x27, 0x8d, 0x6a, - 0x37, 0x12, 0x17, 0x6b, 0xe7, 0xed, 0xef, 0xfd, 0xde, 0xe7, 0xbc, 0x99, 0x35, 0x34, 0x1d, 0x62, - 0x07, 0x56, 0xcf, 0xc5, 0xb5, 0x3e, 0x75, 0x49, 0xad, 0x4f, 0x2d, 0x87, 0xda, 0xc4, 0xf6, 0x6b, - 0xde, 0xc0, 0x20, 0xa6, 0x4e, 0x74, 0xcd, 0xa1, 0xd4, 0xac, 0x8d, 0xae, 0x62, 0xd3, 0x19, 0xe0, - 0xab, 0x49, 0x71, 0xd5, 0x71, 0xa9, 0x4f, 0x51, 0x35, 0xe4, 0xa8, 0x32, 0x8e, 0x6a, 0xc4, 0x51, - 0x4d, 0x82, 0x43, 0x8e, 0xe2, 0xfa, 0xc4, 0xa6, 0x3b, 0x76, 0x7c, 0x5a, 0xf3, 0xfb, 0xfe, 0xc4, - 0x82, 0xdf, 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80, 0x7a, 0x9f, 0x5a, 0x33, 0x1a, 0x6a, 0x9e, 0xeb, 0x4a, 0x79, - 0x87, 0x52, 0xb3, 0xc3, 0xbe, 0xd3, 0x3b, 0xca, 0xae, 0xb3, 0x6f, 0xf8, 0x83, 0xa0, 0xc7, 0xb4, - 0x6b, 0x7d, 0xea, 0x59, 0xd4, 0xab, 0xb9, 0xc4, 0xc4, 0x63, 0xe2, 0xd6, 0x46, 0xf5, 0xe8, 0x91, - 0xef, 0x10, 0xaf, 0x36, 0xdb, 0xbf, 0x24, 0x37, 0x13, 0xe2, 0x50, 0xfa, 0x63, 0x2a, 0xdd, 0x69, - 0xb5, 0xba, 0xcf, 0x52, 0x57, 0x3a, 0xa1, 0xfb, 0x2d, 0xe6, 0x7e, 0x2b, 0x72, 0x3f, 0xee, 0x66, - 0x75, 0x47, 0xaa, 0xfd, 0x39, 0xc1, 0xef, 0x31, 0xfc, 0x5e, 0x84, 0xdf, 0x8b, 0xe3, 0xf7, 0x42, - 0xfc, 0x61, 0xea, 0xc6, 0x4c, 0xf8, 0xbd, 0x7b, 0x9d, 0x66, 0x58, 0x84, 0x7f, 0x53, 0x57, 0x43, - 0xdd, 0x46, 0x83, 0x29, 0xb3, 0x5f, 0xa9, 0xdd, 0x68, 0xc4, 0xd5, 0x1b, 0x8d, 0x50, 0xbf, 0x97, - 0xe1, 0xff, 0x7c, 0x5c, 0xfb, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xf4, 0x69, 0xcc, 0x4b, 0x12, - 0x00, 0x00, + // 1432 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcb, 0x6e, 0xdb, 0x46, + 0x17, 0x36, 0xe5, 0xfb, 0x91, 0xac, 0x24, 0x83, 0x7f, 0xe1, 0x08, 0x3f, 0x8c, 0x40, 0xb9, 0x54, + 0x68, 0x11, 0x09, 0x51, 0xda, 0xa6, 0x51, 0x9a, 0x20, 0x96, 0x52, 0xc4, 0x86, 0x1a, 0x47, 0xa5, + 0x10, 0xb7, 0x70, 0xdd, 0x10, 0x23, 0x71, 0x62, 0x11, 0x22, 0x39, 0x0c, 0x39, 0x94, 0xab, 0xee, + 0xba, 0xef, 0xa2, 0xbb, 0xa2, 0x9b, 0x00, 0xbd, 0xa0, 0x28, 0x02, 0xf4, 0x01, 0xfa, 0x06, 0x45, + 0x57, 0x41, 0x57, 0x5d, 0x16, 0xce, 0xae, 0xbb, 0xbc, 0x41, 0x31, 0x17, 0x52, 0xa4, 0xec, 0x18, + 0x91, 0xe2, 0xa2, 0x1b, 0x83, 0x73, 0xf8, 0x9d, 0xef, 0x5c, 0xe6, 0xf0, 0x9b, 0xb1, 0xa0, 0xee, + 0x11, 0x37, 0x74, 0x3a, 0x3e, 0xae, 0x74, 0xa9, 0x4f, 0x2a, 0x5d, 0xea, 0x78, 0xd4, 0x25, 0x2e, + 0xab, 0x04, 0x3d, 0x8b, 0xd8, 0x26, 0x31, 0x0d, 0x8f, 0x52, 0xbb, 0x32, 0xb8, 0x82, 0x6d, 0xaf, + 0x87, 0xaf, 0xa4, 0xcd, 0x65, 0xcf, 0xa7, 0x8c, 0xa2, 0x72, 0xc4, 0x51, 0xe6, 0x1c, 0xe5, 0x98, + 0xa3, 0x9c, 0x06, 0x47, 0x1c, 0x85, 0x52, 0x3a, 0x26, 0x0e, 0x02, 0xc2, 0x46, 0x11, 0xc4, 0x52, + 0x32, 0x17, 0x2e, 0xa5, 0x91, 0x7d, 0x32, 0x0c, 0x46, 0x40, 0xbe, 0x52, 0xb8, 0x0b, 0x69, 0x9c, + 0x1b, 0x3a, 0x23, 0x98, 0x1b, 0x3a, 0x0a, 0x55, 0x1b, 0xa1, 0xfc, 0xa1, 0xc7, 0x68, 0xc5, 0x24, + 0x5d, 0xfc, 0xe8, 0xea, 0xb5, 0x6b, 0x86, 0x6f, 0x06, 0x78, 0xe4, 0x91, 0x32, 0x1f, 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d4, 0x43, 0xd5, 0xab, 0x91, 0xa1, + 0x48, 0x20, 0x2b, 0xb0, 0x72, 0xcf, 0xfe, 0xad, 0x19, 0x2d, 0x7e, 0xab, 0xc1, 0x72, 0xdc, 0x51, + 0xf4, 0x10, 0x50, 0x07, 0xdb, 0xd8, 0xed, 0x1e, 0x11, 0xa8, 0x72, 0xfc, 0x77, 0x5e, 0x97, 0x7e, + 0x89, 0x50, 0x67, 0x3a, 0xe3, 0xa6, 0x74, 0xc9, 0xb3, 0x63, 0x25, 0xa3, 0x3c, 0x64, 0xfc, 0xfe, + 0xea, 0x9c, 0x30, 0x67, 0xfc, 0x7e, 0xf1, 0x8f, 0x59, 0x95, 0x9b, 0x90, 0x9d, 0xcf, 0x60, 0x71, + 0x60, 0x05, 0x56, 0xc7, 0x8e, 0x84, 0x67, 0x7d, 0xaa, 0xc9, 0xe1, 0x5c, 0xe5, 0x6d, 0x49, 0xb4, + 0x31, 0xa3, 0x47, 0x9c, 0x68, 0x07, 0x16, 0xa8, 0x87, 0x1f, 0x87, 0x44, 0x0d, 0xd1, 0xed, 0xe9, + 0xd9, 0xef, 0x0b, 0x9e, 0x8d, 0x19, 0x5d, 0x31, 0x16, 0x7e, 0xd4, 0x60, 0x51, 0x85, 0x44, 0x4d, + 0x98, 0x0f, 0x38, 0x52, 0x15, 0xf1, 0xce, 0x54, 0x61, 0x74, 0xc9, 0x81, 0x3e, 0x84, 0x39, 0x21, + 0x19, 0x32, 0xe5, 0xf7, 0xa6, 0x91, 0x0c, 0x21, 0xa1, 0x82, 0xa5, 0xf0, 0x00, 0x16, 0x64, 0xea, + 0x27, 0x9a, 0x64, 0x3d, 0x07, 0x20, 0x1e, 0x8c, 0x81, 0x45, 0xf6, 0x8b, 0x5f, 0x65, 0xd4, 0xa6, + 0xb6, 0x6c, 0xec, 0xa2, 0x0d, 0x55, 0x80, 0x8c, 0xf3, 0xf6, 0x34, 0x05, 0xc8, 0xe4, 0x51, 0x01, + 0x96, 0x3c, 0x1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0x7b, 0x57, 0xba, 0x34, 0x70, 0x68, 0x50, 0xf1, 0x89, 0x8d, 0x87, 0xc4, + 0xaf, 0x0c, 0xaa, 0xf1, 0xa3, 0xf8, 0x42, 0x82, 0xca, 0x64, 0x3f, 0xdc, 0xdc, 0x48, 0x99, 0x23, + 0xeb, 0xf7, 0x99, 0xb9, 0x56, 0xa3, 0xd1, 0x7e, 0x9a, 0xb9, 0xdc, 0x8a, 0xd2, 0x6f, 0xf0, 0xf4, + 0x1b, 0x71, 0xfa, 0xc9, 0x34, 0xcb, 0xdb, 0xca, 0xed, 0xf7, 0x11, 0x7e, 0x97, 0xe3, 0x77, 0x63, + 0xfc, 0x6e, 0x12, 0xbf, 0x1b, 0xe1, 0x0f, 0x32, 0xd7, 0x27, 0xc2, 0xef, 0xde, 0x6d, 0xd5, 0xa3, + 0x4d, 0xf8, 0x3b, 0x73, 0x25, 0xf2, 0xad, 0xd5, 0xb8, 0x33, 0xff, 0xab, 0xbc, 0x6b, 0xb5, 0xa4, + 0x7b, 0xad, 0x16, 0xf9, 0x77, 0x16, 0xc4, 0x8f, 0x31, 0x57, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, + 0xa2, 0x73, 0x90, 0x01, 0xde, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1964,6 +2057,71 @@ func (m *Spend) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *EventSpend) 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 *EventSpend) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Nullifier) > 0 { + i -= len(m.Nullifier) + copy(dAtA[i:], m.Nullifier) + i = encodeVarintShieldedPool(dAtA, i, uint64(len(m.Nullifier))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventOutput) 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 *EventOutput) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.NoteCommitment != nil { + { + size, err := m.NoteCommitment.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintShieldedPool(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *SpendBody) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2903,6 +3061,32 @@ func (m *Spend) Size() (n int) { return n } +func (m *EventSpend) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Nullifier) + if l > 0 { + n += 1 + l + sovShieldedPool(uint64(l)) + } + return n +} + +func (m *EventOutput) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.NoteCommitment != nil { + l = m.NoteCommitment.Size() + n += 1 + l + sovShieldedPool(uint64(l)) + } + return n +} + func (m *SpendBody) Size() (n int) { if m == nil { return 0 @@ -4201,6 +4385,176 @@ func (m *Spend) Unmarshal(dAtA []byte) error { } return nil } +func (m *EventSpend) 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 ErrIntOverflowShieldedPool + } + 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: EventSpend: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventSpend: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Nullifier", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowShieldedPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthShieldedPool + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthShieldedPool + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Nullifier = append(m.Nullifier[:0], dAtA[iNdEx:postIndex]...) + if m.Nullifier == nil { + m.Nullifier = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipShieldedPool(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthShieldedPool + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventOutput) 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 ErrIntOverflowShieldedPool + } + 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: EventOutput: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventOutput: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NoteCommitment", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowShieldedPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthShieldedPool + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthShieldedPool + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.NoteCommitment == nil { + m.NoteCommitment = &v1alpha12.StateCommitment{} + } + if err := m.NoteCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipShieldedPool(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthShieldedPool + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *SpendBody) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/core/component/stake/v1alpha1/stake.pb.go b/relayer/chains/penumbra/core/component/stake/v1alpha1/stake.pb.go index fed951ad8..4fc2c4807 100644 --- a/relayer/chains/penumbra/core/component/stake/v1alpha1/stake.pb.go +++ b/relayer/chains/penumbra/core/component/stake/v1alpha1/stake.pb.go @@ -315,6 +315,7 @@ type FundingStream struct { // The recipient of the funding stream. // // Types that are valid to be assigned to Recipient: + // // *FundingStream_ToAddress_ // *FundingStream_ToDao_ Recipient isFundingStream_Recipient `protobuf_oneof:"recipient"` @@ -1458,7 +1459,7 @@ func (m *CurrentConsensusKeys) GetConsensusKeys() []*v1alpha1.ConsensusKey { // Tracks slashing penalties applied to a validator in some epoch. type Penalty struct { - Inner uint64 `protobuf:"varint,1,opt,name=inner,proto3" json:"inner,omitempty"` + Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` } func (m *Penalty) Reset() { *m = Penalty{} } @@ -1494,11 +1495,11 @@ func (m *Penalty) XXX_DiscardUnknown() { var xxx_messageInfo_Penalty proto.InternalMessageInfo -func (m *Penalty) GetInner() uint64 { +func (m *Penalty) GetInner() []byte { if m != nil { return m.Inner } - return 0 + return nil } // Requests information on the chain's validators. @@ -1908,103 +1909,6 @@ func (m *CurrentValidatorRateResponse) GetData() *RateData { return nil } -type NextValidatorRateRequest struct { - // The expected chain id (empty string if no expectation). - ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - IdentityKey *v1alpha1.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` -} - -func (m *NextValidatorRateRequest) Reset() { *m = NextValidatorRateRequest{} } -func (m *NextValidatorRateRequest) String() string { return proto.CompactTextString(m) } -func (*NextValidatorRateRequest) ProtoMessage() {} -func (*NextValidatorRateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b49c30b9d712baf6, []int{28} -} -func (m *NextValidatorRateRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NextValidatorRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NextValidatorRateRequest.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 *NextValidatorRateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NextValidatorRateRequest.Merge(m, src) -} -func (m *NextValidatorRateRequest) XXX_Size() int { - return m.Size() -} -func (m *NextValidatorRateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NextValidatorRateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_NextValidatorRateRequest proto.InternalMessageInfo - -func (m *NextValidatorRateRequest) GetChainId() string { - if m != nil { - return m.ChainId - } - return "" -} - -func (m *NextValidatorRateRequest) GetIdentityKey() *v1alpha1.IdentityKey { - if m != nil { - return m.IdentityKey - } - return nil -} - -type NextValidatorRateResponse struct { - Data *RateData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (m *NextValidatorRateResponse) Reset() { *m = NextValidatorRateResponse{} } -func (m *NextValidatorRateResponse) String() string { return proto.CompactTextString(m) } -func (*NextValidatorRateResponse) ProtoMessage() {} -func (*NextValidatorRateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b49c30b9d712baf6, []int{29} -} -func (m *NextValidatorRateResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NextValidatorRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NextValidatorRateResponse.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 *NextValidatorRateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NextValidatorRateResponse.Merge(m, src) -} -func (m *NextValidatorRateResponse) XXX_Size() int { - return m.Size() -} -func (m *NextValidatorRateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NextValidatorRateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_NextValidatorRateResponse proto.InternalMessageInfo - -func (m *NextValidatorRateResponse) GetData() *RateData { - if m != nil { - return m.Data - } - return nil -} - // Staking configuration data. type StakeParameters struct { // The number of epochs an unbonding note for before being released. @@ -2027,7 +1931,7 @@ func (m *StakeParameters) Reset() { *m = StakeParameters{} } func (m *StakeParameters) String() string { return proto.CompactTextString(m) } func (*StakeParameters) ProtoMessage() {} func (*StakeParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_b49c30b9d712baf6, []int{30} + return fileDescriptor_b49c30b9d712baf6, []int{28} } func (m *StakeParameters) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2117,7 +2021,7 @@ func (m *GenesisContent) Reset() { *m = GenesisContent{} } func (m *GenesisContent) String() string { return proto.CompactTextString(m) } func (*GenesisContent) ProtoMessage() {} func (*GenesisContent) Descriptor() ([]byte, []int) { - return fileDescriptor_b49c30b9d712baf6, []int{31} + return fileDescriptor_b49c30b9d712baf6, []int{29} } func (m *GenesisContent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2193,8 +2097,6 @@ func init() { proto.RegisterType((*ValidatorPenaltyResponse)(nil), "penumbra.core.component.stake.v1alpha1.ValidatorPenaltyResponse") proto.RegisterType((*CurrentValidatorRateRequest)(nil), "penumbra.core.component.stake.v1alpha1.CurrentValidatorRateRequest") proto.RegisterType((*CurrentValidatorRateResponse)(nil), "penumbra.core.component.stake.v1alpha1.CurrentValidatorRateResponse") - proto.RegisterType((*NextValidatorRateRequest)(nil), "penumbra.core.component.stake.v1alpha1.NextValidatorRateRequest") - proto.RegisterType((*NextValidatorRateResponse)(nil), "penumbra.core.component.stake.v1alpha1.NextValidatorRateResponse") proto.RegisterType((*StakeParameters)(nil), "penumbra.core.component.stake.v1alpha1.StakeParameters") proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.stake.v1alpha1.GenesisContent") } @@ -2204,143 +2106,141 @@ func init() { } var fileDescriptor_b49c30b9d712baf6 = []byte{ - // 2171 bytes of a gzipped FileDescriptorProto + // 2129 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xd7, 0x52, 0xd4, 0xd7, 0x23, 0x29, 0x51, 0xe3, 0x2f, 0x5a, 0xb1, 0x65, 0x65, 0x1d, 0x38, + 0x15, 0xd7, 0x52, 0xd4, 0xd7, 0x23, 0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e, 0x91, 0x01, - 0xd2, 0xcc, 0xc3, 0xd9, 0xfb, 0xb7, 0xee, 0x32, 0x87, 0xb4, 0xc9, 0x3e, 0x16, 0xa4, 0xd4, 0xc6, - 0xd4, 0xad, 0xf9, 0x9e, 0xb7, 0x87, 0x4e, 0xc3, 0x14, 0x65, 0x8c, 0xf8, 0x39, 0x63, 0xc5, 0x58, - 0x4d, 0x5b, 0x01, 0x61, 0xfe, 0x71, 0x12, 0xe6, 0xee, 0xe1, 0x36, 0x75, 0xb0, 0xf0, 0x7c, 0x74, - 0x0b, 0xd2, 0xd4, 0x21, 0x4c, 0x50, 0x71, 0x64, 0x3f, 0x24, 0x47, 0x0a, 0x9a, 0x2a, 0xac, 0xe6, - 0xfb, 0x9d, 0x56, 0xe6, 0x87, 0xb3, 0xe7, 0xab, 0x5a, 0xe0, 0x16, 0x39, 0xb2, 0x52, 0x34, 0x26, - 0xd0, 0x65, 0xc8, 0x34, 0x3d, 0xc6, 0x09, 0xe3, 0x5d, 0xae, 0xb4, 0x25, 0xd4, 0xc4, 0xe9, 0x88, - 0x29, 0x41, 0x08, 0x92, 0x0c, 0xbb, 0x24, 0x37, 0xb9, 0x62, 0xac, 0xce, 0x59, 0xea, 0x1b, 0xe5, - 0x60, 0xe6, 0x90, 0x34, 0x38, 0x15, 0x24, 0x97, 0x54, 0xec, 0x90, 0x44, 0x2b, 0x90, 0x72, 0x08, - 0x6f, 0xfa, 0xb4, 0x23, 0xa8, 0xc7, 0x72, 0x53, 0x6a, 0xb4, 0x97, 0x25, 0x65, 0x09, 0xc3, 0x8d, - 0x36, 0x71, 0x72, 0xb3, 0x2b, 0xc6, 0xea, 0xac, 0x15, 0x92, 0xe8, 0x03, 0x58, 0xd8, 0xeb, 0x32, - 0x87, 0xb2, 0x7d, 0x9b, 0x0b, 0x9f, 0x60, 0x97, 0xe7, 0xa6, 0x57, 0x26, 0x57, 0x53, 0x85, 0x37, - 0xf3, 0xa3, 0xad, 0x69, 0xfe, 0xbd, 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 0x7c, 0x06, 0xa6, - 0x98, 0x82, 0x39, 0x9f, 0x34, 0x69, 0x87, 0x12, 0x26, 0xcc, 0x7f, 0x1a, 0x30, 0x6b, 0x61, 0x41, - 0xca, 0x58, 0xe0, 0x17, 0x7b, 0xc6, 0x2e, 0x41, 0x8a, 0x74, 0xbc, 0x66, 0xcb, 0xa6, 0xcc, 0x21, - 0x8f, 0x94, 0x11, 0x49, 0x0b, 0x14, 0xab, 0x2a, 0x39, 0xa8, 0x00, 0x67, 0xe2, 0x8d, 0xe0, 0x93, - 0x43, 0xec, 0x3b, 0xb6, 0xb4, 0x51, 0x9d, 0xac, 0xa4, 0x75, 0x2a, 0x1a, 0xb4, 0xd4, 0x98, 0xb4, - 0x12, 0xbd, 0x05, 0xe7, 0x62, 0x19, 0xf2, 0xa8, 0xd9, 0xc2, 0x6c, 0x9f, 0x04, 0x52, 0x53, 0x4a, - 0x2a, 0x56, 0x59, 0xd1, 0xa3, 0x52, 0xce, 0xfc, 0xd8, 0x80, 0x74, 0x11, 0x73, 0x12, 0xb9, 0x3a, - 0x60, 0x9d, 0x71, 0xcc, 0xba, 0x55, 0xc8, 0x36, 0x30, 0x27, 0x7d, 0x86, 0x05, 0x3e, 0xcc, 0x4b, - 0x7e, 0x8f, 0x4d, 0xdf, 0x04, 0xa4, 0x90, 0xfd, 0xe6, 0x4c, 0x2a, 0xac, 0xd2, 0xd1, 0x67, 0xc9, - 0x67, 0x09, 0x58, 0x88, 0x0e, 0x44, 0x5d, 0x60, 0xd1, 0xe5, 0x2f, 0x36, 0xee, 0xb7, 0x61, 0x8a, - 0x8b, 0xd0, 0xda, 0x54, 0xe1, 0xad, 0x51, 0x77, 0x66, 0x9f, 0x51, 0xc4, 0x0a, 0x94, 0xa0, 0x97, - 0x21, 0x7d, 0xe0, 0x09, 0x99, 0x99, 0x3a, 0xde, 0x21, 0xf1, 0xb5, 0x5b, 0xa9, 0x80, 0x57, 0x93, - 0x2c, 0xf4, 0x03, 0xc8, 0x34, 0xbc, 0x30, 0x7b, 0x85, 0xeb, 0x97, 0x2a, 0xbc, 0x31, 0xea, 0xc4, - 0x45, 0x4f, 0x1f, 0x09, 0x39, 0x6d, 0xba, 0xd1, 0x43, 0x99, 0xbf, 0x49, 0x40, 0xba, 0x77, 0x18, - 0xfd, 0x30, 0x74, 0x4e, 0x86, 0x68, 0xbe, 0x50, 0x19, 0x67, 0x8e, 0x3e, 0xa2, 0xc2, 0xba, 0x6e, - 0xe8, 0xeb, 0xab, 0xb0, 0xd0, 0x65, 0xa1, 0x2b, 0x6a, 0x2b, 0x84, 0x2b, 0x1e, 0xb1, 0x2b, 0x92, - 0x6b, 0x7e, 0x62, 0x40, 0x76, 0x50, 0x09, 0x32, 0x61, 0xb9, 0xb8, 0xbd, 0x55, 0xae, 0x6e, 0xdd, - 0xb0, 0xeb, 0x3b, 0x1b, 0x3b, 0x15, 0xbb, 0xb2, 0x75, 0x77, 0xd3, 0xbe, 0xbb, 0x55, 0xaf, 0x55, - 0x4a, 0xd5, 0xf7, 0xaa, 0x95, 0x72, 0x76, 0x02, 0x5d, 0x84, 0xf3, 0x43, 0x30, 0x92, 0x55, 0x29, - 0x67, 0x0d, 0xb4, 0x02, 0x17, 0x86, 0xaa, 0xd0, 0xcc, 0x6c, 0x02, 0x5d, 0x82, 0x97, 0x9e, 0x8a, - 0xa8, 0x94, 0xb3, 0x93, 0xe6, 0xdf, 0x13, 0x30, 0xdf, 0xbf, 0x92, 0xc8, 0xee, 0x8f, 0x59, 0x75, - 0xbc, 0x0d, 0x31, 0x40, 0xf6, 0xc4, 0xcd, 0xfc, 0x97, 0x01, 0xe8, 0xf8, 0x28, 0x7a, 0x05, 0x56, - 0xee, 0x6d, 0xdc, 0xae, 0x96, 0x37, 0x76, 0xb6, 0xad, 0xa7, 0x87, 0xe4, 0x65, 0xb8, 0x38, 0x14, - 0x55, 0xdd, 0xda, 0x28, 0xed, 0x54, 0xef, 0x55, 0xb2, 0x86, 0x74, 0x7a, 0x28, 0x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xf2, 0x04, 0x5c, 0x6d, - 0x7a, 0xee, 0x88, 0x13, 0x14, 0x21, 0x38, 0xc5, 0xbe, 0x27, 0xbc, 0x9a, 0x71, 0xff, 0xc1, 0x3e, - 0x15, 0xad, 0x6e, 0x43, 0xc2, 0xd7, 0x9a, 0x1e, 0x77, 0x3d, 0xbe, 0xe6, 0x93, 0x36, 0x3e, 0x22, - 0xfe, 0xda, 0x41, 0x21, 0xfa, 0x54, 0xc5, 0x88, 0xaf, 0x8d, 0xf6, 0xbf, 0xea, 0x3b, 0x8a, 0x0c, - 0xa9, 0x4f, 0x13, 0xc9, 0x5a, 0xa9, 0x54, 0xff, 0x2c, 0x71, 0xa5, 0x16, 0xda, 0x57, 0x92, 0xf6, - 0x95, 0x22, 0xfb, 0x94, 0x3d, 0xf9, 0x7b, 0x1a, 0xff, 0x97, 0x18, 0xb8, 0x2b, 0x81, 0xbb, 0x11, - 0x70, 0x57, 0x01, 0x77, 0x43, 0xe0, 0xe3, 0x44, 0x61, 0x34, 0xe0, 0xee, 0x8d, 0x5a, 0x71, 0x93, - 0x08, 0x2c, 0xcb, 0xd3, 0xbf, 0x13, 0x57, 0x43, 0xa1, 0xf5, 0x75, 0x29, 0x25, 0x7f, 0xb5, 0xd8, - 0xfa, 0xba, 0x92, 0x5b, 0x5f, 0x0f, 0x05, 0x1b, 0xd3, 0xea, 0xbf, 0xd7, 0x6f, 0xfd, 0x37, 0x00, - 0x00, 0xff, 0xff, 0x38, 0x58, 0x1d, 0xfa, 0x51, 0x1e, 0x00, 0x00, + 0x94, 0x9d, 0xd6, 0x15, 0xb2, 0x1e, 0x72, 0x47, 0xe4, 0xd4, 0xdc, 0x59, 0x66, 0x67, 0x28, 0x59, + 0xb7, 0xf4, 0x50, 0xe4, 0x56, 0x14, 0x05, 0x0a, 0xf4, 0xda, 0x1c, 0x73, 0xe9, 0xa1, 0xb7, 0x5e, + 0x8a, 0xa2, 0x28, 0x50, 0xf4, 0x94, 0x4b, 0x81, 0x02, 0xbd, 0x14, 0x76, 0x81, 0x02, 0xbd, 0xb4, + 0x7f, 0x42, 0x31, 0xb3, 0xb3, 0xbb, 0x24, 0x45, 0x3b, 0x14, 0xed, 0x06, 0xe9, 0x85, 0xd8, 0xf7, + 0xe6, 0xf7, 0xde, 0xbc, 0x79, 0x33, 0xef, 0xcd, 0x7b, 0x43, 0x28, 0x74, 0x09, 0xeb, 0xb9, 0x0d, + 0x1f, 0xaf, 0x37, 0x3d, 0x9f, 0xac, 0x37, 0x3d, 0xb7, 0xeb, 0x31, 0xc2, 0xc4, 0x3a, 0x17, 0xf8, + 0x11, 0x59, 0x3f, 0xb8, 0x8e, 0x3b, 0xdd, 0x36, 0xbe, 0x1e, 0x90, 0xf9, 0xae, 0xef, 0x09, 0x0f, + 0x5d, 0x0d, 0x65, 0xf2, 0x52, 0x26, 0x1f, 0xc9, 0xe4, 0x03, 0x50, 0x28, 0xb3, 0xbc, 0x36, 0xa8, + 0x1b, 0x73, 0x4e, 0x44, 0xac, 0x51, 0x91, 0x81, 0xc6, 0xe5, 0xab, 0x83, 0xc8, 0x47, 0xe4, 0x88, + 0xc7, 0x40, 0x49, 0x69, 0xdc, 0x6b, 0x83, 0x38, 0xd6, 0x73, 0x63, 0x18, 0xeb, 0xb9, 0x01, 0xca, + 0xcc, 0xc3, 0xb9, 0x07, 0xb7, 0xef, 0x31, 0x87, 0x74, 0x48, 0x0b, 0x0b, 0x52, 0xea, 0x60, 0xea, + 0xd6, 0x7c, 0xcf, 0xdb, 0x47, 0x67, 0x60, 0x86, 0x32, 0x46, 0xfc, 0x9c, 0xb1, 0x6a, 0xac, 0xa5, + 0xad, 0x80, 0x30, 0xff, 0x30, 0x0d, 0x0b, 0xf7, 0x71, 0x87, 0x3a, 0x58, 0x78, 0x3e, 0xba, 0x0d, + 0x69, 0xea, 0x10, 0x26, 0xa8, 0x38, 0xb2, 0x1f, 0x91, 0x23, 0x05, 0x4d, 0x15, 0xd6, 0xf2, 0x83, + 0x8b, 0x56, 0x46, 0x85, 0x73, 0xe7, 0xab, 0x5a, 0xe0, 0x36, 0x39, 0xb2, 0x52, 0x34, 0x26, 0xd0, + 0x15, 0xc8, 0x34, 0x3d, 0xc6, 0x09, 0xe3, 0x3d, 0xae, 0xb4, 0x25, 0xd4, 0xc4, 0xe9, 0x88, 0x29, + 0x41, 0x08, 0x92, 0x0c, 0xbb, 0x24, 0x37, 0xbd, 0x6a, 0xac, 0x2d, 0x58, 0xea, 0x1b, 0xe5, 0x60, + 0xee, 0x90, 0x34, 0x38, 0x15, 0x24, 0x97, 0x54, 0xec, 0x90, 0x44, 0xab, 0x90, 0x72, 0x08, 0x6f, + 0xfa, 0xb4, 0x2b, 0xa8, 0xc7, 0x72, 0x33, 0x6a, 0xb4, 0x9f, 0x25, 0x65, 0x09, 0xc3, 0x8d, 0x0e, + 0x71, 0x72, 0xf3, 0xab, 0xc6, 0xda, 0xbc, 0x15, 0x92, 0xe8, 0x23, 0x58, 0xda, 0xef, 0x31, 0x87, + 0xb2, 0x96, 0xcd, 0x85, 0x4f, 0xb0, 0xcb, 0x73, 0xb3, 0xab, 0xd3, 0x6b, 0xa9, 0xc2, 0xdb, 0xf9, + 0xf1, 0xf6, 0x34, 0xff, 0x41, 0x20, 0x5e, 0x57, 0xd2, 0xd6, 0xe2, 0x7e, 0x3f, 0xc9, 0xd1, 0xeb, + 0xb0, 0xc4, 0xc9, 0xc7, 0x3d, 0xc2, 0x9a, 0xc4, 0x96, 0xea, 0x88, 0x9f, 0x9b, 0x5b, 0x35, 0xd6, + 0x32, 0xd6, 0x62, 0xc8, 0xde, 0x56, 0x5c, 0x74, 0x17, 0x16, 0x5b, 0xde, 0x01, 0xf1, 0x19, 0x96, + 0x50, 0xe9, 0x98, 0x05, 0xe5, 0xe6, 0x6b, 0xcf, 0x75, 0xf3, 0xcd, 0x48, 0x44, 0x3a, 0x3a, 0xd3, + 0xea, 0x27, 0xcd, 0x87, 0x90, 0x89, 0x36, 0xf1, 0x0e, 0xe5, 0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 0xb1, + 0x21, 0xa5, 0xe4, 0xaf, 0x16, 0xdb, 0xd8, 0x50, 0x72, 0x1b, 0x1b, 0xa1, 0x60, 0x63, 0x56, 0xfd, + 0xf1, 0xf7, 0xad, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x68, 0xc1, 0x46, 0xe1, 0xce, 0x1c, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2360,7 +2260,6 @@ type QueryServiceClient interface { ValidatorStatus(ctx context.Context, in *ValidatorStatusRequest, opts ...grpc.CallOption) (*ValidatorStatusResponse, error) ValidatorPenalty(ctx context.Context, in *ValidatorPenaltyRequest, opts ...grpc.CallOption) (*ValidatorPenaltyResponse, error) CurrentValidatorRate(ctx context.Context, in *CurrentValidatorRateRequest, opts ...grpc.CallOption) (*CurrentValidatorRateResponse, error) - NextValidatorRate(ctx context.Context, in *NextValidatorRateRequest, opts ...grpc.CallOption) (*NextValidatorRateResponse, error) } type queryServiceClient struct { @@ -2430,15 +2329,6 @@ func (c *queryServiceClient) CurrentValidatorRate(ctx context.Context, in *Curre return out, nil } -func (c *queryServiceClient) NextValidatorRate(ctx context.Context, in *NextValidatorRateRequest, opts ...grpc.CallOption) (*NextValidatorRateResponse, error) { - out := new(NextValidatorRateResponse) - err := c.cc.Invoke(ctx, "/penumbra.core.component.stake.v1alpha1.QueryService/NextValidatorRate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - // QueryServiceServer is the server API for QueryService service. type QueryServiceServer interface { // Queries the current validator set, with filtering. @@ -2446,7 +2336,6 @@ type QueryServiceServer interface { ValidatorStatus(context.Context, *ValidatorStatusRequest) (*ValidatorStatusResponse, error) ValidatorPenalty(context.Context, *ValidatorPenaltyRequest) (*ValidatorPenaltyResponse, error) CurrentValidatorRate(context.Context, *CurrentValidatorRateRequest) (*CurrentValidatorRateResponse, error) - NextValidatorRate(context.Context, *NextValidatorRateRequest) (*NextValidatorRateResponse, error) } // UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. @@ -2465,9 +2354,6 @@ func (*UnimplementedQueryServiceServer) ValidatorPenalty(ctx context.Context, re func (*UnimplementedQueryServiceServer) CurrentValidatorRate(ctx context.Context, req *CurrentValidatorRateRequest) (*CurrentValidatorRateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CurrentValidatorRate not implemented") } -func (*UnimplementedQueryServiceServer) NextValidatorRate(ctx context.Context, req *NextValidatorRateRequest) (*NextValidatorRateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NextValidatorRate not implemented") -} func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { s.RegisterService(&_QueryService_serviceDesc, srv) @@ -2548,24 +2434,6 @@ func _QueryService_CurrentValidatorRate_Handler(srv interface{}, ctx context.Con return interceptor(ctx, in, info, handler) } -func _QueryService_NextValidatorRate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NextValidatorRateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServiceServer).NextValidatorRate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/penumbra.core.component.stake.v1alpha1.QueryService/NextValidatorRate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServiceServer).NextValidatorRate(ctx, req.(*NextValidatorRateRequest)) - } - return interceptor(ctx, in, info, handler) -} - var _QueryService_serviceDesc = grpc.ServiceDesc{ ServiceName: "penumbra.core.component.stake.v1alpha1.QueryService", HandlerType: (*QueryServiceServer)(nil), @@ -2582,10 +2450,6 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{ MethodName: "CurrentValidatorRate", Handler: _QueryService_CurrentValidatorRate_Handler, }, - { - MethodName: "NextValidatorRate", - Handler: _QueryService_NextValidatorRate_Handler, - }, }, Streams: []grpc.StreamDesc{ { @@ -3686,10 +3550,12 @@ func (m *Penalty) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.Inner != 0 { - i = encodeVarintStake(dAtA, i, uint64(m.Inner)) + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintStake(dAtA, i, uint64(len(m.Inner))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } @@ -4010,83 +3876,6 @@ func (m *CurrentValidatorRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } -func (m *NextValidatorRateRequest) 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 *NextValidatorRateRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NextValidatorRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.IdentityKey != nil { - { - size, err := m.IdentityKey.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintStake(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ChainId) > 0 { - i -= len(m.ChainId) - copy(dAtA[i:], m.ChainId) - i = encodeVarintStake(dAtA, i, uint64(len(m.ChainId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NextValidatorRateResponse) 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 *NextValidatorRateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NextValidatorRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Data != nil { - { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintStake(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *StakeParameters) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4657,8 +4446,9 @@ func (m *Penalty) Size() (n int) { } var l int _ = l - if m.Inner != 0 { - n += 1 + sovStake(uint64(m.Inner)) + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovStake(uint64(l)) } return n } @@ -4788,36 +4578,6 @@ func (m *CurrentValidatorRateResponse) Size() (n int) { return n } -func (m *NextValidatorRateRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ChainId) - if l > 0 { - n += 1 + l + sovStake(uint64(l)) - } - if m.IdentityKey != nil { - l = m.IdentityKey.Size() - n += 1 + l + sovStake(uint64(l)) - } - return n -} - -func (m *NextValidatorRateResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovStake(uint64(l)) - } - return n -} - func (m *StakeParameters) Size() (n int) { if m == nil { return 0 @@ -7802,10 +7562,10 @@ func (m *Penalty) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: - if wireType != 0 { + if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) } - m.Inner = 0 + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowStake @@ -7815,11 +7575,26 @@ func (m *Penalty) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Inner |= uint64(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } + if byteLen < 0 { + return ErrInvalidLengthStake + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthStake + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipStake(dAtA[iNdEx:]) @@ -8679,210 +8454,6 @@ func (m *CurrentValidatorRateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *NextValidatorRateRequest) 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 ErrIntOverflowStake - } - 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: NextValidatorRateRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NextValidatorRateRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowStake - } - 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 ErrInvalidLengthStake - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthStake - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ChainId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdentityKey", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowStake - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthStake - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthStake - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.IdentityKey == nil { - m.IdentityKey = &v1alpha1.IdentityKey{} - } - if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipStake(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthStake - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NextValidatorRateResponse) 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 ErrIntOverflowStake - } - 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: NextValidatorRateResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NextValidatorRateResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowStake - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthStake - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthStake - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &RateData{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipStake(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthStake - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *StakeParameters) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/core/transaction/v1alpha1/transaction.pb.go b/relayer/chains/penumbra/core/transaction/v1alpha1/transaction.pb.go index be1a8b9cb..28cd077a8 100644 --- a/relayer/chains/penumbra/core/transaction/v1alpha1/transaction.pb.go +++ b/relayer/chains/penumbra/core/transaction/v1alpha1/transaction.pb.go @@ -7,7 +7,6 @@ import ( fmt "fmt" proto "github.com/cosmos/gogoproto/proto" v1alpha19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1alpha1" - v1alpha111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dex/v1alpha1" v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" v1alpha17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/governance/v1alpha1" @@ -17,7 +16,7 @@ import ( v1alpha15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1alpha1" v1alpha18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1alpha1" v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_fmd/v1alpha1" - v1alpha112 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1" + v1alpha111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1" v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1alpha1" io "io" math "math" @@ -385,7 +384,7 @@ type Action struct { // *Action_Swap // *Action_SwapClaim // *Action_ValidatorDefinition - // *Action_IbcAction + // *Action_IbcRelayAction // *Action_ProposalSubmit // *Action_ProposalWithdraw // *Action_ValidatorVote @@ -459,8 +458,8 @@ type Action_SwapClaim struct { type Action_ValidatorDefinition struct { ValidatorDefinition *v1alpha15.ValidatorDefinition `protobuf:"bytes,16,opt,name=validator_definition,json=validatorDefinition,proto3,oneof" json:"validator_definition,omitempty"` } -type Action_IbcAction struct { - IbcAction *v1alpha16.IbcAction `protobuf:"bytes,17,opt,name=ibc_action,json=ibcAction,proto3,oneof" json:"ibc_action,omitempty"` +type Action_IbcRelayAction struct { + IbcRelayAction *v1alpha16.IbcRelay `protobuf:"bytes,17,opt,name=ibc_relay_action,json=ibcRelayAction,proto3,oneof" json:"ibc_relay_action,omitempty"` } type Action_ProposalSubmit struct { ProposalSubmit *v1alpha17.ProposalSubmit `protobuf:"bytes,18,opt,name=proposal_submit,json=proposalSubmit,proto3,oneof" json:"proposal_submit,omitempty"` @@ -516,7 +515,7 @@ func (*Action_Output) isAction_Action() {} func (*Action_Swap) isAction_Action() {} func (*Action_SwapClaim) isAction_Action() {} func (*Action_ValidatorDefinition) isAction_Action() {} -func (*Action_IbcAction) isAction_Action() {} +func (*Action_IbcRelayAction) isAction_Action() {} func (*Action_ProposalSubmit) isAction_Action() {} func (*Action_ProposalWithdraw) isAction_Action() {} func (*Action_ValidatorVote) isAction_Action() {} @@ -576,9 +575,9 @@ func (m *Action) GetValidatorDefinition() *v1alpha15.ValidatorDefinition { return nil } -func (m *Action) GetIbcAction() *v1alpha16.IbcAction { - if x, ok := m.GetAction().(*Action_IbcAction); ok { - return x.IbcAction +func (m *Action) GetIbcRelayAction() *v1alpha16.IbcRelay { + if x, ok := m.GetAction().(*Action_IbcRelayAction); ok { + return x.IbcRelayAction } return nil } @@ -703,7 +702,7 @@ func (*Action) XXX_OneofWrappers() []interface{} { (*Action_Swap)(nil), (*Action_SwapClaim)(nil), (*Action_ValidatorDefinition)(nil), - (*Action_IbcAction)(nil), + (*Action_IbcRelayAction)(nil), (*Action_ProposalSubmit)(nil), (*Action_ProposalWithdraw)(nil), (*Action_ValidatorVote)(nil), @@ -1074,7 +1073,7 @@ type ActionView struct { // *ActionView_Swap // *ActionView_SwapClaim // *ActionView_ValidatorDefinition - // *ActionView_IbcAction + // *ActionView_IbcRelayAction // *ActionView_ProposalSubmit // *ActionView_ProposalWithdraw // *ActionView_ValidatorVote @@ -1148,8 +1147,8 @@ type ActionView_SwapClaim struct { type ActionView_ValidatorDefinition struct { ValidatorDefinition *v1alpha15.ValidatorDefinition `protobuf:"bytes,16,opt,name=validator_definition,json=validatorDefinition,proto3,oneof" json:"validator_definition,omitempty"` } -type ActionView_IbcAction struct { - IbcAction *v1alpha16.IbcAction `protobuf:"bytes,17,opt,name=ibc_action,json=ibcAction,proto3,oneof" json:"ibc_action,omitempty"` +type ActionView_IbcRelayAction struct { + IbcRelayAction *v1alpha16.IbcRelay `protobuf:"bytes,17,opt,name=ibc_relay_action,json=ibcRelayAction,proto3,oneof" json:"ibc_relay_action,omitempty"` } type ActionView_ProposalSubmit struct { ProposalSubmit *v1alpha17.ProposalSubmit `protobuf:"bytes,18,opt,name=proposal_submit,json=proposalSubmit,proto3,oneof" json:"proposal_submit,omitempty"` @@ -1205,7 +1204,7 @@ func (*ActionView_Output) isActionView_ActionView() {} func (*ActionView_Swap) isActionView_ActionView() {} func (*ActionView_SwapClaim) isActionView_ActionView() {} func (*ActionView_ValidatorDefinition) isActionView_ActionView() {} -func (*ActionView_IbcAction) isActionView_ActionView() {} +func (*ActionView_IbcRelayAction) isActionView_ActionView() {} func (*ActionView_ProposalSubmit) isActionView_ActionView() {} func (*ActionView_ProposalWithdraw) isActionView_ActionView() {} func (*ActionView_ValidatorVote) isActionView_ActionView() {} @@ -1265,9 +1264,9 @@ func (m *ActionView) GetValidatorDefinition() *v1alpha15.ValidatorDefinition { return nil } -func (m *ActionView) GetIbcAction() *v1alpha16.IbcAction { - if x, ok := m.GetActionView().(*ActionView_IbcAction); ok { - return x.IbcAction +func (m *ActionView) GetIbcRelayAction() *v1alpha16.IbcRelay { + if x, ok := m.GetActionView().(*ActionView_IbcRelayAction); ok { + return x.IbcRelayAction } return nil } @@ -1392,7 +1391,7 @@ func (*ActionView) XXX_OneofWrappers() []interface{} { (*ActionView_Swap)(nil), (*ActionView_SwapClaim)(nil), (*ActionView_ValidatorDefinition)(nil), - (*ActionView_IbcAction)(nil), + (*ActionView_IbcRelayAction)(nil), (*ActionView_ProposalSubmit)(nil), (*ActionView_ProposalWithdraw)(nil), (*ActionView_ValidatorVote)(nil), @@ -1412,23 +1411,68 @@ func (*ActionView) XXX_OneofWrappers() []interface{} { } } +// An authorization hash for a Penumbra transaction. +type EffectHash struct { + Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` +} + +func (m *EffectHash) Reset() { *m = EffectHash{} } +func (m *EffectHash) String() string { return proto.CompactTextString(m) } +func (*EffectHash) ProtoMessage() {} +func (*EffectHash) Descriptor() ([]byte, []int) { + return fileDescriptor_cd20ea79758052c4, []int{13} +} +func (m *EffectHash) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EffectHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EffectHash.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 *EffectHash) XXX_Merge(src proto.Message) { + xxx_messageInfo_EffectHash.Merge(m, src) +} +func (m *EffectHash) XXX_Size() int { + return m.Size() +} +func (m *EffectHash) XXX_DiscardUnknown() { + xxx_messageInfo_EffectHash.DiscardUnknown(m) +} + +var xxx_messageInfo_EffectHash proto.InternalMessageInfo + +func (m *EffectHash) GetInner() []byte { + if m != nil { + return m.Inner + } + return nil +} + // The data required to authorize a transaction plan. type AuthorizationData struct { // The computed auth hash for the approved transaction plan. - EffectHash *v1alpha111.EffectHash `protobuf:"bytes,1,opt,name=effect_hash,json=effectHash,proto3" json:"effect_hash,omitempty"` + EffectHash *EffectHash `protobuf:"bytes,1,opt,name=effect_hash,json=effectHash,proto3" json:"effect_hash,omitempty"` // The required spend authorizations, returned in the same order as the // Spend actions in the original request. - SpendAuths []*v1alpha112.SpendAuthSignature `protobuf:"bytes,2,rep,name=spend_auths,json=spendAuths,proto3" json:"spend_auths,omitempty"` + SpendAuths []*v1alpha111.SpendAuthSignature `protobuf:"bytes,2,rep,name=spend_auths,json=spendAuths,proto3" json:"spend_auths,omitempty"` // The required delegator vote authorizations, returned in the same order as the // DelegatorVote actions in the original request. - DelegatorVoteAuths []*v1alpha112.SpendAuthSignature `protobuf:"bytes,3,rep,name=delegator_vote_auths,json=delegatorVoteAuths,proto3" json:"delegator_vote_auths,omitempty"` + DelegatorVoteAuths []*v1alpha111.SpendAuthSignature `protobuf:"bytes,3,rep,name=delegator_vote_auths,json=delegatorVoteAuths,proto3" json:"delegator_vote_auths,omitempty"` } func (m *AuthorizationData) Reset() { *m = AuthorizationData{} } func (m *AuthorizationData) String() string { return proto.CompactTextString(m) } func (*AuthorizationData) ProtoMessage() {} func (*AuthorizationData) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{13} + return fileDescriptor_cd20ea79758052c4, []int{14} } func (m *AuthorizationData) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1457,21 +1501,21 @@ func (m *AuthorizationData) XXX_DiscardUnknown() { var xxx_messageInfo_AuthorizationData proto.InternalMessageInfo -func (m *AuthorizationData) GetEffectHash() *v1alpha111.EffectHash { +func (m *AuthorizationData) GetEffectHash() *EffectHash { if m != nil { return m.EffectHash } return nil } -func (m *AuthorizationData) GetSpendAuths() []*v1alpha112.SpendAuthSignature { +func (m *AuthorizationData) GetSpendAuths() []*v1alpha111.SpendAuthSignature { if m != nil { return m.SpendAuths } return nil } -func (m *AuthorizationData) GetDelegatorVoteAuths() []*v1alpha112.SpendAuthSignature { +func (m *AuthorizationData) GetDelegatorVoteAuths() []*v1alpha111.SpendAuthSignature { if m != nil { return m.DelegatorVoteAuths } @@ -1491,7 +1535,7 @@ func (m *WitnessData) Reset() { *m = WitnessData{} } func (m *WitnessData) String() string { return proto.CompactTextString(m) } func (*WitnessData) ProtoMessage() {} func (*WitnessData) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{14} + return fileDescriptor_cd20ea79758052c4, []int{15} } func (m *WitnessData) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1554,7 +1598,7 @@ func (m *TransactionPlan) Reset() { *m = TransactionPlan{} } func (m *TransactionPlan) String() string { return proto.CompactTextString(m) } func (*TransactionPlan) ProtoMessage() {} func (*TransactionPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{15} + return fileDescriptor_cd20ea79758052c4, []int{16} } func (m *TransactionPlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1637,7 +1681,7 @@ type ActionPlan struct { // *ActionPlan_Swap // *ActionPlan_SwapClaim // *ActionPlan_ValidatorDefinition - // *ActionPlan_IbcAction + // *ActionPlan_IbcRelayAction // *ActionPlan_ProposalSubmit // *ActionPlan_ProposalWithdraw // *ActionPlan_ValidatorVote @@ -1661,7 +1705,7 @@ func (m *ActionPlan) Reset() { *m = ActionPlan{} } func (m *ActionPlan) String() string { return proto.CompactTextString(m) } func (*ActionPlan) ProtoMessage() {} func (*ActionPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{16} + return fileDescriptor_cd20ea79758052c4, []int{17} } func (m *ActionPlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1711,8 +1755,8 @@ type ActionPlan_SwapClaim struct { type ActionPlan_ValidatorDefinition struct { ValidatorDefinition *v1alpha15.ValidatorDefinition `protobuf:"bytes,16,opt,name=validator_definition,json=validatorDefinition,proto3,oneof" json:"validator_definition,omitempty"` } -type ActionPlan_IbcAction struct { - IbcAction *v1alpha16.IbcAction `protobuf:"bytes,17,opt,name=ibc_action,json=ibcAction,proto3,oneof" json:"ibc_action,omitempty"` +type ActionPlan_IbcRelayAction struct { + IbcRelayAction *v1alpha16.IbcRelay `protobuf:"bytes,17,opt,name=ibc_relay_action,json=ibcRelayAction,proto3,oneof" json:"ibc_relay_action,omitempty"` } type ActionPlan_ProposalSubmit struct { ProposalSubmit *v1alpha17.ProposalSubmit `protobuf:"bytes,18,opt,name=proposal_submit,json=proposalSubmit,proto3,oneof" json:"proposal_submit,omitempty"` @@ -1768,7 +1812,7 @@ func (*ActionPlan_Output) isActionPlan_Action() {} func (*ActionPlan_Swap) isActionPlan_Action() {} func (*ActionPlan_SwapClaim) isActionPlan_Action() {} func (*ActionPlan_ValidatorDefinition) isActionPlan_Action() {} -func (*ActionPlan_IbcAction) isActionPlan_Action() {} +func (*ActionPlan_IbcRelayAction) isActionPlan_Action() {} func (*ActionPlan_ProposalSubmit) isActionPlan_Action() {} func (*ActionPlan_ProposalWithdraw) isActionPlan_Action() {} func (*ActionPlan_ValidatorVote) isActionPlan_Action() {} @@ -1828,9 +1872,9 @@ func (m *ActionPlan) GetValidatorDefinition() *v1alpha15.ValidatorDefinition { return nil } -func (m *ActionPlan) GetIbcAction() *v1alpha16.IbcAction { - if x, ok := m.GetAction().(*ActionPlan_IbcAction); ok { - return x.IbcAction +func (m *ActionPlan) GetIbcRelayAction() *v1alpha16.IbcRelay { + if x, ok := m.GetAction().(*ActionPlan_IbcRelayAction); ok { + return x.IbcRelayAction } return nil } @@ -1955,7 +1999,7 @@ func (*ActionPlan) XXX_OneofWrappers() []interface{} { (*ActionPlan_Swap)(nil), (*ActionPlan_SwapClaim)(nil), (*ActionPlan_ValidatorDefinition)(nil), - (*ActionPlan_IbcAction)(nil), + (*ActionPlan_IbcRelayAction)(nil), (*ActionPlan_ProposalSubmit)(nil), (*ActionPlan_ProposalWithdraw)(nil), (*ActionPlan_ValidatorVote)(nil), @@ -1989,7 +2033,7 @@ func (m *CluePlan) Reset() { *m = CluePlan{} } func (m *CluePlan) String() string { return proto.CompactTextString(m) } func (*CluePlan) ProtoMessage() {} func (*CluePlan) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{17} + return fileDescriptor_cd20ea79758052c4, []int{18} } func (m *CluePlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2051,7 +2095,7 @@ func (m *MemoPlan) Reset() { *m = MemoPlan{} } func (m *MemoPlan) String() string { return proto.CompactTextString(m) } func (*MemoPlan) ProtoMessage() {} func (*MemoPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{18} + return fileDescriptor_cd20ea79758052c4, []int{19} } func (m *MemoPlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2102,7 +2146,7 @@ func (m *MemoCiphertext) Reset() { *m = MemoCiphertext{} } func (m *MemoCiphertext) String() string { return proto.CompactTextString(m) } func (*MemoCiphertext) ProtoMessage() {} func (*MemoCiphertext) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{19} + return fileDescriptor_cd20ea79758052c4, []int{20} } func (m *MemoCiphertext) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2139,15 +2183,15 @@ func (m *MemoCiphertext) GetInner() []byte { } type MemoPlaintext struct { - Sender *v1alpha18.Address `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` + ReturnAddress *v1alpha18.Address `protobuf:"bytes,1,opt,name=return_address,json=returnAddress,proto3" json:"return_address,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` } func (m *MemoPlaintext) Reset() { *m = MemoPlaintext{} } func (m *MemoPlaintext) String() string { return proto.CompactTextString(m) } func (*MemoPlaintext) ProtoMessage() {} func (*MemoPlaintext) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{20} + return fileDescriptor_cd20ea79758052c4, []int{21} } func (m *MemoPlaintext) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2176,9 +2220,9 @@ func (m *MemoPlaintext) XXX_DiscardUnknown() { var xxx_messageInfo_MemoPlaintext proto.InternalMessageInfo -func (m *MemoPlaintext) GetSender() *v1alpha18.Address { +func (m *MemoPlaintext) GetReturnAddress() *v1alpha18.Address { if m != nil { - return m.Sender + return m.ReturnAddress } return nil } @@ -2190,6 +2234,58 @@ func (m *MemoPlaintext) GetText() string { return "" } +type MemoPlaintextView struct { + ReturnAddress *v1alpha18.AddressView `protobuf:"bytes,1,opt,name=return_address,json=returnAddress,proto3" json:"return_address,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` +} + +func (m *MemoPlaintextView) Reset() { *m = MemoPlaintextView{} } +func (m *MemoPlaintextView) String() string { return proto.CompactTextString(m) } +func (*MemoPlaintextView) ProtoMessage() {} +func (*MemoPlaintextView) Descriptor() ([]byte, []int) { + return fileDescriptor_cd20ea79758052c4, []int{22} +} +func (m *MemoPlaintextView) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MemoPlaintextView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MemoPlaintextView.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 *MemoPlaintextView) XXX_Merge(src proto.Message) { + xxx_messageInfo_MemoPlaintextView.Merge(m, src) +} +func (m *MemoPlaintextView) XXX_Size() int { + return m.Size() +} +func (m *MemoPlaintextView) XXX_DiscardUnknown() { + xxx_messageInfo_MemoPlaintextView.DiscardUnknown(m) +} + +var xxx_messageInfo_MemoPlaintextView proto.InternalMessageInfo + +func (m *MemoPlaintextView) GetReturnAddress() *v1alpha18.AddressView { + if m != nil { + return m.ReturnAddress + } + return nil +} + +func (m *MemoPlaintextView) GetText() string { + if m != nil { + return m.Text + } + return "" +} + type MemoView struct { // Types that are valid to be assigned to MemoView: // @@ -2202,7 +2298,7 @@ func (m *MemoView) Reset() { *m = MemoView{} } func (m *MemoView) String() string { return proto.CompactTextString(m) } func (*MemoView) ProtoMessage() {} func (*MemoView) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{21} + return fileDescriptor_cd20ea79758052c4, []int{23} } func (m *MemoView) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2277,15 +2373,15 @@ func (*MemoView) XXX_OneofWrappers() []interface{} { } type MemoView_Visible struct { - Ciphertext *MemoCiphertext `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` - Plaintext *MemoPlaintext `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"` + Ciphertext *MemoCiphertext `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` + Plaintext *MemoPlaintextView `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"` } func (m *MemoView_Visible) Reset() { *m = MemoView_Visible{} } func (m *MemoView_Visible) String() string { return proto.CompactTextString(m) } func (*MemoView_Visible) ProtoMessage() {} func (*MemoView_Visible) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{21, 0} + return fileDescriptor_cd20ea79758052c4, []int{23, 0} } func (m *MemoView_Visible) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2321,7 +2417,7 @@ func (m *MemoView_Visible) GetCiphertext() *MemoCiphertext { return nil } -func (m *MemoView_Visible) GetPlaintext() *MemoPlaintext { +func (m *MemoView_Visible) GetPlaintext() *MemoPlaintextView { if m != nil { return m.Plaintext } @@ -2336,7 +2432,7 @@ func (m *MemoView_Opaque) Reset() { *m = MemoView_Opaque{} } func (m *MemoView_Opaque) String() string { return proto.CompactTextString(m) } func (*MemoView_Opaque) ProtoMessage() {} func (*MemoView_Opaque) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{21, 1} + return fileDescriptor_cd20ea79758052c4, []int{23, 1} } func (m *MemoView_Opaque) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2386,6 +2482,7 @@ func init() { proto.RegisterType((*TransactionView)(nil), "penumbra.core.transaction.v1alpha1.TransactionView") proto.RegisterType((*TransactionBodyView)(nil), "penumbra.core.transaction.v1alpha1.TransactionBodyView") proto.RegisterType((*ActionView)(nil), "penumbra.core.transaction.v1alpha1.ActionView") + proto.RegisterType((*EffectHash)(nil), "penumbra.core.transaction.v1alpha1.EffectHash") proto.RegisterType((*AuthorizationData)(nil), "penumbra.core.transaction.v1alpha1.AuthorizationData") proto.RegisterType((*WitnessData)(nil), "penumbra.core.transaction.v1alpha1.WitnessData") proto.RegisterType((*TransactionPlan)(nil), "penumbra.core.transaction.v1alpha1.TransactionPlan") @@ -2394,6 +2491,7 @@ func init() { proto.RegisterType((*MemoPlan)(nil), "penumbra.core.transaction.v1alpha1.MemoPlan") proto.RegisterType((*MemoCiphertext)(nil), "penumbra.core.transaction.v1alpha1.MemoCiphertext") proto.RegisterType((*MemoPlaintext)(nil), "penumbra.core.transaction.v1alpha1.MemoPlaintext") + proto.RegisterType((*MemoPlaintextView)(nil), "penumbra.core.transaction.v1alpha1.MemoPlaintextView") proto.RegisterType((*MemoView)(nil), "penumbra.core.transaction.v1alpha1.MemoView") proto.RegisterType((*MemoView_Visible)(nil), "penumbra.core.transaction.v1alpha1.MemoView.Visible") proto.RegisterType((*MemoView_Opaque)(nil), "penumbra.core.transaction.v1alpha1.MemoView.Opaque") @@ -2404,154 +2502,156 @@ func init() { } var fileDescriptor_cd20ea79758052c4 = []byte{ - // 2342 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0x4f, 0x73, 0x1b, 0x49, - 0x15, 0xd7, 0xbf, 0x38, 0xf6, 0x93, 0xe5, 0x38, 0x1d, 0x27, 0x2b, 0x72, 0xf0, 0xa6, 0x06, 0x36, - 0x38, 0x59, 0x90, 0x37, 0x76, 0x20, 0xac, 0x92, 0xdd, 0xda, 0xd8, 0x86, 0x95, 0x6b, 0xcb, 0x89, - 0x76, 0x6c, 0x62, 0x76, 0x71, 0x95, 0x68, 0xcd, 0xb4, 0xac, 0x26, 0xa3, 0xe9, 0x61, 0xba, 0x25, - 0xc7, 0x7c, 0x01, 0xae, 0xdc, 0xb8, 0x73, 0x04, 0x8a, 0x4b, 0x4e, 0x14, 0xdc, 0xd9, 0x5a, 0x2e, - 0x39, 0x72, 0x84, 0xe4, 0xc6, 0x89, 0x8f, 0x40, 0x75, 0x4f, 0x4f, 0xcf, 0xc8, 0x96, 0xa2, 0x3f, - 0xf1, 0x6e, 0xb1, 0x55, 0x3e, 0xb9, 0xfb, 0xf9, 0xbd, 0xdf, 0x7b, 0xfd, 0xfa, 0x4d, 0xcf, 0xfb, - 0x4d, 0x0b, 0xee, 0x06, 0xc4, 0xef, 0x76, 0x9a, 0x21, 0x5e, 0x75, 0x58, 0x48, 0x56, 0x45, 0x88, - 0x7d, 0x8e, 0x1d, 0x41, 0x99, 0xbf, 0xda, 0xbb, 0x83, 0xbd, 0xa0, 0x8d, 0xef, 0xa4, 0x85, 0x95, - 0x20, 0x64, 0x82, 0x21, 0x2b, 0xb6, 0xaa, 0x48, 0xab, 0x4a, 0x5a, 0x21, 0xb6, 0xba, 0x7e, 0x33, - 0x41, 0x0e, 0x8f, 0x03, 0xc1, 0x56, 0x85, 0x23, 0x52, 0x98, 0x8e, 0x88, 0xb0, 0xae, 0xff, 0xe8, - 0xa4, 0x9e, 0x4b, 0x1c, 0xdc, 0x5a, 0xbf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96, 0xa8, 0x0e, 0x20, 0xff, 0x36, 0x1c, 0x0f, - 0xd3, 0x8e, 0xae, 0xba, 0xd5, 0xf1, 0x71, 0x36, 0xa5, 0x59, 0x2d, 0x63, 0xcf, 0xf1, 0x78, 0x82, - 0x02, 0x58, 0xea, 0x61, 0x8f, 0xba, 0x58, 0xb0, 0xb0, 0xe1, 0x92, 0x16, 0xf5, 0xa9, 0x4c, 0x66, - 0x79, 0x51, 0x61, 0xdf, 0x1f, 0xbe, 0x66, 0x75, 0x58, 0x1a, 0xf4, 0x27, 0x31, 0xc6, 0x96, 0x81, - 0xa8, 0x65, 0xec, 0x2b, 0xbd, 0xd3, 0x62, 0xb9, 0x06, 0xda, 0x74, 0x1a, 0x51, 0x91, 0x95, 0x2f, - 0x8f, 0x58, 0x83, 0x3c, 0xc6, 0x8d, 0x97, 0xed, 0xa6, 0x13, 0xed, 0xb5, 0x5c, 0x03, 0x8d, 0x27, - 0xa8, 0x05, 0x97, 0x82, 0x90, 0x05, 0x8c, 0x63, 0xaf, 0xc1, 0xbb, 0xcd, 0x0e, 0x15, 0x65, 0x34, - 0x22, 0xfc, 0xd4, 0x91, 0x6d, 0xd0, 0xeb, 0x1a, 0x63, 0x57, 0x41, 0xd4, 0x32, 0xf6, 0x42, 0xd0, - 0x27, 0x41, 0x1e, 0x5c, 0x36, 0x7e, 0x8e, 0xa8, 0x68, 0xbb, 0x21, 0x3e, 0x2a, 0x5f, 0x51, 0x9e, - 0x3e, 0x98, 0xca, 0xd3, 0xbe, 0x06, 0xa9, 0x65, 0xec, 0xc5, 0xe0, 0x84, 0x0c, 0x39, 0xb0, 0x90, - 0xec, 0x4c, 0x8f, 0x09, 0x52, 0x5e, 0x52, 0xae, 0xaa, 0x13, 0xb9, 0x32, 0x1b, 0xf3, 0x84, 0x09, - 0x52, 0xcb, 0xd8, 0xa5, 0x5e, 0x5a, 0x20, 0x9d, 0xb8, 0xc4, 0x23, 0x87, 0x89, 0x93, 0xab, 0x53, - 0x38, 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0x67, 0xe4, 0x1c, 0xed, - 0xc3, 0x3c, 0x76, 0x7b, 0xd4, 0x21, 0x0d, 0x9f, 0x09, 0xc2, 0xcb, 0x79, 0x85, 0x7e, 0x77, 0xd2, - 0xfe, 0x45, 0x81, 0x17, 0x23, 0x24, 0x39, 0xe6, 0x68, 0x07, 0x4a, 0xd8, 0x75, 0x43, 0xc2, 0x79, - 0xa3, 0x47, 0xc9, 0x51, 0xdc, 0xba, 0xad, 0x9c, 0x40, 0x56, 0x9c, 0x35, 0x69, 0xf6, 0x23, 0x8b, - 0x27, 0x94, 0x1c, 0xd9, 0xf3, 0x38, 0x99, 0x70, 0xb4, 0x09, 0x33, 0x2e, 0xf1, 0x59, 0x87, 0x97, - 0x2f, 0x9c, 0x6a, 0x01, 0x25, 0x4e, 0x44, 0x92, 0x53, 0xcf, 0xbf, 0xcf, 0x3a, 0x3b, 0x44, 0x60, - 0xd9, 0x1d, 0xdb, 0xda, 0x14, 0xed, 0xc0, 0x42, 0x9a, 0x3b, 0x50, 0xb7, 0x3c, 0xa3, 0xca, 0xe6, - 0xe6, 0x38, 0xc9, 0xdc, 0x76, 0xed, 0x52, 0xea, 0x1f, 0xdb, 0xae, 0xf5, 0x3c, 0x0b, 0xe5, 0x61, - 0xfb, 0x88, 0x6a, 0x50, 0x4c, 0xd5, 0x86, 0xee, 0x33, 0xbf, 0xfb, 0xda, 0xd5, 0x27, 0x58, 0x36, - 0x24, 0x55, 0x80, 0x76, 0x00, 0x1c, 0x83, 0xab, 0x1b, 0xcc, 0xef, 0xbf, 0x9e, 0xab, 0xed, 0x0a, - 0x79, 0x70, 0x24, 0x45, 0x95, 0x02, 0xb0, 0xfe, 0x94, 0x85, 0xcb, 0xa7, 0x0a, 0x03, 0xed, 0xc0, - 0x9c, 0xa9, 0x31, 0x1d, 0xec, 0xf0, 0x46, 0x8b, 0xa7, 0x7d, 0x19, 0x2c, 0x3b, 0x41, 0x40, 0x35, - 0x28, 0xc8, 0x7a, 0xd2, 0xd1, 0x4e, 0x57, 0x4e, 0x0a, 0xc1, 0xfa, 0x32, 0xdb, 0xc7, 0x24, 0x65, - 0x35, 0xc8, 0xc3, 0x50, 0x52, 0x5c, 0x55, 0x58, 0x3a, 0xd8, 0x7b, 0x53, 0x10, 0x65, 0x55, 0x66, - 0xb3, 0x4d, 0x3d, 0xfa, 0x3a, 0x08, 0xf3, 0xdf, 0xf2, 0x70, 0x65, 0x40, 0x10, 0xe8, 0x53, 0x98, - 0xd7, 0x35, 0x19, 0x3d, 0x2b, 0xd1, 0x41, 0x52, 0x19, 0x9f, 0x1f, 0xab, 0xa5, 0x14, 0x93, 0x14, - 0x9d, 0xf3, 0xe4, 0x53, 0x3c, 0x59, 0x15, 0xcb, 0x84, 0x3c, 0x39, 0xaa, 0x90, 0x8e, 0x1e, 0x59, - 0x2f, 0x16, 0x01, 0x92, 0x7c, 0xa3, 0x4f, 0xfb, 0x49, 0xe4, 0xfb, 0x53, 0x91, 0x48, 0x89, 0x94, - 0x10, 0xc9, 0xbd, 0x13, 0x44, 0xb2, 0x3a, 0x1d, 0x91, 0xd4, 0xa0, 0x31, 0x99, 0xdc, 0xea, 0x23, - 0x93, 0x95, 0xf1, 0x49, 0xa0, 0xc6, 0x89, 0x08, 0xe5, 0xde, 0x00, 0x42, 0xb9, 0x3e, 0x21, 0xa1, - 0xd4, 0x80, 0xe7, 0xa4, 0xf2, 0x9c, 0x54, 0x46, 0x7c, 0xef, 0x70, 0x08, 0xa9, 0xfc, 0x70, 0x7a, - 0x52, 0xa9, 0x6b, 0xec, 0x9c, 0x58, 0x9e, 0x13, 0xcb, 0x31, 0x88, 0xe5, 0xad, 0x33, 0x27, 0x96, - 0xb7, 0xcf, 0x88, 0x58, 0x9e, 0x53, 0x3e, 0x43, 0xf9, 0x06, 0x71, 0xec, 0x77, 0xcf, 0x9c, 0x63, - 0x7f, 0x2d, 0xc4, 0xb2, 0x04, 0xc5, 0x54, 0xab, 0x67, 0x3d, 0xcf, 0xc1, 0xe5,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, 0xbe, 0x78, 0xb9, - 0x9c, 0xfd, 0xd7, 0xcb, 0xe5, 0xec, 0x6f, 0x5f, 0x2d, 0x67, 0x5e, 0xbc, 0x5a, 0xce, 0xfc, 0xf3, - 0xd5, 0x72, 0x06, 0x6e, 0x3a, 0xac, 0x33, 0x86, 0xab, 0x8d, 0xc5, 0x34, 0x9d, 0x0a, 0x99, 0x60, - 0xf5, 0xec, 0xe7, 0xcd, 0x43, 0x2a, 0xda, 0xdd, 0xa6, 0x7c, 0xda, 0x57, 0x1d, 0xc6, 0x3b, 0x8c, - 0xaf, 0x86, 0xc4, 0xc3, 0xc7, 0x24, 0x5c, 0xed, 0xad, 0x99, 0xa1, 0x62, 0x3d, 0x7c, 0x75, 0xf4, - 0x0f, 0x8f, 0xef, 0xa7, 0x84, 0xb1, 0xec, 0xf7, 0xb9, 0x7c, 0x7d, 0x73, 0xef, 0x0f, 0x39, 0xab, - 0x1e, 0x87, 0xb8, 0x29, 0x43, 0x4c, 0x05, 0x53, 0x79, 0xa2, 0x55, 0xbf, 0x4c, 0x94, 0x0e, 0xa4, - 0xd2, 0x41, 0x4a, 0xe9, 0x20, 0x56, 0x7a, 0x99, 0xab, 0x8c, 0x56, 0x3a, 0xf8, 0xb8, 0xbe, 0x11, - 0xdf, 0x6c, 0xfe, 0x27, 0xf7, 0x4e, 0x6c, 0x50, 0xad, 0x4a, 0x8b, 0x6a, 0x35, 0x65, 0x52, 0xad, - 0xc6, 0x36, 0xcd, 0x19, 0xf5, 0x63, 0xd3, 0xf5, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x0d, 0xaa, - 0xca, 0xec, 0x62, 0x2d, 0x00, 0x00, + // 2372 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x73, 0x1b, 0x49, + 0x15, 0x97, 0x2c, 0xc5, 0xb1, 0x9f, 0x2c, 0xc7, 0xee, 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, 0x2a, 0xd8, 0xc3, 0x89, 0x92, + 0xb7, 0x19, 0x22, 0x45, 0xd5, 0x7d, 0xc5, 0xef, 0x63, 0x47, 0x9f, 0x42, 0x59, 0xf5, 0xe4, 0x99, + 0xcd, 0x7c, 0xe2, 0x55, 0x96, 0x54, 0xc4, 0xd5, 0xd1, 0xbe, 0x9e, 0x86, 0x76, 0xdd, 0xf1, 0x89, + 0x2c, 0xec, 0x39, 0x3f, 0xd5, 0x47, 0x07, 0x30, 0x1f, 0x43, 0xdb, 0x2e, 0xe3, 0xa4, 0xf2, 0x76, + 0xdf, 0x8b, 0x7e, 0x08, 0xf6, 0x86, 0x74, 0x95, 0x39, 0xf3, 0xd3, 0x06, 0x44, 0x60, 0x31, 0x46, + 0x8f, 0x6b, 0xed, 0xc6, 0x90, 0x23, 0xa9, 0x6f, 0x80, 0x4c, 0x91, 0x9d, 0xb0, 0x21, 0x06, 0x57, + 0xe3, 0x30, 0x01, 0x39, 0xc2, 0x81, 0xa3, 0x77, 0xc6, 0xe8, 0x7b, 0x05, 0x0f, 0x09, 0x65, 0x2a, + 0x84, 0x68, 0x47, 0x2e, 0xfb, 0xa7, 0xcd, 0xe8, 0x31, 0xcc, 0xe8, 0xe2, 0x20, 0x95, 0x65, 0x15, + 0xe3, 0xdd, 0x51, 0x4f, 0x1b, 0x5d, 0x65, 0x32, 0x59, 0x31, 0x06, 0xda, 0x03, 0xe8, 0x7a, 0x31, + 0xe2, 0xed, 0x21, 0xbb, 0x7b, 0x02, 0xf1, 0x87, 0xb1, 0x67, 0x3d, 0x67, 0xa6, 0x70, 0x90, 0x03, + 0x0b, 0x49, 0x4f, 0x67, 0xe4, 0x8e, 0xc2, 0xbe, 0x3f, 0x3e, 0x76, 0x94, 0x8f, 0x4b, 0xdd, 0xac, + 0x09, 0xed, 0xc1, 0xac, 0x83, 0x99, 0x15, 0x5e, 0x5f, 0xab, 0x43, 0xae, 0xaf, 0xbe, 0xdf, 0x1d, + 0x66, 0xd1, 0xf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, 0x4b, 0x21, 0x92, 0x6c, 0x73, 0xb4, 0x0d, 0x65, 0xec, + 0x38, 0x01, 0xe1, 0xdc, 0xea, 0x51, 0x72, 0x14, 0x91, 0xb8, 0xe5, 0x13, 0xc8, 0x4a, 0xb1, 0x25, + 0xb4, 0x3f, 0xf4, 0x78, 0x42, 0xc9, 0x91, 0x39, 0x87, 0x93, 0x0e, 0x47, 0x1b, 0x30, 0xed, 0x10, + 0x8f, 0x75, 0x78, 0xe5, 0xc2, 0x29, 0x32, 0x28, 0x71, 0x42, 0x61, 0x9e, 0xfa, 0xfe, 0x3d, 0xd6, + 0xd9, 0x26, 0x02, 0x4b, 0x9e, 0x6c, 0x6a, 0x57, 0xb4, 0x0d, 0xf3, 0x69, 0x15, 0x41, 0x9d, 0xca, + 0xb4, 0x2a, 0x9b, 0x5b, 0xa3, 0x24, 0x73, 0xcb, 0x31, 0xcb, 0xa9, 0xff, 0xd8, 0x72, 0x8c, 0x3f, + 0xe6, 0xa1, 0x32, 0x68, 0x1f, 0x51, 0x1d, 0x4a, 0xa9, 0xda, 0xd0, 0x8c, 0xf3, 0x9b, 0xaf, 0x5c, + 0x7d, 0x82, 0x65, 0x42, 0x52, 0x05, 0x68, 0x1b, 0xc0, 0x8e, 0x71, 0x35, 0xd5, 0xfc, 0xf6, 0xab, + 0x55, 0xdb, 0xae, 0x90, 0x07, 0x47, 0x52, 0x54, 0x29, 0x00, 0xe3, 0x77, 0x79, 0x58, 0x3c, 0x55, + 0x18, 0x68, 0x1b, 0x66, 0xe3, 0x1a, 0xd3, 0x93, 0x1d, 0x4c, 0x1b, 0x79, 0x3a, 0x56, 0x8c, 0x65, + 0x26, 0x08, 0xa8, 0x0e, 0x45, 0x59, 0x4f, 0x7a, 0xb6, 0x93, 0x95, 0x93, 0x42, 0x30, 0x3e, 0xcf, + 0x67, 0x34, 0xa5, 0xac, 0x06, 0x79, 0x18, 0x4a, 0xb1, 0xab, 0x0a, 0x4b, 0x4f, 0xf6, 0xfe, 0x04, + 0x92, 0x59, 0x95, 0xd9, 0x4c, 0x53, 0xb7, 0xde, 0x84, 0x74, 0xfe, 0x4b, 0x01, 0x2e, 0xf7, 0x99, + 0x04, 0xfa, 0x04, 0xe6, 0x74, 0x4d, 0x86, 0xdf, 0x4a, 0x78, 0x90, 0x54, 0x47, 0x57, 0xca, 0x6a, + 0x29, 0xa5, 0x24, 0x45, 0xe7, 0x8a, 0xf9, 0x94, 0x62, 0x56, 0xc5, 0x32, 0xa6, 0x62, 0x0e, 0x2b, + 0xa4, 0xa3, 0x5b, 0xc6, 0x3f, 0x17, 0x00, 0x92, 0x7c, 0xa3, 0x4f, 0xb2, 0x72, 0xf2, 0xbd, 0x89, + 0xe4, 0xa4, 0x44, 0x4a, 0x24, 0xe5, 0xde, 0x09, 0x49, 0x59, 0x9b, 0x4c, 0x52, 0x6a, 0xd0, 0x48, + 0x56, 0x6e, 0x66, 0x64, 0x65, 0x75, 0x74, 0x39, 0xa8, 0x71, 0x42, 0x69, 0xb9, 0xd7, 0x47, 0x5a, + 0xae, 0x8d, 0x29, 0x2d, 0x35, 0xe0, 0xb9, 0xbc, 0x3c, 0x97, 0x97, 0x27, 0xe5, 0xe5, 0xe1, 0x00, + 0x79, 0xf9, 0xe1, 0xe4, 0xf2, 0x52, 0x57, 0xdb, 0xb9, 0xc4, 0x3c, 0x97, 0x98, 0x23, 0x48, 0xcc, + 0xdb, 0x67, 0x2e, 0x31, 0xef, 0x9c, 0x91, 0xc4, 0x3c, 0x17, 0x7f, 0xb1, 0xf8, 0xeb, 0xa7, 0xb6, + 0xdf, 0x39, 0x73, 0xb5, 0xfd, 0x46, 0x24, 0x66, 0x19, 0x4a, 0x29, 0xd2, 0x67, 0x18, 0x00, 0xdf, + 0x6f, 0xb5, 0x88, 0x2d, 0xea, 0x98, 0xb7, 0xd1, 0x15, 0xb8, 0x40, 0x3d, 0x4f, 0x73, 0xf1, 0x39, + 0x33, 0xec, 0x18, 0xbf, 0x9f, 0x82, 0xc5, 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, 0xfe, 0x8b, 0x17, 0x4b, 0xf9, 0x7f, + 0xbd, 0x58, 0xca, 0xff, 0xf2, 0xe5, 0x52, 0xee, 0x8b, 0x97, 0x4b, 0xb9, 0x7f, 0xbc, 0x5c, 0xca, + 0xc1, 0x2d, 0x9b, 0x75, 0x46, 0x08, 0xb5, 0xbe, 0x90, 0x56, 0x79, 0x01, 0x13, 0xac, 0x91, 0x7f, + 0xda, 0x3c, 0xa4, 0xa2, 0xdd, 0x6d, 0xca, 0xa3, 0x67, 0xc5, 0x66, 0xbc, 0xc3, 0xf8, 0x8a, 0xe2, + 0xb3, 0x24, 0x58, 0xe9, 0xad, 0xc6, 0x4d, 0x25, 0xc6, 0xf8, 0xca, 0xf0, 0xdf, 0x43, 0x3f, 0x48, + 0x19, 0x23, 0xdb, 0xaf, 0xa7, 0x0a, 0x8d, 0x8d, 0xbd, 0xdf, 0x4c, 0x19, 0x8d, 0x68, 0x8a, 0x1b, + 0x72, 0x8a, 0xa9, 0xc9, 0x54, 0x9f, 0xe8, 0xa1, 0x9f, 0x27, 0x83, 0x0e, 0xe4, 0xa0, 0x83, 0xd4, + 0xa0, 0x83, 0x68, 0xd0, 0x8b, 0xa9, 0xea, 0xf0, 0x41, 0x07, 0x1f, 0x37, 0xd6, 0xa3, 0xa7, 0xd9, + 0xff, 0x4c, 0xdd, 0x8c, 0x1c, 0x6a, 0x35, 0xe9, 0x51, 0xab, 0xa5, 0x5c, 0x6a, 0xb5, 0xc8, 0xa7, + 0x39, 0xad, 0x7e, 0x37, 0xbb, 0xf6, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2f, 0x12, 0x32, 0xf8, + 0xf9, 0x2d, 0x00, 0x00, } func (m *Transaction) Marshal() (dAtA []byte, err error) { @@ -2964,16 +3064,16 @@ func (m *Action_ValidatorDefinition) MarshalToSizedBuffer(dAtA []byte) (int, err } return len(dAtA) - i, nil } -func (m *Action_IbcAction) MarshalTo(dAtA []byte) (int, error) { +func (m *Action_IbcRelayAction) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Action_IbcAction) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Action_IbcRelayAction) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.IbcAction != nil { + if m.IbcRelayAction != nil { { - size, err := m.IbcAction.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.IbcRelayAction.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3832,16 +3932,16 @@ func (m *ActionView_ValidatorDefinition) MarshalToSizedBuffer(dAtA []byte) (int, } return len(dAtA) - i, nil } -func (m *ActionView_IbcAction) MarshalTo(dAtA []byte) (int, error) { +func (m *ActionView_IbcRelayAction) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ActionView_IbcAction) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ActionView_IbcRelayAction) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.IbcAction != nil { + if m.IbcRelayAction != nil { { - size, err := m.IbcAction.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.IbcRelayAction.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4223,6 +4323,36 @@ func (m *ActionView_Ics20Withdrawal) MarshalToSizedBuffer(dAtA []byte) (int, err } return len(dAtA) - i, nil } +func (m *EffectHash) 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 *EffectHash) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EffectHash) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintTransaction(dAtA, i, uint64(len(m.Inner))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *AuthorizationData) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4561,16 +4691,16 @@ func (m *ActionPlan_ValidatorDefinition) MarshalToSizedBuffer(dAtA []byte) (int, } return len(dAtA) - i, nil } -func (m *ActionPlan_IbcAction) MarshalTo(dAtA []byte) (int, error) { +func (m *ActionPlan_IbcRelayAction) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ActionPlan_IbcAction) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ActionPlan_IbcRelayAction) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.IbcAction != nil { + if m.IbcRelayAction != nil { { - size, err := m.IbcAction.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.IbcRelayAction.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5098,9 +5228,51 @@ func (m *MemoPlaintext) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.Sender != nil { + if m.ReturnAddress != nil { + { + size, err := m.ReturnAddress.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MemoPlaintextView) 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 *MemoPlaintextView) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MemoPlaintextView) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Text) > 0 { + i -= len(m.Text) + copy(dAtA[i:], m.Text) + i = encodeVarintTransaction(dAtA, i, uint64(len(m.Text))) + i-- + dAtA[i] = 0x12 + } + if m.ReturnAddress != nil { { - size, err := m.Sender.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ReturnAddress.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5461,14 +5633,14 @@ func (m *Action_ValidatorDefinition) Size() (n int) { } return n } -func (m *Action_IbcAction) Size() (n int) { +func (m *Action_IbcRelayAction) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.IbcAction != nil { - l = m.IbcAction.Size() + if m.IbcRelayAction != nil { + l = m.IbcRelayAction.Size() n += 2 + l + sovTransaction(uint64(l)) } return n @@ -5866,14 +6038,14 @@ func (m *ActionView_ValidatorDefinition) Size() (n int) { } return n } -func (m *ActionView_IbcAction) Size() (n int) { +func (m *ActionView_IbcRelayAction) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.IbcAction != nil { - l = m.IbcAction.Size() + if m.IbcRelayAction != nil { + l = m.IbcRelayAction.Size() n += 2 + l + sovTransaction(uint64(l)) } return n @@ -6070,6 +6242,19 @@ func (m *ActionView_Ics20Withdrawal) Size() (n int) { } return n } +func (m *EffectHash) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovTransaction(uint64(l)) + } + return n +} + func (m *AuthorizationData) Size() (n int) { if m == nil { return 0 @@ -6222,14 +6407,14 @@ func (m *ActionPlan_ValidatorDefinition) Size() (n int) { } return n } -func (m *ActionPlan_IbcAction) Size() (n int) { +func (m *ActionPlan_IbcRelayAction) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.IbcAction != nil { - l = m.IbcAction.Size() + if m.IbcRelayAction != nil { + l = m.IbcRelayAction.Size() n += 2 + l + sovTransaction(uint64(l)) } return n @@ -6482,8 +6667,25 @@ func (m *MemoPlaintext) Size() (n int) { } var l int _ = l - if m.Sender != nil { - l = m.Sender.Size() + if m.ReturnAddress != nil { + l = m.ReturnAddress.Size() + n += 1 + l + sovTransaction(uint64(l)) + } + l = len(m.Text) + if l > 0 { + n += 1 + l + sovTransaction(uint64(l)) + } + return n +} + +func (m *MemoPlaintextView) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ReturnAddress != nil { + l = m.ReturnAddress.Size() n += 1 + l + sovTransaction(uint64(l)) } l = len(m.Text) @@ -7508,7 +7710,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 17: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IbcAction", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IbcRelayAction", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7535,11 +7737,11 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha16.IbcAction{} + v := &v1alpha16.IbcRelay{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Action = &Action_IbcAction{v} + m.Action = &Action_IbcRelayAction{v} iNdEx = postIndex case 18: if wireType != 2 { @@ -9212,7 +9414,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 17: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IbcAction", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IbcRelayAction", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9239,11 +9441,11 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha16.IbcAction{} + v := &v1alpha16.IbcRelay{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.ActionView = &ActionView_IbcAction{v} + m.ActionView = &ActionView_IbcRelayAction{v} iNdEx = postIndex case 18: if wireType != 2 { @@ -9826,6 +10028,90 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { } return nil } +func (m *EffectHash) 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 ErrIntOverflowTransaction + } + 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: EffectHash: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EffectHash: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTransaction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTransaction + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTransaction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTransaction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTransaction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *AuthorizationData) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -9885,7 +10171,7 @@ func (m *AuthorizationData) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.EffectHash == nil { - m.EffectHash = &v1alpha111.EffectHash{} + m.EffectHash = &EffectHash{} } if err := m.EffectHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9920,7 +10206,7 @@ func (m *AuthorizationData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SpendAuths = append(m.SpendAuths, &v1alpha112.SpendAuthSignature{}) + m.SpendAuths = append(m.SpendAuths, &v1alpha111.SpendAuthSignature{}) if err := m.SpendAuths[len(m.SpendAuths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9954,7 +10240,7 @@ func (m *AuthorizationData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DelegatorVoteAuths = append(m.DelegatorVoteAuths, &v1alpha112.SpendAuthSignature{}) + m.DelegatorVoteAuths = append(m.DelegatorVoteAuths, &v1alpha111.SpendAuthSignature{}) if err := m.DelegatorVoteAuths[len(m.DelegatorVoteAuths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10547,7 +10833,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 17: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IbcAction", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IbcRelayAction", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10574,11 +10860,11 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha16.IbcAction{} + v := &v1alpha16.IbcRelay{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Action = &ActionPlan_IbcAction{v} + m.Action = &ActionPlan_IbcRelayAction{v} iNdEx = postIndex case 18: if wireType != 2 { @@ -11535,7 +11821,7 @@ func (m *MemoPlaintext) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReturnAddress", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11562,10 +11848,128 @@ func (m *MemoPlaintext) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Sender == nil { - m.Sender = &v1alpha18.Address{} + if m.ReturnAddress == nil { + m.ReturnAddress = &v1alpha18.Address{} } - if err := m.Sender.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ReturnAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTransaction + } + 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 ErrInvalidLengthTransaction + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTransaction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Text = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTransaction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTransaction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MemoPlaintextView) 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 ErrIntOverflowTransaction + } + 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: MemoPlaintextView: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MemoPlaintextView: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReturnAddress", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTransaction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTransaction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTransaction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ReturnAddress == nil { + m.ReturnAddress = &v1alpha18.AddressView{} + } + if err := m.ReturnAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11837,7 +12241,7 @@ func (m *MemoView_Visible) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Plaintext == nil { - m.Plaintext = &MemoPlaintext{} + m.Plaintext = &MemoPlaintextView{} } if err := m.Plaintext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/relayer/chains/penumbra/crypto/decaf377_frost/v1alpha1/decaf377_frost.pb.go b/relayer/chains/penumbra/crypto/decaf377_frost/v1alpha1/decaf377_frost.pb.go new file mode 100644 index 000000000..36bd3d228 --- /dev/null +++ b/relayer/chains/penumbra/crypto/decaf377_frost/v1alpha1/decaf377_frost.pb.go @@ -0,0 +1,1525 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: penumbra/crypto/decaf377_frost/v1alpha1/decaf377_frost.proto + +package decaf377_frostv1alpha1 + +import ( + fmt "fmt" + proto "github.com/cosmos/gogoproto/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 + +// A commitment to a polynomial, as a list of group elements. +type VerifiableSecretSharingCommitment struct { + // Each of these bytes should be the serialization of a group element. + Elements [][]byte `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` +} + +func (m *VerifiableSecretSharingCommitment) Reset() { *m = VerifiableSecretSharingCommitment{} } +func (m *VerifiableSecretSharingCommitment) String() string { return proto.CompactTextString(m) } +func (*VerifiableSecretSharingCommitment) ProtoMessage() {} +func (*VerifiableSecretSharingCommitment) Descriptor() ([]byte, []int) { + return fileDescriptor_30ad30621755e0d6, []int{0} +} +func (m *VerifiableSecretSharingCommitment) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *VerifiableSecretSharingCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_VerifiableSecretSharingCommitment.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 *VerifiableSecretSharingCommitment) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerifiableSecretSharingCommitment.Merge(m, src) +} +func (m *VerifiableSecretSharingCommitment) XXX_Size() int { + return m.Size() +} +func (m *VerifiableSecretSharingCommitment) XXX_DiscardUnknown() { + xxx_messageInfo_VerifiableSecretSharingCommitment.DiscardUnknown(m) +} + +var xxx_messageInfo_VerifiableSecretSharingCommitment proto.InternalMessageInfo + +func (m *VerifiableSecretSharingCommitment) GetElements() [][]byte { + if m != nil { + return m.Elements + } + return nil +} + +// The public package sent in round 1 of the DKG protocol. +type DKGRound1Package struct { + // A commitment to the polynomial for secret sharing. + Commitment *VerifiableSecretSharingCommitment `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"` + // A proof of knowledge of the underlying secret being shared. + ProofOfKnowledge []byte `protobuf:"bytes,2,opt,name=proof_of_knowledge,json=proofOfKnowledge,proto3" json:"proof_of_knowledge,omitempty"` +} + +func (m *DKGRound1Package) Reset() { *m = DKGRound1Package{} } +func (m *DKGRound1Package) String() string { return proto.CompactTextString(m) } +func (*DKGRound1Package) ProtoMessage() {} +func (*DKGRound1Package) Descriptor() ([]byte, []int) { + return fileDescriptor_30ad30621755e0d6, []int{1} +} +func (m *DKGRound1Package) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DKGRound1Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DKGRound1Package.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 *DKGRound1Package) XXX_Merge(src proto.Message) { + xxx_messageInfo_DKGRound1Package.Merge(m, src) +} +func (m *DKGRound1Package) XXX_Size() int { + return m.Size() +} +func (m *DKGRound1Package) XXX_DiscardUnknown() { + xxx_messageInfo_DKGRound1Package.DiscardUnknown(m) +} + +var xxx_messageInfo_DKGRound1Package proto.InternalMessageInfo + +func (m *DKGRound1Package) GetCommitment() *VerifiableSecretSharingCommitment { + if m != nil { + return m.Commitment + } + return nil +} + +func (m *DKGRound1Package) GetProofOfKnowledge() []byte { + if m != nil { + return m.ProofOfKnowledge + } + return nil +} + +// A share of the final signing key. +type SigningShare struct { + // These bytes should be a valid scalar. + Scalar []byte `protobuf:"bytes,1,opt,name=scalar,proto3" json:"scalar,omitempty"` +} + +func (m *SigningShare) Reset() { *m = SigningShare{} } +func (m *SigningShare) String() string { return proto.CompactTextString(m) } +func (*SigningShare) ProtoMessage() {} +func (*SigningShare) Descriptor() ([]byte, []int) { + return fileDescriptor_30ad30621755e0d6, []int{2} +} +func (m *SigningShare) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SigningShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SigningShare.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 *SigningShare) XXX_Merge(src proto.Message) { + xxx_messageInfo_SigningShare.Merge(m, src) +} +func (m *SigningShare) XXX_Size() int { + return m.Size() +} +func (m *SigningShare) XXX_DiscardUnknown() { + xxx_messageInfo_SigningShare.DiscardUnknown(m) +} + +var xxx_messageInfo_SigningShare proto.InternalMessageInfo + +func (m *SigningShare) GetScalar() []byte { + if m != nil { + return m.Scalar + } + return nil +} + +// The per-participant package sent in round 2 of the DKG protocol. +type DKGRound2Package struct { + // This is the share we're sending to that participant. + SigningShare *SigningShare `protobuf:"bytes,1,opt,name=signing_share,json=signingShare,proto3" json:"signing_share,omitempty"` +} + +func (m *DKGRound2Package) Reset() { *m = DKGRound2Package{} } +func (m *DKGRound2Package) String() string { return proto.CompactTextString(m) } +func (*DKGRound2Package) ProtoMessage() {} +func (*DKGRound2Package) Descriptor() ([]byte, []int) { + return fileDescriptor_30ad30621755e0d6, []int{3} +} +func (m *DKGRound2Package) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DKGRound2Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DKGRound2Package.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 *DKGRound2Package) XXX_Merge(src proto.Message) { + xxx_messageInfo_DKGRound2Package.Merge(m, src) +} +func (m *DKGRound2Package) XXX_Size() int { + return m.Size() +} +func (m *DKGRound2Package) XXX_DiscardUnknown() { + xxx_messageInfo_DKGRound2Package.DiscardUnknown(m) +} + +var xxx_messageInfo_DKGRound2Package proto.InternalMessageInfo + +func (m *DKGRound2Package) GetSigningShare() *SigningShare { + if m != nil { + return m.SigningShare + } + return nil +} + +// Represents a commitment to a nonce value. +type NonceCommitment struct { + // These bytes should be a valid group element. + Element []byte `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"` +} + +func (m *NonceCommitment) Reset() { *m = NonceCommitment{} } +func (m *NonceCommitment) String() string { return proto.CompactTextString(m) } +func (*NonceCommitment) ProtoMessage() {} +func (*NonceCommitment) Descriptor() ([]byte, []int) { + return fileDescriptor_30ad30621755e0d6, []int{4} +} +func (m *NonceCommitment) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NonceCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NonceCommitment.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 *NonceCommitment) XXX_Merge(src proto.Message) { + xxx_messageInfo_NonceCommitment.Merge(m, src) +} +func (m *NonceCommitment) XXX_Size() int { + return m.Size() +} +func (m *NonceCommitment) XXX_DiscardUnknown() { + xxx_messageInfo_NonceCommitment.DiscardUnknown(m) +} + +var xxx_messageInfo_NonceCommitment proto.InternalMessageInfo + +func (m *NonceCommitment) GetElement() []byte { + if m != nil { + return m.Element + } + return nil +} + +// Represents the commitments to nonces needed for signing. +type SigningCommitments struct { + // One nonce to hide them. + Hiding *NonceCommitment `protobuf:"bytes,1,opt,name=hiding,proto3" json:"hiding,omitempty"` + // Another to bind them. + Binding *NonceCommitment `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"` +} + +func (m *SigningCommitments) Reset() { *m = SigningCommitments{} } +func (m *SigningCommitments) String() string { return proto.CompactTextString(m) } +func (*SigningCommitments) ProtoMessage() {} +func (*SigningCommitments) Descriptor() ([]byte, []int) { + return fileDescriptor_30ad30621755e0d6, []int{5} +} +func (m *SigningCommitments) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SigningCommitments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SigningCommitments.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 *SigningCommitments) XXX_Merge(src proto.Message) { + xxx_messageInfo_SigningCommitments.Merge(m, src) +} +func (m *SigningCommitments) XXX_Size() int { + return m.Size() +} +func (m *SigningCommitments) XXX_DiscardUnknown() { + xxx_messageInfo_SigningCommitments.DiscardUnknown(m) +} + +var xxx_messageInfo_SigningCommitments proto.InternalMessageInfo + +func (m *SigningCommitments) GetHiding() *NonceCommitment { + if m != nil { + return m.Hiding + } + return nil +} + +func (m *SigningCommitments) GetBinding() *NonceCommitment { + if m != nil { + return m.Binding + } + return nil +} + +// A share of the final signature. These get aggregated to make the actual thing. +type SignatureShare struct { + // These bytes should be a valid scalar. + Scalar []byte `protobuf:"bytes,1,opt,name=scalar,proto3" json:"scalar,omitempty"` +} + +func (m *SignatureShare) Reset() { *m = SignatureShare{} } +func (m *SignatureShare) String() string { return proto.CompactTextString(m) } +func (*SignatureShare) ProtoMessage() {} +func (*SignatureShare) Descriptor() ([]byte, []int) { + return fileDescriptor_30ad30621755e0d6, []int{6} +} +func (m *SignatureShare) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SignatureShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SignatureShare.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 *SignatureShare) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignatureShare.Merge(m, src) +} +func (m *SignatureShare) XXX_Size() int { + return m.Size() +} +func (m *SignatureShare) XXX_DiscardUnknown() { + xxx_messageInfo_SignatureShare.DiscardUnknown(m) +} + +var xxx_messageInfo_SignatureShare proto.InternalMessageInfo + +func (m *SignatureShare) GetScalar() []byte { + if m != nil { + return m.Scalar + } + return nil +} + +func init() { + proto.RegisterType((*VerifiableSecretSharingCommitment)(nil), "penumbra.crypto.decaf377_frost.v1alpha1.VerifiableSecretSharingCommitment") + proto.RegisterType((*DKGRound1Package)(nil), "penumbra.crypto.decaf377_frost.v1alpha1.DKGRound1Package") + proto.RegisterType((*SigningShare)(nil), "penumbra.crypto.decaf377_frost.v1alpha1.SigningShare") + proto.RegisterType((*DKGRound2Package)(nil), "penumbra.crypto.decaf377_frost.v1alpha1.DKGRound2Package") + proto.RegisterType((*NonceCommitment)(nil), "penumbra.crypto.decaf377_frost.v1alpha1.NonceCommitment") + proto.RegisterType((*SigningCommitments)(nil), "penumbra.crypto.decaf377_frost.v1alpha1.SigningCommitments") + proto.RegisterType((*SignatureShare)(nil), "penumbra.crypto.decaf377_frost.v1alpha1.SignatureShare") +} + +func init() { + proto.RegisterFile("penumbra/crypto/decaf377_frost/v1alpha1/decaf377_frost.proto", fileDescriptor_30ad30621755e0d6) +} + +var fileDescriptor_30ad30621755e0d6 = []byte{ + // 518 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x4f, 0x8b, 0x13, 0x31, + 0x18, 0xc6, 0x9b, 0x29, 0x74, 0x25, 0x56, 0x5d, 0x72, 0x90, 0xe2, 0x61, 0xa8, 0x73, 0x58, 0x2b, + 0x2b, 0x33, 0xb4, 0x8b, 0xac, 0x8c, 0x82, 0xd0, 0x16, 0x17, 0x5c, 0xd4, 0x61, 0x0a, 0x7b, 0x58, + 0x0a, 0x25, 0x4d, 0x33, 0xd3, 0xec, 0xce, 0x24, 0x25, 0x49, 0x57, 0xf6, 0xe6, 0x47, 0xf0, 0x33, + 0x78, 0x14, 0x3f, 0x81, 0x9f, 0x40, 0x3c, 0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 0x7c, 0x8c, 0x2f, 0xb7, 0xfb, 0xa6, 0xfd, 0xc5, 0x2a, 0x07, 0x9d, 0xee, 0x57, + 0xeb, 0x20, 0x30, 0xc4, 0x9d, 0x25, 0xf1, 0x16, 0x98, 0x7b, 0x96, 0xcb, 0x7f, 0xae, 0x85, 0xfd, + 0xa5, 0xb0, 0xbf, 0x25, 0xec, 0x1b, 0xe1, 0xcc, 0x6a, 0x15, 0x13, 0xf6, 0x4f, 0x82, 0xf6, 0x3b, + 0xaa, 0xf1, 0x08, 0x6b, 0xfc, 0xc7, 0x7a, 0x6a, 0x4c, 0xbe, 0xbf, 0x74, 0xf9, 0xfe, 0x96, 0xcd, + 0xf7, 0x8d, 0x6f, 0x58, 0x59, 0xfc, 0x4e, 0x8e, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x01, 0xef, + 0xb3, 0x04, 0x8e, 0x04, 0x00, 0x00, +} + +func (m *VerifiableSecretSharingCommitment) 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 *VerifiableSecretSharingCommitment) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *VerifiableSecretSharingCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Elements) > 0 { + for iNdEx := len(m.Elements) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Elements[iNdEx]) + copy(dAtA[i:], m.Elements[iNdEx]) + i = encodeVarintDecaf377Frost(dAtA, i, uint64(len(m.Elements[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *DKGRound1Package) 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 *DKGRound1Package) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DKGRound1Package) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ProofOfKnowledge) > 0 { + i -= len(m.ProofOfKnowledge) + copy(dAtA[i:], m.ProofOfKnowledge) + i = encodeVarintDecaf377Frost(dAtA, i, uint64(len(m.ProofOfKnowledge))) + i-- + dAtA[i] = 0x12 + } + if m.Commitment != nil { + { + size, err := m.Commitment.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecaf377Frost(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SigningShare) 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 *SigningShare) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SigningShare) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Scalar) > 0 { + i -= len(m.Scalar) + copy(dAtA[i:], m.Scalar) + i = encodeVarintDecaf377Frost(dAtA, i, uint64(len(m.Scalar))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DKGRound2Package) 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 *DKGRound2Package) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DKGRound2Package) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.SigningShare != nil { + { + size, err := m.SigningShare.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecaf377Frost(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *NonceCommitment) 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 *NonceCommitment) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NonceCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Element) > 0 { + i -= len(m.Element) + copy(dAtA[i:], m.Element) + i = encodeVarintDecaf377Frost(dAtA, i, uint64(len(m.Element))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SigningCommitments) 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 *SigningCommitments) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SigningCommitments) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Binding != nil { + { + size, err := m.Binding.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecaf377Frost(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Hiding != nil { + { + size, err := m.Hiding.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecaf377Frost(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SignatureShare) 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 *SignatureShare) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SignatureShare) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Scalar) > 0 { + i -= len(m.Scalar) + copy(dAtA[i:], m.Scalar) + i = encodeVarintDecaf377Frost(dAtA, i, uint64(len(m.Scalar))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintDecaf377Frost(dAtA []byte, offset int, v uint64) int { + offset -= sovDecaf377Frost(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *VerifiableSecretSharingCommitment) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Elements) > 0 { + for _, b := range m.Elements { + l = len(b) + n += 1 + l + sovDecaf377Frost(uint64(l)) + } + } + return n +} + +func (m *DKGRound1Package) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Commitment != nil { + l = m.Commitment.Size() + n += 1 + l + sovDecaf377Frost(uint64(l)) + } + l = len(m.ProofOfKnowledge) + if l > 0 { + n += 1 + l + sovDecaf377Frost(uint64(l)) + } + return n +} + +func (m *SigningShare) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Scalar) + if l > 0 { + n += 1 + l + sovDecaf377Frost(uint64(l)) + } + return n +} + +func (m *DKGRound2Package) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SigningShare != nil { + l = m.SigningShare.Size() + n += 1 + l + sovDecaf377Frost(uint64(l)) + } + return n +} + +func (m *NonceCommitment) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Element) + if l > 0 { + n += 1 + l + sovDecaf377Frost(uint64(l)) + } + return n +} + +func (m *SigningCommitments) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Hiding != nil { + l = m.Hiding.Size() + n += 1 + l + sovDecaf377Frost(uint64(l)) + } + if m.Binding != nil { + l = m.Binding.Size() + n += 1 + l + sovDecaf377Frost(uint64(l)) + } + return n +} + +func (m *SignatureShare) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Scalar) + if l > 0 { + n += 1 + l + sovDecaf377Frost(uint64(l)) + } + return n +} + +func sovDecaf377Frost(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozDecaf377Frost(x uint64) (n int) { + return sovDecaf377Frost(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *VerifiableSecretSharingCommitment) 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 ErrIntOverflowDecaf377Frost + } + 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: VerifiableSecretSharingCommitment: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VerifiableSecretSharingCommitment: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Elements", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecaf377Frost + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthDecaf377Frost + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDecaf377Frost + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Elements = append(m.Elements, make([]byte, postIndex-iNdEx)) + copy(m.Elements[len(m.Elements)-1], dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecaf377Frost(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecaf377Frost + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DKGRound1Package) 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 ErrIntOverflowDecaf377Frost + } + 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: DKGRound1Package: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DKGRound1Package: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Commitment", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecaf377Frost + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecaf377Frost + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecaf377Frost + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Commitment == nil { + m.Commitment = &VerifiableSecretSharingCommitment{} + } + if err := m.Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProofOfKnowledge", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecaf377Frost + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthDecaf377Frost + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDecaf377Frost + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProofOfKnowledge = append(m.ProofOfKnowledge[:0], dAtA[iNdEx:postIndex]...) + if m.ProofOfKnowledge == nil { + m.ProofOfKnowledge = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecaf377Frost(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecaf377Frost + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SigningShare) 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 ErrIntOverflowDecaf377Frost + } + 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: SigningShare: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SigningShare: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Scalar", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecaf377Frost + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthDecaf377Frost + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDecaf377Frost + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Scalar = append(m.Scalar[:0], dAtA[iNdEx:postIndex]...) + if m.Scalar == nil { + m.Scalar = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecaf377Frost(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecaf377Frost + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DKGRound2Package) 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 ErrIntOverflowDecaf377Frost + } + 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: DKGRound2Package: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DKGRound2Package: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SigningShare", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecaf377Frost + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecaf377Frost + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecaf377Frost + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SigningShare == nil { + m.SigningShare = &SigningShare{} + } + if err := m.SigningShare.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecaf377Frost(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecaf377Frost + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NonceCommitment) 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 ErrIntOverflowDecaf377Frost + } + 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: NonceCommitment: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NonceCommitment: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Element", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecaf377Frost + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthDecaf377Frost + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDecaf377Frost + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Element = append(m.Element[:0], dAtA[iNdEx:postIndex]...) + if m.Element == nil { + m.Element = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecaf377Frost(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecaf377Frost + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SigningCommitments) 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 ErrIntOverflowDecaf377Frost + } + 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: SigningCommitments: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SigningCommitments: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hiding", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecaf377Frost + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecaf377Frost + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecaf377Frost + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Hiding == nil { + m.Hiding = &NonceCommitment{} + } + if err := m.Hiding.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Binding", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecaf377Frost + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecaf377Frost + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecaf377Frost + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Binding == nil { + m.Binding = &NonceCommitment{} + } + if err := m.Binding.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecaf377Frost(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecaf377Frost + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SignatureShare) 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 ErrIntOverflowDecaf377Frost + } + 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: SignatureShare: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SignatureShare: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Scalar", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecaf377Frost + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthDecaf377Frost + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDecaf377Frost + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Scalar = append(m.Scalar[:0], dAtA[iNdEx:postIndex]...) + if m.Scalar == nil { + m.Scalar = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecaf377Frost(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecaf377Frost + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipDecaf377Frost(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, ErrIntOverflowDecaf377Frost + } + 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, ErrIntOverflowDecaf377Frost + } + 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, ErrIntOverflowDecaf377Frost + } + 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, ErrInvalidLengthDecaf377Frost + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupDecaf377Frost + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthDecaf377Frost + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthDecaf377Frost = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowDecaf377Frost = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupDecaf377Frost = fmt.Errorf("proto: unexpected end of group") +) diff --git a/relayer/chains/penumbra/custody/threshold/v1alpha1/threshold.pb.go b/relayer/chains/penumbra/custody/threshold/v1alpha1/threshold.pb.go new file mode 100644 index 000000000..a655e100c --- /dev/null +++ b/relayer/chains/penumbra/custody/threshold/v1alpha1/threshold.pb.go @@ -0,0 +1,3392 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: penumbra/custody/threshold/v1alpha1/threshold.proto + +package thresholdv1alpha1 + +import ( + fmt "fmt" + proto "github.com/cosmos/gogoproto/proto" + v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/transaction/v1alpha1" + v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_frost/v1alpha1" + 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 + +// A key one can use to verify signatures. +// +// This key can also serve as a unique identifier for users. +type VerificationKey struct { + Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` +} + +func (m *VerificationKey) Reset() { *m = VerificationKey{} } +func (m *VerificationKey) String() string { return proto.CompactTextString(m) } +func (*VerificationKey) ProtoMessage() {} +func (*VerificationKey) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{0} +} +func (m *VerificationKey) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *VerificationKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_VerificationKey.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 *VerificationKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_VerificationKey.Merge(m, src) +} +func (m *VerificationKey) XXX_Size() int { + return m.Size() +} +func (m *VerificationKey) XXX_DiscardUnknown() { + xxx_messageInfo_VerificationKey.DiscardUnknown(m) +} + +var xxx_messageInfo_VerificationKey proto.InternalMessageInfo + +func (m *VerificationKey) GetInner() []byte { + if m != nil { + return m.Inner + } + return nil +} + +// A signature proving that a message was created by the owner of a verification key. +type Signature struct { + Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` +} + +func (m *Signature) Reset() { *m = Signature{} } +func (m *Signature) String() string { return proto.CompactTextString(m) } +func (*Signature) ProtoMessage() {} +func (*Signature) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{1} +} +func (m *Signature) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Signature.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 *Signature) XXX_Merge(src proto.Message) { + xxx_messageInfo_Signature.Merge(m, src) +} +func (m *Signature) XXX_Size() int { + return m.Size() +} +func (m *Signature) XXX_DiscardUnknown() { + xxx_messageInfo_Signature.DiscardUnknown(m) +} + +var xxx_messageInfo_Signature proto.InternalMessageInfo + +func (m *Signature) GetInner() []byte { + if m != nil { + return m.Inner + } + return nil +} + +// The message the coordinator sends in round 1 of the signing protocol. +type CoordinatorRound1 struct { + // The plan that the coordinator would like the followers to sign. + Plan *v1alpha1.TransactionPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"` +} + +func (m *CoordinatorRound1) Reset() { *m = CoordinatorRound1{} } +func (m *CoordinatorRound1) String() string { return proto.CompactTextString(m) } +func (*CoordinatorRound1) ProtoMessage() {} +func (*CoordinatorRound1) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{2} +} +func (m *CoordinatorRound1) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CoordinatorRound1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CoordinatorRound1.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 *CoordinatorRound1) XXX_Merge(src proto.Message) { + xxx_messageInfo_CoordinatorRound1.Merge(m, src) +} +func (m *CoordinatorRound1) XXX_Size() int { + return m.Size() +} +func (m *CoordinatorRound1) XXX_DiscardUnknown() { + xxx_messageInfo_CoordinatorRound1.DiscardUnknown(m) +} + +var xxx_messageInfo_CoordinatorRound1 proto.InternalMessageInfo + +func (m *CoordinatorRound1) GetPlan() *v1alpha1.TransactionPlan { + if m != nil { + return m.Plan + } + return nil +} + +// The message the coordinator sends in round 2 of the signing protocol. +type CoordinatorRound2 struct { + // The underlying signing packages being sent to the followers, for each signature. + SigningPackages []*CoordinatorRound2_PartialSigningPackage `protobuf:"bytes,1,rep,name=signing_packages,json=signingPackages,proto3" json:"signing_packages,omitempty"` +} + +func (m *CoordinatorRound2) Reset() { *m = CoordinatorRound2{} } +func (m *CoordinatorRound2) String() string { return proto.CompactTextString(m) } +func (*CoordinatorRound2) ProtoMessage() {} +func (*CoordinatorRound2) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{3} +} +func (m *CoordinatorRound2) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CoordinatorRound2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CoordinatorRound2.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 *CoordinatorRound2) XXX_Merge(src proto.Message) { + xxx_messageInfo_CoordinatorRound2.Merge(m, src) +} +func (m *CoordinatorRound2) XXX_Size() int { + return m.Size() +} +func (m *CoordinatorRound2) XXX_DiscardUnknown() { + xxx_messageInfo_CoordinatorRound2.DiscardUnknown(m) +} + +var xxx_messageInfo_CoordinatorRound2 proto.InternalMessageInfo + +func (m *CoordinatorRound2) GetSigningPackages() []*CoordinatorRound2_PartialSigningPackage { + if m != nil { + return m.SigningPackages + } + return nil +} + +// A commitment along with a FROST identifier. +type CoordinatorRound2_IdentifiedCommitments struct { + // The serialization of a FROST identifier. + Identifier []byte `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` + // The commitments this person has produced for this round of signing. + Commitments *v1alpha11.SigningCommitments `protobuf:"bytes,2,opt,name=commitments,proto3" json:"commitments,omitempty"` +} + +func (m *CoordinatorRound2_IdentifiedCommitments) Reset() { + *m = CoordinatorRound2_IdentifiedCommitments{} +} +func (m *CoordinatorRound2_IdentifiedCommitments) String() string { return proto.CompactTextString(m) } +func (*CoordinatorRound2_IdentifiedCommitments) ProtoMessage() {} +func (*CoordinatorRound2_IdentifiedCommitments) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{3, 0} +} +func (m *CoordinatorRound2_IdentifiedCommitments) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CoordinatorRound2_IdentifiedCommitments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CoordinatorRound2_IdentifiedCommitments.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 *CoordinatorRound2_IdentifiedCommitments) XXX_Merge(src proto.Message) { + xxx_messageInfo_CoordinatorRound2_IdentifiedCommitments.Merge(m, src) +} +func (m *CoordinatorRound2_IdentifiedCommitments) XXX_Size() int { + return m.Size() +} +func (m *CoordinatorRound2_IdentifiedCommitments) XXX_DiscardUnknown() { + xxx_messageInfo_CoordinatorRound2_IdentifiedCommitments.DiscardUnknown(m) +} + +var xxx_messageInfo_CoordinatorRound2_IdentifiedCommitments proto.InternalMessageInfo + +func (m *CoordinatorRound2_IdentifiedCommitments) GetIdentifier() []byte { + if m != nil { + return m.Identifier + } + return nil +} + +func (m *CoordinatorRound2_IdentifiedCommitments) GetCommitments() *v1alpha11.SigningCommitments { + if m != nil { + return m.Commitments + } + return nil +} + +// A FROST signing package without a message. +// +// We structure things this way because the message is derived from the transaction plan. +// FROST expects the signing package to include the identified commitments *and* +// the message, but we have no need to include the message. +type CoordinatorRound2_PartialSigningPackage struct { + AllCommitments []*CoordinatorRound2_IdentifiedCommitments `protobuf:"bytes,1,rep,name=all_commitments,json=allCommitments,proto3" json:"all_commitments,omitempty"` +} + +func (m *CoordinatorRound2_PartialSigningPackage) Reset() { + *m = CoordinatorRound2_PartialSigningPackage{} +} +func (m *CoordinatorRound2_PartialSigningPackage) String() string { return proto.CompactTextString(m) } +func (*CoordinatorRound2_PartialSigningPackage) ProtoMessage() {} +func (*CoordinatorRound2_PartialSigningPackage) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{3, 1} +} +func (m *CoordinatorRound2_PartialSigningPackage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CoordinatorRound2_PartialSigningPackage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CoordinatorRound2_PartialSigningPackage.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 *CoordinatorRound2_PartialSigningPackage) XXX_Merge(src proto.Message) { + xxx_messageInfo_CoordinatorRound2_PartialSigningPackage.Merge(m, src) +} +func (m *CoordinatorRound2_PartialSigningPackage) XXX_Size() int { + return m.Size() +} +func (m *CoordinatorRound2_PartialSigningPackage) XXX_DiscardUnknown() { + xxx_messageInfo_CoordinatorRound2_PartialSigningPackage.DiscardUnknown(m) +} + +var xxx_messageInfo_CoordinatorRound2_PartialSigningPackage proto.InternalMessageInfo + +func (m *CoordinatorRound2_PartialSigningPackage) GetAllCommitments() []*CoordinatorRound2_IdentifiedCommitments { + if m != nil { + return m.AllCommitments + } + return nil +} + +// The first message the followers send back to the coordinator when signing. +type FollowerRound1 struct { + Inner *FollowerRound1_Inner `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` + // The verification key identifying the sender. + Pk *VerificationKey `protobuf:"bytes,2,opt,name=pk,proto3" json:"pk,omitempty"` + // A signature over the proto-encoded bytes of inner. + Sig *Signature `protobuf:"bytes,3,opt,name=sig,proto3" json:"sig,omitempty"` +} + +func (m *FollowerRound1) Reset() { *m = FollowerRound1{} } +func (m *FollowerRound1) String() string { return proto.CompactTextString(m) } +func (*FollowerRound1) ProtoMessage() {} +func (*FollowerRound1) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{4} +} +func (m *FollowerRound1) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FollowerRound1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FollowerRound1.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 *FollowerRound1) XXX_Merge(src proto.Message) { + xxx_messageInfo_FollowerRound1.Merge(m, src) +} +func (m *FollowerRound1) XXX_Size() int { + return m.Size() +} +func (m *FollowerRound1) XXX_DiscardUnknown() { + xxx_messageInfo_FollowerRound1.DiscardUnknown(m) +} + +var xxx_messageInfo_FollowerRound1 proto.InternalMessageInfo + +func (m *FollowerRound1) GetInner() *FollowerRound1_Inner { + if m != nil { + return m.Inner + } + return nil +} + +func (m *FollowerRound1) GetPk() *VerificationKey { + if m != nil { + return m.Pk + } + return nil +} + +func (m *FollowerRound1) GetSig() *Signature { + if m != nil { + return m.Sig + } + return nil +} + +// The inner message that will be signed by the follower. +type FollowerRound1_Inner struct { + // One signing commitment pair for each signature requested by the plan, in order. + Commitments []*v1alpha11.SigningCommitments `protobuf:"bytes,1,rep,name=commitments,proto3" json:"commitments,omitempty"` +} + +func (m *FollowerRound1_Inner) Reset() { *m = FollowerRound1_Inner{} } +func (m *FollowerRound1_Inner) String() string { return proto.CompactTextString(m) } +func (*FollowerRound1_Inner) ProtoMessage() {} +func (*FollowerRound1_Inner) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{4, 0} +} +func (m *FollowerRound1_Inner) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FollowerRound1_Inner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FollowerRound1_Inner.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 *FollowerRound1_Inner) XXX_Merge(src proto.Message) { + xxx_messageInfo_FollowerRound1_Inner.Merge(m, src) +} +func (m *FollowerRound1_Inner) XXX_Size() int { + return m.Size() +} +func (m *FollowerRound1_Inner) XXX_DiscardUnknown() { + xxx_messageInfo_FollowerRound1_Inner.DiscardUnknown(m) +} + +var xxx_messageInfo_FollowerRound1_Inner proto.InternalMessageInfo + +func (m *FollowerRound1_Inner) GetCommitments() []*v1alpha11.SigningCommitments { + if m != nil { + return m.Commitments + } + return nil +} + +// The second message the followers send back to the coordinator when signing. +type FollowerRound2 struct { + Inner *FollowerRound2_Inner `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` + // The verification key identifying the sender. + Pk *VerificationKey `protobuf:"bytes,2,opt,name=pk,proto3" json:"pk,omitempty"` + // A signature over the proto-encoded bytes of inner. + Sig *Signature `protobuf:"bytes,3,opt,name=sig,proto3" json:"sig,omitempty"` +} + +func (m *FollowerRound2) Reset() { *m = FollowerRound2{} } +func (m *FollowerRound2) String() string { return proto.CompactTextString(m) } +func (*FollowerRound2) ProtoMessage() {} +func (*FollowerRound2) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{5} +} +func (m *FollowerRound2) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FollowerRound2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FollowerRound2.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 *FollowerRound2) XXX_Merge(src proto.Message) { + xxx_messageInfo_FollowerRound2.Merge(m, src) +} +func (m *FollowerRound2) XXX_Size() int { + return m.Size() +} +func (m *FollowerRound2) XXX_DiscardUnknown() { + xxx_messageInfo_FollowerRound2.DiscardUnknown(m) +} + +var xxx_messageInfo_FollowerRound2 proto.InternalMessageInfo + +func (m *FollowerRound2) GetInner() *FollowerRound2_Inner { + if m != nil { + return m.Inner + } + return nil +} + +func (m *FollowerRound2) GetPk() *VerificationKey { + if m != nil { + return m.Pk + } + return nil +} + +func (m *FollowerRound2) GetSig() *Signature { + if m != nil { + return m.Sig + } + return nil +} + +// The inner message that will be signed by the follower. +type FollowerRound2_Inner struct { + // One share for each signature requested by the plan, in order. + Shares []*v1alpha11.SignatureShare `protobuf:"bytes,1,rep,name=shares,proto3" json:"shares,omitempty"` +} + +func (m *FollowerRound2_Inner) Reset() { *m = FollowerRound2_Inner{} } +func (m *FollowerRound2_Inner) String() string { return proto.CompactTextString(m) } +func (*FollowerRound2_Inner) ProtoMessage() {} +func (*FollowerRound2_Inner) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{5, 0} +} +func (m *FollowerRound2_Inner) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FollowerRound2_Inner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FollowerRound2_Inner.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 *FollowerRound2_Inner) XXX_Merge(src proto.Message) { + xxx_messageInfo_FollowerRound2_Inner.Merge(m, src) +} +func (m *FollowerRound2_Inner) XXX_Size() int { + return m.Size() +} +func (m *FollowerRound2_Inner) XXX_DiscardUnknown() { + xxx_messageInfo_FollowerRound2_Inner.DiscardUnknown(m) +} + +var xxx_messageInfo_FollowerRound2_Inner proto.InternalMessageInfo + +func (m *FollowerRound2_Inner) GetShares() []*v1alpha11.SignatureShare { + if m != nil { + return m.Shares + } + return nil +} + +// The first message we broadcast in the DKG protocol. +type DKGRound1 struct { + // The package we're sending to other people + Pkg *v1alpha11.DKGRound1Package `protobuf:"bytes,1,opt,name=pkg,proto3" json:"pkg,omitempty"` + // A commitment to a share of the nullifier-deriving key + NullifierCommitment []byte `protobuf:"bytes,2,opt,name=nullifier_commitment,json=nullifierCommitment,proto3" json:"nullifier_commitment,omitempty"` + // An encryption key for the second round. + Epk []byte `protobuf:"bytes,3,opt,name=epk,proto3" json:"epk,omitempty"` + // A verification key establishing an identity for the sender of this message. + Vk []byte `protobuf:"bytes,4,opt,name=vk,proto3" json:"vk,omitempty"` +} + +func (m *DKGRound1) Reset() { *m = DKGRound1{} } +func (m *DKGRound1) String() string { return proto.CompactTextString(m) } +func (*DKGRound1) ProtoMessage() {} +func (*DKGRound1) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{6} +} +func (m *DKGRound1) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DKGRound1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DKGRound1.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 *DKGRound1) XXX_Merge(src proto.Message) { + xxx_messageInfo_DKGRound1.Merge(m, src) +} +func (m *DKGRound1) XXX_Size() int { + return m.Size() +} +func (m *DKGRound1) XXX_DiscardUnknown() { + xxx_messageInfo_DKGRound1.DiscardUnknown(m) +} + +var xxx_messageInfo_DKGRound1 proto.InternalMessageInfo + +func (m *DKGRound1) GetPkg() *v1alpha11.DKGRound1Package { + if m != nil { + return m.Pkg + } + return nil +} + +func (m *DKGRound1) GetNullifierCommitment() []byte { + if m != nil { + return m.NullifierCommitment + } + return nil +} + +func (m *DKGRound1) GetEpk() []byte { + if m != nil { + return m.Epk + } + return nil +} + +func (m *DKGRound1) GetVk() []byte { + if m != nil { + return m.Vk + } + return nil +} + +// The second message we broadcast in the DKG protocol. +type DKGRound2 struct { + Inner *DKGRound2_Inner `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` + // The verification key identifying the sender. + Vk []byte `protobuf:"bytes,2,opt,name=vk,proto3" json:"vk,omitempty"` + // A signature over the proto-encoded inner message. + Sig []byte `protobuf:"bytes,3,opt,name=sig,proto3" json:"sig,omitempty"` +} + +func (m *DKGRound2) Reset() { *m = DKGRound2{} } +func (m *DKGRound2) String() string { return proto.CompactTextString(m) } +func (*DKGRound2) ProtoMessage() {} +func (*DKGRound2) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{7} +} +func (m *DKGRound2) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DKGRound2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DKGRound2.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 *DKGRound2) XXX_Merge(src proto.Message) { + xxx_messageInfo_DKGRound2.Merge(m, src) +} +func (m *DKGRound2) XXX_Size() int { + return m.Size() +} +func (m *DKGRound2) XXX_DiscardUnknown() { + xxx_messageInfo_DKGRound2.DiscardUnknown(m) +} + +var xxx_messageInfo_DKGRound2 proto.InternalMessageInfo + +func (m *DKGRound2) GetInner() *DKGRound2_Inner { + if m != nil { + return m.Inner + } + return nil +} + +func (m *DKGRound2) GetVk() []byte { + if m != nil { + return m.Vk + } + return nil +} + +func (m *DKGRound2) GetSig() []byte { + if m != nil { + return m.Sig + } + return nil +} + +// A round2 package, encrypted, along with an identifier for the recipient. +type DKGRound2_TargetedPackage struct { + // A verification key identifying the recipient. + Vk []byte `protobuf:"bytes,1,opt,name=vk,proto3" json:"vk,omitempty"` + // The ciphertext of an encrypted frost package for round 2. + EncryptedPackage []byte `protobuf:"bytes,2,opt,name=encrypted_package,json=encryptedPackage,proto3" json:"encrypted_package,omitempty"` +} + +func (m *DKGRound2_TargetedPackage) Reset() { *m = DKGRound2_TargetedPackage{} } +func (m *DKGRound2_TargetedPackage) String() string { return proto.CompactTextString(m) } +func (*DKGRound2_TargetedPackage) ProtoMessage() {} +func (*DKGRound2_TargetedPackage) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{7, 0} +} +func (m *DKGRound2_TargetedPackage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DKGRound2_TargetedPackage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DKGRound2_TargetedPackage.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 *DKGRound2_TargetedPackage) XXX_Merge(src proto.Message) { + xxx_messageInfo_DKGRound2_TargetedPackage.Merge(m, src) +} +func (m *DKGRound2_TargetedPackage) XXX_Size() int { + return m.Size() +} +func (m *DKGRound2_TargetedPackage) XXX_DiscardUnknown() { + xxx_messageInfo_DKGRound2_TargetedPackage.DiscardUnknown(m) +} + +var xxx_messageInfo_DKGRound2_TargetedPackage proto.InternalMessageInfo + +func (m *DKGRound2_TargetedPackage) GetVk() []byte { + if m != nil { + return m.Vk + } + return nil +} + +func (m *DKGRound2_TargetedPackage) GetEncryptedPackage() []byte { + if m != nil { + return m.EncryptedPackage + } + return nil +} + +// An inner message that will be signed. +type DKGRound2_Inner struct { + // Encrypted packages for each recipient. + EncryptedPackages []*DKGRound2_TargetedPackage `protobuf:"bytes,1,rep,name=encrypted_packages,json=encryptedPackages,proto3" json:"encrypted_packages,omitempty"` + // An opening of the share of the nullifier-deriving key commitment + Nullifier []byte `protobuf:"bytes,2,opt,name=nullifier,proto3" json:"nullifier,omitempty"` +} + +func (m *DKGRound2_Inner) Reset() { *m = DKGRound2_Inner{} } +func (m *DKGRound2_Inner) String() string { return proto.CompactTextString(m) } +func (*DKGRound2_Inner) ProtoMessage() {} +func (*DKGRound2_Inner) Descriptor() ([]byte, []int) { + return fileDescriptor_a211a6df1a59c634, []int{7, 1} +} +func (m *DKGRound2_Inner) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DKGRound2_Inner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DKGRound2_Inner.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 *DKGRound2_Inner) XXX_Merge(src proto.Message) { + xxx_messageInfo_DKGRound2_Inner.Merge(m, src) +} +func (m *DKGRound2_Inner) XXX_Size() int { + return m.Size() +} +func (m *DKGRound2_Inner) XXX_DiscardUnknown() { + xxx_messageInfo_DKGRound2_Inner.DiscardUnknown(m) +} + +var xxx_messageInfo_DKGRound2_Inner proto.InternalMessageInfo + +func (m *DKGRound2_Inner) GetEncryptedPackages() []*DKGRound2_TargetedPackage { + if m != nil { + return m.EncryptedPackages + } + return nil +} + +func (m *DKGRound2_Inner) GetNullifier() []byte { + if m != nil { + return m.Nullifier + } + return nil +} + +func init() { + proto.RegisterType((*VerificationKey)(nil), "penumbra.custody.threshold.v1alpha1.VerificationKey") + proto.RegisterType((*Signature)(nil), "penumbra.custody.threshold.v1alpha1.Signature") + proto.RegisterType((*CoordinatorRound1)(nil), "penumbra.custody.threshold.v1alpha1.CoordinatorRound1") + proto.RegisterType((*CoordinatorRound2)(nil), "penumbra.custody.threshold.v1alpha1.CoordinatorRound2") + proto.RegisterType((*CoordinatorRound2_IdentifiedCommitments)(nil), "penumbra.custody.threshold.v1alpha1.CoordinatorRound2.IdentifiedCommitments") + proto.RegisterType((*CoordinatorRound2_PartialSigningPackage)(nil), "penumbra.custody.threshold.v1alpha1.CoordinatorRound2.PartialSigningPackage") + proto.RegisterType((*FollowerRound1)(nil), "penumbra.custody.threshold.v1alpha1.FollowerRound1") + proto.RegisterType((*FollowerRound1_Inner)(nil), "penumbra.custody.threshold.v1alpha1.FollowerRound1.Inner") + proto.RegisterType((*FollowerRound2)(nil), "penumbra.custody.threshold.v1alpha1.FollowerRound2") + proto.RegisterType((*FollowerRound2_Inner)(nil), "penumbra.custody.threshold.v1alpha1.FollowerRound2.Inner") + proto.RegisterType((*DKGRound1)(nil), "penumbra.custody.threshold.v1alpha1.DKGRound1") + proto.RegisterType((*DKGRound2)(nil), "penumbra.custody.threshold.v1alpha1.DKGRound2") + proto.RegisterType((*DKGRound2_TargetedPackage)(nil), "penumbra.custody.threshold.v1alpha1.DKGRound2.TargetedPackage") + proto.RegisterType((*DKGRound2_Inner)(nil), "penumbra.custody.threshold.v1alpha1.DKGRound2.Inner") +} + +func init() { + proto.RegisterFile("penumbra/custody/threshold/v1alpha1/threshold.proto", fileDescriptor_a211a6df1a59c634) +} + +var fileDescriptor_a211a6df1a59c634 = []byte{ + // 816 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x5f, 0x6b, 0xc3, 0x54, + 0x1c, 0x5d, 0xd2, 0x6d, 0xb0, 0xdb, 0xd2, 0x6e, 0x71, 0x83, 0x52, 0xa4, 0xcc, 0x0e, 0xdc, 0x40, + 0x48, 0x68, 0x3a, 0x18, 0x76, 0x22, 0xb2, 0x0e, 0xc7, 0x9c, 0xba, 0x90, 0x95, 0x21, 0x52, 0x19, + 0x77, 0xc9, 0x6d, 0x7a, 0x69, 0x72, 0x6f, 0xb8, 0xb9, 0xed, 0xe8, 0x97, 0x10, 0x1f, 0xc4, 0x0f, + 0xe0, 0xa3, 0xe0, 0xab, 0x5f, 0xc0, 0x17, 0xf1, 0x69, 0xbe, 0xf9, 0x38, 0xda, 0x37, 0x3f, 0x85, + 0xe4, 0xcf, 0x4d, 0xd2, 0x6e, 0x4a, 0x86, 0x7b, 0xf0, 0xad, 0xf9, 0xe5, 0x77, 0xce, 0xef, 0xdc, + 0x73, 0xee, 0xbd, 0x0d, 0xe8, 0xf8, 0x88, 0x4c, 0xbc, 0x7b, 0x06, 0x35, 0x6b, 0x12, 0x70, 0x6a, + 0xcf, 0x34, 0x3e, 0x62, 0x28, 0x18, 0x51, 0xd7, 0xd6, 0xa6, 0x6d, 0xe8, 0xfa, 0x23, 0xd8, 0xce, + 0x4a, 0xaa, 0xcf, 0x28, 0xa7, 0xca, 0x81, 0x00, 0xa9, 0x09, 0x48, 0xcd, 0x3a, 0x04, 0xa8, 0x71, + 0x9c, 0x31, 0x53, 0x86, 0x34, 0xce, 0x20, 0x09, 0xa0, 0xc5, 0x31, 0x25, 0x39, 0xe2, 0xac, 0x18, + 0x53, 0x37, 0x3e, 0xca, 0x50, 0x6c, 0xe6, 0x73, 0xaa, 0xd9, 0xc8, 0x82, 0xc3, 0xce, 0xc9, 0xc9, + 0xdd, 0x90, 0xd1, 0x80, 0x67, 0xd0, 0xe5, 0x7a, 0x8c, 0x6e, 0x1d, 0x82, 0xda, 0x2d, 0x62, 0x78, + 0x88, 0x2d, 0x18, 0x72, 0x5e, 0xa1, 0x99, 0xb2, 0x0b, 0x36, 0x30, 0x21, 0x88, 0xd5, 0xa5, 0x7d, + 0xe9, 0xa8, 0x62, 0xc6, 0x0f, 0xad, 0xf7, 0xc0, 0xd6, 0x0d, 0x76, 0x08, 0xe4, 0x13, 0x86, 0xfe, + 0xa1, 0x65, 0x00, 0x76, 0x7a, 0x94, 0x32, 0x1b, 0x13, 0xc8, 0x29, 0x33, 0xe9, 0x84, 0xd8, 0x6d, + 0xe5, 0x02, 0xac, 0xfb, 0x2e, 0x24, 0x51, 0x67, 0x59, 0xef, 0xa8, 0x99, 0x11, 0x94, 0x21, 0x35, + 0xbf, 0x1c, 0x21, 0x54, 0xed, 0x67, 0x45, 0xc3, 0x85, 0xc4, 0x8c, 0x08, 0x5a, 0xbf, 0x94, 0x9e, + 0xd3, 0xeb, 0xca, 0x03, 0xd8, 0x0e, 0xb0, 0x43, 0x30, 0x71, 0xee, 0x7c, 0x68, 0x8d, 0xa1, 0x83, + 0x82, 0xba, 0xb4, 0x5f, 0x3a, 0x2a, 0xeb, 0x9f, 0xab, 0x05, 0x3c, 0x57, 0x9f, 0x31, 0xaa, 0x06, + 0x64, 0x1c, 0x43, 0xf7, 0x26, 0x66, 0x35, 0x62, 0x52, 0xb3, 0x16, 0x2c, 0x3d, 0x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da, 0x9f, 0x8b, 0xe6, 0x1a, 0x38, 0xb4, + 0xa8, 0x57, 0x44, 0xce, 0x59, 0xb5, 0x2f, 0x6a, 0x46, 0xf8, 0x1f, 0x6b, 0x48, 0x5f, 0x43, 0x07, + 0xf3, 0xd1, 0xe4, 0x5e, 0xb5, 0xa8, 0xa7, 0x59, 0x34, 0xf0, 0x68, 0xa0, 0x31, 0xe4, 0xc2, 0x19, + 0x62, 0xda, 0x54, 0x4f, 0x7f, 0x5a, 0x23, 0x88, 0x49, 0xa0, 0x15, 0xf8, 0xbe, 0x38, 0x4d, 0x4b, + 0xa2, 0xf2, 0xa3, 0x5c, 0x32, 0x7a, 0xfd, 0x9f, 0xe4, 0x03, 0x43, 0x08, 0xec, 0x25, 0x02, 0x53, + 0x31, 0xea, 0x6d, 0xd2, 0xfb, 0x7b, 0xd6, 0x35, 0x48, 0xba, 0x06, 0x69, 0xd7, 0x40, 0x74, 0xcd, + 0x65, 0xad, 0x40, 0xd7, 0xe0, 0xc2, 0x38, 0xfb, 0x02, 0x71, 0x68, 0x43, 0x0e, 0xff, 0x92, 0xdf, + 0x17, 0x88, 0x6e, 0x37, 0x81, 0x74, 0xbb, 0x29, 0xa6, 0xdb, 0x15, 0xa0, 0xfb, 0xcd, 0xe8, 0xe3, + 0xa3, 0xf3, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbc, 0xfc, 0x97, 0xa4, 0x4c, 0x09, 0x00, 0x00, +} + +func (m *VerificationKey) 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 *VerificationKey) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *VerificationKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintThreshold(dAtA, i, uint64(len(m.Inner))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Signature) 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 *Signature) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Signature) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintThreshold(dAtA, i, uint64(len(m.Inner))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CoordinatorRound1) 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 *CoordinatorRound1) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CoordinatorRound1) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Plan != nil { + { + size, err := m.Plan.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CoordinatorRound2) 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 *CoordinatorRound2) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CoordinatorRound2) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.SigningPackages) > 0 { + for iNdEx := len(m.SigningPackages) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.SigningPackages[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *CoordinatorRound2_IdentifiedCommitments) 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 *CoordinatorRound2_IdentifiedCommitments) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CoordinatorRound2_IdentifiedCommitments) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Commitments != nil { + { + size, err := m.Commitments.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Identifier) > 0 { + i -= len(m.Identifier) + copy(dAtA[i:], m.Identifier) + i = encodeVarintThreshold(dAtA, i, uint64(len(m.Identifier))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CoordinatorRound2_PartialSigningPackage) 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 *CoordinatorRound2_PartialSigningPackage) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CoordinatorRound2_PartialSigningPackage) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AllCommitments) > 0 { + for iNdEx := len(m.AllCommitments) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.AllCommitments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *FollowerRound1) 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 *FollowerRound1) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FollowerRound1) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Sig != nil { + { + size, err := m.Sig.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Pk != nil { + { + size, err := m.Pk.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Inner != nil { + { + size, err := m.Inner.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FollowerRound1_Inner) 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 *FollowerRound1_Inner) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FollowerRound1_Inner) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Commitments) > 0 { + for iNdEx := len(m.Commitments) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Commitments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *FollowerRound2) 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 *FollowerRound2) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FollowerRound2) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Sig != nil { + { + size, err := m.Sig.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Pk != nil { + { + size, err := m.Pk.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Inner != nil { + { + size, err := m.Inner.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FollowerRound2_Inner) 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 *FollowerRound2_Inner) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FollowerRound2_Inner) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Shares) > 0 { + for iNdEx := len(m.Shares) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Shares[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *DKGRound1) 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 *DKGRound1) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DKGRound1) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Vk) > 0 { + i -= len(m.Vk) + copy(dAtA[i:], m.Vk) + i = encodeVarintThreshold(dAtA, i, uint64(len(m.Vk))) + i-- + dAtA[i] = 0x22 + } + if len(m.Epk) > 0 { + i -= len(m.Epk) + copy(dAtA[i:], m.Epk) + i = encodeVarintThreshold(dAtA, i, uint64(len(m.Epk))) + i-- + dAtA[i] = 0x1a + } + if len(m.NullifierCommitment) > 0 { + i -= len(m.NullifierCommitment) + copy(dAtA[i:], m.NullifierCommitment) + i = encodeVarintThreshold(dAtA, i, uint64(len(m.NullifierCommitment))) + i-- + dAtA[i] = 0x12 + } + if m.Pkg != nil { + { + size, err := m.Pkg.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DKGRound2) 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 *DKGRound2) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DKGRound2) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Sig) > 0 { + i -= len(m.Sig) + copy(dAtA[i:], m.Sig) + i = encodeVarintThreshold(dAtA, i, uint64(len(m.Sig))) + i-- + dAtA[i] = 0x1a + } + if len(m.Vk) > 0 { + i -= len(m.Vk) + copy(dAtA[i:], m.Vk) + i = encodeVarintThreshold(dAtA, i, uint64(len(m.Vk))) + i-- + dAtA[i] = 0x12 + } + if m.Inner != nil { + { + size, err := m.Inner.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DKGRound2_TargetedPackage) 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 *DKGRound2_TargetedPackage) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DKGRound2_TargetedPackage) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.EncryptedPackage) > 0 { + i -= len(m.EncryptedPackage) + copy(dAtA[i:], m.EncryptedPackage) + i = encodeVarintThreshold(dAtA, i, uint64(len(m.EncryptedPackage))) + i-- + dAtA[i] = 0x12 + } + if len(m.Vk) > 0 { + i -= len(m.Vk) + copy(dAtA[i:], m.Vk) + i = encodeVarintThreshold(dAtA, i, uint64(len(m.Vk))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DKGRound2_Inner) 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 *DKGRound2_Inner) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DKGRound2_Inner) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Nullifier) > 0 { + i -= len(m.Nullifier) + copy(dAtA[i:], m.Nullifier) + i = encodeVarintThreshold(dAtA, i, uint64(len(m.Nullifier))) + i-- + dAtA[i] = 0x12 + } + if len(m.EncryptedPackages) > 0 { + for iNdEx := len(m.EncryptedPackages) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.EncryptedPackages[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintThreshold(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintThreshold(dAtA []byte, offset int, v uint64) int { + offset -= sovThreshold(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *VerificationKey) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovThreshold(uint64(l)) + } + return n +} + +func (m *Signature) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovThreshold(uint64(l)) + } + return n +} + +func (m *CoordinatorRound1) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Plan != nil { + l = m.Plan.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + return n +} + +func (m *CoordinatorRound2) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.SigningPackages) > 0 { + for _, e := range m.SigningPackages { + l = e.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + } + return n +} + +func (m *CoordinatorRound2_IdentifiedCommitments) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Identifier) + if l > 0 { + n += 1 + l + sovThreshold(uint64(l)) + } + if m.Commitments != nil { + l = m.Commitments.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + return n +} + +func (m *CoordinatorRound2_PartialSigningPackage) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.AllCommitments) > 0 { + for _, e := range m.AllCommitments { + l = e.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + } + return n +} + +func (m *FollowerRound1) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Inner != nil { + l = m.Inner.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + if m.Pk != nil { + l = m.Pk.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + if m.Sig != nil { + l = m.Sig.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + return n +} + +func (m *FollowerRound1_Inner) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Commitments) > 0 { + for _, e := range m.Commitments { + l = e.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + } + return n +} + +func (m *FollowerRound2) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Inner != nil { + l = m.Inner.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + if m.Pk != nil { + l = m.Pk.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + if m.Sig != nil { + l = m.Sig.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + return n +} + +func (m *FollowerRound2_Inner) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Shares) > 0 { + for _, e := range m.Shares { + l = e.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + } + return n +} + +func (m *DKGRound1) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pkg != nil { + l = m.Pkg.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + l = len(m.NullifierCommitment) + if l > 0 { + n += 1 + l + sovThreshold(uint64(l)) + } + l = len(m.Epk) + if l > 0 { + n += 1 + l + sovThreshold(uint64(l)) + } + l = len(m.Vk) + if l > 0 { + n += 1 + l + sovThreshold(uint64(l)) + } + return n +} + +func (m *DKGRound2) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Inner != nil { + l = m.Inner.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + l = len(m.Vk) + if l > 0 { + n += 1 + l + sovThreshold(uint64(l)) + } + l = len(m.Sig) + if l > 0 { + n += 1 + l + sovThreshold(uint64(l)) + } + return n +} + +func (m *DKGRound2_TargetedPackage) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Vk) + if l > 0 { + n += 1 + l + sovThreshold(uint64(l)) + } + l = len(m.EncryptedPackage) + if l > 0 { + n += 1 + l + sovThreshold(uint64(l)) + } + return n +} + +func (m *DKGRound2_Inner) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.EncryptedPackages) > 0 { + for _, e := range m.EncryptedPackages { + l = e.Size() + n += 1 + l + sovThreshold(uint64(l)) + } + } + l = len(m.Nullifier) + if l > 0 { + n += 1 + l + sovThreshold(uint64(l)) + } + return n +} + +func sovThreshold(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozThreshold(x uint64) (n int) { + return sovThreshold(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *VerificationKey) 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 ErrIntOverflowThreshold + } + 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: VerificationKey: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: VerificationKey: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Signature) 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 ErrIntOverflowThreshold + } + 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: Signature: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Signature: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CoordinatorRound1) 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 ErrIntOverflowThreshold + } + 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: CoordinatorRound1: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CoordinatorRound1: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Plan", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Plan == nil { + m.Plan = &v1alpha1.TransactionPlan{} + } + if err := m.Plan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CoordinatorRound2) 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 ErrIntOverflowThreshold + } + 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: CoordinatorRound2: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CoordinatorRound2: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SigningPackages", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SigningPackages = append(m.SigningPackages, &CoordinatorRound2_PartialSigningPackage{}) + if err := m.SigningPackages[len(m.SigningPackages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CoordinatorRound2_IdentifiedCommitments) 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 ErrIntOverflowThreshold + } + 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: IdentifiedCommitments: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: IdentifiedCommitments: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identifier", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identifier = append(m.Identifier[:0], dAtA[iNdEx:postIndex]...) + if m.Identifier == nil { + m.Identifier = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Commitments", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Commitments == nil { + m.Commitments = &v1alpha11.SigningCommitments{} + } + if err := m.Commitments.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CoordinatorRound2_PartialSigningPackage) 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 ErrIntOverflowThreshold + } + 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: PartialSigningPackage: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PartialSigningPackage: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllCommitments", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllCommitments = append(m.AllCommitments, &CoordinatorRound2_IdentifiedCommitments{}) + if err := m.AllCommitments[len(m.AllCommitments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FollowerRound1) 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 ErrIntOverflowThreshold + } + 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: FollowerRound1: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FollowerRound1: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Inner == nil { + m.Inner = &FollowerRound1_Inner{} + } + if err := m.Inner.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pk", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pk == nil { + m.Pk = &VerificationKey{} + } + if err := m.Pk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sig", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Sig == nil { + m.Sig = &Signature{} + } + if err := m.Sig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FollowerRound1_Inner) 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 ErrIntOverflowThreshold + } + 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: Inner: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Inner: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Commitments", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Commitments = append(m.Commitments, &v1alpha11.SigningCommitments{}) + if err := m.Commitments[len(m.Commitments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FollowerRound2) 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 ErrIntOverflowThreshold + } + 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: FollowerRound2: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FollowerRound2: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Inner == nil { + m.Inner = &FollowerRound2_Inner{} + } + if err := m.Inner.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pk", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pk == nil { + m.Pk = &VerificationKey{} + } + if err := m.Pk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sig", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Sig == nil { + m.Sig = &Signature{} + } + if err := m.Sig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FollowerRound2_Inner) 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 ErrIntOverflowThreshold + } + 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: Inner: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Inner: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Shares", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Shares = append(m.Shares, &v1alpha11.SignatureShare{}) + if err := m.Shares[len(m.Shares)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DKGRound1) 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 ErrIntOverflowThreshold + } + 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: DKGRound1: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DKGRound1: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pkg", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pkg == nil { + m.Pkg = &v1alpha11.DKGRound1Package{} + } + if err := m.Pkg.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NullifierCommitment", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NullifierCommitment = append(m.NullifierCommitment[:0], dAtA[iNdEx:postIndex]...) + if m.NullifierCommitment == nil { + m.NullifierCommitment = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Epk", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Epk = append(m.Epk[:0], dAtA[iNdEx:postIndex]...) + if m.Epk == nil { + m.Epk = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vk", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Vk = append(m.Vk[:0], dAtA[iNdEx:postIndex]...) + if m.Vk == nil { + m.Vk = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DKGRound2) 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 ErrIntOverflowThreshold + } + 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: DKGRound2: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DKGRound2: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Inner == nil { + m.Inner = &DKGRound2_Inner{} + } + if err := m.Inner.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vk", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Vk = append(m.Vk[:0], dAtA[iNdEx:postIndex]...) + if m.Vk == nil { + m.Vk = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sig", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sig = append(m.Sig[:0], dAtA[iNdEx:postIndex]...) + if m.Sig == nil { + m.Sig = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DKGRound2_TargetedPackage) 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 ErrIntOverflowThreshold + } + 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: TargetedPackage: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TargetedPackage: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Vk", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Vk = append(m.Vk[:0], dAtA[iNdEx:postIndex]...) + if m.Vk == nil { + m.Vk = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EncryptedPackage", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EncryptedPackage = append(m.EncryptedPackage[:0], dAtA[iNdEx:postIndex]...) + if m.EncryptedPackage == nil { + m.EncryptedPackage = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DKGRound2_Inner) 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 ErrIntOverflowThreshold + } + 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: Inner: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Inner: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EncryptedPackages", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EncryptedPackages = append(m.EncryptedPackages, &DKGRound2_TargetedPackage{}) + if err := m.EncryptedPackages[len(m.EncryptedPackages)-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 Nullifier", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowThreshold + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthThreshold + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthThreshold + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Nullifier = append(m.Nullifier[:0], dAtA[iNdEx:postIndex]...) + if m.Nullifier == nil { + m.Nullifier = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipThreshold(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthThreshold + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipThreshold(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, ErrIntOverflowThreshold + } + 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, ErrIntOverflowThreshold + } + 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, ErrIntOverflowThreshold + } + 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, ErrInvalidLengthThreshold + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupThreshold + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthThreshold + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthThreshold = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowThreshold = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupThreshold = fmt.Errorf("proto: unexpected end of group") +) diff --git a/relayer/chains/penumbra/custody/v1alpha1/custody.pb.go b/relayer/chains/penumbra/custody/v1alpha1/custody.pb.go index 5ab7293eb..d53f55fa0 100644 --- a/relayer/chains/penumbra/custody/v1alpha1/custody.pb.go +++ b/relayer/chains/penumbra/custody/v1alpha1/custody.pb.go @@ -32,10 +32,10 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type AuthorizeRequest struct { // The transaction plan to authorize. Plan *v1alpha1.TransactionPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"` - // Identifies the FVK (and hence the spend authorization key) to use for signing. - WalletId *v1alpha11.WalletId `protobuf:"bytes,2,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` // Optionally, pre-authorization data, if required by the custodian. // + // Pre-authorization data is backend-specific, and backends are free to ignore it. + // // Multiple `PreAuthorization` packets can be included in a single request, // to support multi-party pre-authorizations. PreAuthorizations []*PreAuthorization `protobuf:"bytes,3,rep,name=pre_authorizations,json=preAuthorizations,proto3" json:"pre_authorizations,omitempty"` @@ -81,13 +81,6 @@ func (m *AuthorizeRequest) GetPlan() *v1alpha1.TransactionPlan { return nil } -func (m *AuthorizeRequest) GetWalletId() *v1alpha11.WalletId { - if m != nil { - return m.WalletId - } - return nil -} - func (m *AuthorizeRequest) GetPreAuthorizations() []*PreAuthorization { if m != nil { return m.PreAuthorizations @@ -271,11 +264,184 @@ func (m *PreAuthorization_Ed25519) GetSig() []byte { return nil } +type ExportFullViewingKeyRequest struct { +} + +func (m *ExportFullViewingKeyRequest) Reset() { *m = ExportFullViewingKeyRequest{} } +func (m *ExportFullViewingKeyRequest) String() string { return proto.CompactTextString(m) } +func (*ExportFullViewingKeyRequest) ProtoMessage() {} +func (*ExportFullViewingKeyRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_8c8c99775232419d, []int{3} +} +func (m *ExportFullViewingKeyRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ExportFullViewingKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ExportFullViewingKeyRequest.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 *ExportFullViewingKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExportFullViewingKeyRequest.Merge(m, src) +} +func (m *ExportFullViewingKeyRequest) XXX_Size() int { + return m.Size() +} +func (m *ExportFullViewingKeyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ExportFullViewingKeyRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ExportFullViewingKeyRequest proto.InternalMessageInfo + +type ExportFullViewingKeyResponse struct { + // The full viewing key. + FullViewingKey *v1alpha11.FullViewingKey `protobuf:"bytes,1,opt,name=full_viewing_key,json=fullViewingKey,proto3" json:"full_viewing_key,omitempty"` +} + +func (m *ExportFullViewingKeyResponse) Reset() { *m = ExportFullViewingKeyResponse{} } +func (m *ExportFullViewingKeyResponse) String() string { return proto.CompactTextString(m) } +func (*ExportFullViewingKeyResponse) ProtoMessage() {} +func (*ExportFullViewingKeyResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_8c8c99775232419d, []int{4} +} +func (m *ExportFullViewingKeyResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ExportFullViewingKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ExportFullViewingKeyResponse.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 *ExportFullViewingKeyResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExportFullViewingKeyResponse.Merge(m, src) +} +func (m *ExportFullViewingKeyResponse) XXX_Size() int { + return m.Size() +} +func (m *ExportFullViewingKeyResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ExportFullViewingKeyResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ExportFullViewingKeyResponse proto.InternalMessageInfo + +func (m *ExportFullViewingKeyResponse) GetFullViewingKey() *v1alpha11.FullViewingKey { + if m != nil { + return m.FullViewingKey + } + return nil +} + +type ConfirmAddressRequest struct { + AddressIndex *v1alpha11.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` +} + +func (m *ConfirmAddressRequest) Reset() { *m = ConfirmAddressRequest{} } +func (m *ConfirmAddressRequest) String() string { return proto.CompactTextString(m) } +func (*ConfirmAddressRequest) ProtoMessage() {} +func (*ConfirmAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_8c8c99775232419d, []int{5} +} +func (m *ConfirmAddressRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConfirmAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConfirmAddressRequest.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 *ConfirmAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfirmAddressRequest.Merge(m, src) +} +func (m *ConfirmAddressRequest) XXX_Size() int { + return m.Size() +} +func (m *ConfirmAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ConfirmAddressRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfirmAddressRequest proto.InternalMessageInfo + +func (m *ConfirmAddressRequest) GetAddressIndex() *v1alpha11.AddressIndex { + if m != nil { + return m.AddressIndex + } + return nil +} + +type ConfirmAddressResponse struct { + Address *v1alpha11.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (m *ConfirmAddressResponse) Reset() { *m = ConfirmAddressResponse{} } +func (m *ConfirmAddressResponse) String() string { return proto.CompactTextString(m) } +func (*ConfirmAddressResponse) ProtoMessage() {} +func (*ConfirmAddressResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_8c8c99775232419d, []int{6} +} +func (m *ConfirmAddressResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConfirmAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConfirmAddressResponse.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 *ConfirmAddressResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfirmAddressResponse.Merge(m, src) +} +func (m *ConfirmAddressResponse) XXX_Size() int { + return m.Size() +} +func (m *ConfirmAddressResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfirmAddressResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfirmAddressResponse proto.InternalMessageInfo + +func (m *ConfirmAddressResponse) GetAddress() *v1alpha11.Address { + if m != nil { + return m.Address + } + return nil +} + func init() { proto.RegisterType((*AuthorizeRequest)(nil), "penumbra.custody.v1alpha1.AuthorizeRequest") proto.RegisterType((*AuthorizeResponse)(nil), "penumbra.custody.v1alpha1.AuthorizeResponse") proto.RegisterType((*PreAuthorization)(nil), "penumbra.custody.v1alpha1.PreAuthorization") proto.RegisterType((*PreAuthorization_Ed25519)(nil), "penumbra.custody.v1alpha1.PreAuthorization.Ed25519") + proto.RegisterType((*ExportFullViewingKeyRequest)(nil), "penumbra.custody.v1alpha1.ExportFullViewingKeyRequest") + proto.RegisterType((*ExportFullViewingKeyResponse)(nil), "penumbra.custody.v1alpha1.ExportFullViewingKeyResponse") + proto.RegisterType((*ConfirmAddressRequest)(nil), "penumbra.custody.v1alpha1.ConfirmAddressRequest") + proto.RegisterType((*ConfirmAddressResponse)(nil), "penumbra.custody.v1alpha1.ConfirmAddressResponse") } func init() { @@ -283,40 +449,49 @@ func init() { } var fileDescriptor_8c8c99775232419d = []byte{ - // 526 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x4f, 0x6f, 0xd3, 0x30, - 0x18, 0xc6, 0x9b, 0x74, 0x62, 0xcc, 0xab, 0x50, 0x6b, 0x24, 0xd4, 0x15, 0x11, 0x4d, 0x95, 0x06, - 0x93, 0x86, 0x1c, 0x35, 0xa3, 0x07, 0xca, 0x69, 0x19, 0x68, 0xec, 0x80, 0x88, 0xc2, 0x5f, 0x4d, - 0x15, 0x93, 0x9b, 0x98, 0x35, 0x6a, 0x1a, 0x07, 0xdb, 0xc9, 0x54, 0x4e, 0x7c, 0x04, 0x3e, 0xc3, - 0x24, 0x2e, 0x7c, 0x12, 0xc4, 0x69, 0x47, 0x8e, 0xa8, 0xbd, 0xf1, 0x15, 0xb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e, 0x10, 0xa6, 0xc7, 0xc6, 0x7c, 0xe9, 0x0c, - 0xb1, 0x17, 0x70, 0x7d, 0xe9, 0x07, 0x7d, 0x94, 0x0b, 0x72, 0x7f, 0xa6, 0x56, 0xad, 0xfd, 0xb7, - 0x5f, 0xd5, 0x0d, 0x4b, 0x36, 0x92, 0x5f, 0x8b, 0x5e, 0xe7, 0x8e, 0xef, 0x45, 0xad, 0x9f, 0xd7, - 0xfa, 0xb2, 0x36, 0x55, 0xb7, 0x96, 0xd6, 0xfa, 0x07, 0x96, 0xf9, 0x8c, 0x08, 0x9c, 0xbc, 0x98, - 0x5f, 0xea, 0x6d, 0xe9, 0xeb, 0xf5, 0x72, 0x63, 0xaf, 0x27, 0x9d, 0x83, 0x6b, 0xe9, 0xa7, 0xdd, - 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0xaa, 0xf3, 0x21, 0x6f, 0x58, 0x04, 0x00, 0x00, + // 657 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, + 0x14, 0x8d, 0x9d, 0xea, 0xab, 0xbe, 0xdb, 0x52, 0xa5, 0x03, 0x54, 0x6d, 0x4a, 0xa3, 0xca, 0xe2, + 0xa7, 0xa8, 0xc8, 0x26, 0x29, 0x05, 0x11, 0x24, 0xa4, 0xa6, 0x94, 0x52, 0x21, 0xc0, 0x32, 0xb4, + 0xaa, 0xaa, 0x8a, 0x68, 0xea, 0x4c, 0x12, 0x2b, 0x8e, 0xc7, 0xcc, 0xd8, 0xa1, 0x61, 0xc7, 0x8a, + 0x2d, 0xcf, 0x50, 0x89, 0x0d, 0x2f, 0xc0, 0x2b, 0x20, 0x56, 0x5d, 0xb2, 0x44, 0xe9, 0x8e, 0xa7, + 0x40, 0x89, 0x67, 0x9a, 0xc4, 0x24, 0x21, 0xdd, 0xf9, 0x9e, 0x7b, 0xee, 0xb9, 0xbf, 0x1e, 0xb8, + 0xe5, 0x13, 0x2f, 0xac, 0x1f, 0x31, 0x6c, 0xd8, 0x21, 0x0f, 0x68, 0xa9, 0x69, 0x34, 0xb2, 0xd8, + 0xf5, 0xab, 0x38, 0x2b, 0x01, 0xdd, 0x67, 0x34, 0xa0, 0x68, 0x41, 0x12, 0x75, 0x89, 0x4b, 0x62, + 0xfa, 0x66, 0x57, 0x83, 0x32, 0x62, 0xd4, 0x48, 0x93, 0x77, 0x55, 0xda, 0x56, 0x24, 0x91, 0xbe, + 0xd7, 0xcf, 0x0b, 0x18, 0xf6, 0x38, 0xb6, 0x03, 0x87, 0x7a, 0x5d, 0x7a, 0x0f, 0x18, 0x45, 0x69, + 0xdf, 0x14, 0x48, 0x6d, 0x84, 0x41, 0x95, 0x32, 0xe7, 0x03, 0xb1, 0xc8, 0xbb, 0x90, 0xf0, 0x00, + 0x6d, 0xc3, 0x84, 0xef, 0x62, 0x6f, 0x5e, 0x59, 0x56, 0x56, 0xa6, 0x72, 0x6b, 0x7a, 0xb7, 0x38, + 0xca, 0x88, 0xde, 0x2b, 0x22, 0x95, 0xf5, 0x37, 0x5d, 0xd0, 0x74, 0xb1, 0x67, 0x75, 0x04, 0xd0, + 0x01, 0x20, 0x9f, 0x91, 0x22, 0x16, 0x09, 0x70, 0xdb, 0xcd, 0xe7, 0x93, 0xcb, 0xc9, 0x95, 0xa9, + 0xdc, 0xaa, 0x3e, 0xb4, 0x67, 0xdd, 0x64, 0x64, 0xa3, 0x37, 0xc6, 0x9a, 0xf5, 0x63, 0x08, 0xd7, + 0xde, 0xc2, 0x6c, 0x4f, 0xe1, 0xdc, 0xa7, 0x1e, 0x27, 0x68, 0x07, 0x26, 0x4a, 0x38, 0xc0, 0xa2, + 0xf2, 0xf5, 0x71, 0x2a, 0xef, 0x93, 0x7d, 0x82, 0x03, 0x6c, 0x75, 0x24, 0xb4, 0x2f, 0x0a, 0xa4, + 0xe2, 0x75, 0xa0, 0x57, 0x30,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5f, 0xfb, 0x13, 0x00, 0x00, 0xff, 0xff, 0x2c, 0xdf, 0x4c, 0xa2, 0x6e, 0x06, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -333,6 +508,18 @@ const _ = grpc.SupportPackageIsVersion4 type CustodyProtocolServiceClient interface { // Requests authorization of the transaction with the given description. Authorize(ctx context.Context, in *AuthorizeRequest, opts ...grpc.CallOption) (*AuthorizeResponse, error) + // Requests the full viewing key from the custodian. + // + // Custody backends should decide whether to honor this request, and how to + // control access to it. + ExportFullViewingKey(ctx context.Context, in *ExportFullViewingKeyRequest, opts ...grpc.CallOption) (*ExportFullViewingKeyResponse, error) + // Displays an address to a user for confirmation. + // + // Custody backends with user interaction should present the address to the + // user and wait for explicit confirmation before returning. + // + // Non-interactive custody backends may return immediately. + ConfirmAddress(ctx context.Context, in *ConfirmAddressRequest, opts ...grpc.CallOption) (*ConfirmAddressResponse, error) } type custodyProtocolServiceClient struct { @@ -352,10 +539,40 @@ func (c *custodyProtocolServiceClient) Authorize(ctx context.Context, in *Author return out, nil } +func (c *custodyProtocolServiceClient) ExportFullViewingKey(ctx context.Context, in *ExportFullViewingKeyRequest, opts ...grpc.CallOption) (*ExportFullViewingKeyResponse, error) { + out := new(ExportFullViewingKeyResponse) + err := c.cc.Invoke(ctx, "/penumbra.custody.v1alpha1.CustodyProtocolService/ExportFullViewingKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *custodyProtocolServiceClient) ConfirmAddress(ctx context.Context, in *ConfirmAddressRequest, opts ...grpc.CallOption) (*ConfirmAddressResponse, error) { + out := new(ConfirmAddressResponse) + err := c.cc.Invoke(ctx, "/penumbra.custody.v1alpha1.CustodyProtocolService/ConfirmAddress", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // CustodyProtocolServiceServer is the server API for CustodyProtocolService service. type CustodyProtocolServiceServer interface { // Requests authorization of the transaction with the given description. Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error) + // Requests the full viewing key from the custodian. + // + // Custody backends should decide whether to honor this request, and how to + // control access to it. + ExportFullViewingKey(context.Context, *ExportFullViewingKeyRequest) (*ExportFullViewingKeyResponse, error) + // Displays an address to a user for confirmation. + // + // Custody backends with user interaction should present the address to the + // user and wait for explicit confirmation before returning. + // + // Non-interactive custody backends may return immediately. + ConfirmAddress(context.Context, *ConfirmAddressRequest) (*ConfirmAddressResponse, error) } // UnimplementedCustodyProtocolServiceServer can be embedded to have forward compatible implementations. @@ -365,6 +582,12 @@ type UnimplementedCustodyProtocolServiceServer struct { func (*UnimplementedCustodyProtocolServiceServer) Authorize(ctx context.Context, req *AuthorizeRequest) (*AuthorizeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Authorize not implemented") } +func (*UnimplementedCustodyProtocolServiceServer) ExportFullViewingKey(ctx context.Context, req *ExportFullViewingKeyRequest) (*ExportFullViewingKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ExportFullViewingKey not implemented") +} +func (*UnimplementedCustodyProtocolServiceServer) ConfirmAddress(ctx context.Context, req *ConfirmAddressRequest) (*ConfirmAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ConfirmAddress not implemented") +} func RegisterCustodyProtocolServiceServer(s grpc1.Server, srv CustodyProtocolServiceServer) { s.RegisterService(&_CustodyProtocolService_serviceDesc, srv) @@ -388,6 +611,42 @@ func _CustodyProtocolService_Authorize_Handler(srv interface{}, ctx context.Cont return interceptor(ctx, in, info, handler) } +func _CustodyProtocolService_ExportFullViewingKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ExportFullViewingKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CustodyProtocolServiceServer).ExportFullViewingKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.custody.v1alpha1.CustodyProtocolService/ExportFullViewingKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CustodyProtocolServiceServer).ExportFullViewingKey(ctx, req.(*ExportFullViewingKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CustodyProtocolService_ConfirmAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ConfirmAddressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CustodyProtocolServiceServer).ConfirmAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.custody.v1alpha1.CustodyProtocolService/ConfirmAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CustodyProtocolServiceServer).ConfirmAddress(ctx, req.(*ConfirmAddressRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _CustodyProtocolService_serviceDesc = grpc.ServiceDesc{ ServiceName: "penumbra.custody.v1alpha1.CustodyProtocolService", HandlerType: (*CustodyProtocolServiceServer)(nil), @@ -396,6 +655,14 @@ var _CustodyProtocolService_serviceDesc = grpc.ServiceDesc{ MethodName: "Authorize", Handler: _CustodyProtocolService_Authorize_Handler, }, + { + MethodName: "ExportFullViewingKey", + Handler: _CustodyProtocolService_ExportFullViewingKey_Handler, + }, + { + MethodName: "ConfirmAddress", + Handler: _CustodyProtocolService_ConfirmAddress_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "penumbra/custody/v1alpha1/custody.proto", @@ -435,18 +702,6 @@ func (m *AuthorizeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x1a } } - if m.WalletId != nil { - { - size, err := m.WalletId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCustody(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } if m.Plan != nil { { size, err := m.Plan.MarshalToSizedBuffer(dAtA[:i]) @@ -587,80 +842,204 @@ func (m *PreAuthorization_Ed25519) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func encodeVarintCustody(dAtA []byte, offset int, v uint64) int { - offset -= sovCustody(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *ExportFullViewingKeyRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *AuthorizeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Plan != nil { - l = m.Plan.Size() - n += 1 + l + sovCustody(uint64(l)) - } - if m.WalletId != nil { - l = m.WalletId.Size() - n += 1 + l + sovCustody(uint64(l)) - } - if len(m.PreAuthorizations) > 0 { - for _, e := range m.PreAuthorizations { - l = e.Size() - n += 1 + l + sovCustody(uint64(l)) - } - } - return n + +func (m *ExportFullViewingKeyRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AuthorizeResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *ExportFullViewingKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Data != nil { - l = m.Data.Size() - n += 1 + l + sovCustody(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *PreAuthorization) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PreAuthorization != nil { - n += m.PreAuthorization.Size() +func (m *ExportFullViewingKeyResponse) 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 n + return dAtA[:n], nil } -func (m *PreAuthorization_Ed25519_) Size() (n int) { - if m == nil { - return 0 - } +func (m *ExportFullViewingKeyResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ExportFullViewingKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Ed25519 != nil { - l = m.Ed25519.Size() - n += 1 + l + sovCustody(uint64(l)) + if m.FullViewingKey != nil { + { + size, err := m.FullViewingKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCustody(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *PreAuthorization_Ed25519) Size() (n int) { - if m == nil { - return 0 + +func (m *ConfirmAddressRequest) 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 *ConfirmAddressRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ConfirmAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AddressIndex != nil { + { + size, err := m.AddressIndex.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCustody(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ConfirmAddressResponse) 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 *ConfirmAddressResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ConfirmAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Address != nil { + { + size, err := m.Address.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCustody(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintCustody(dAtA []byte, offset int, v uint64) int { + offset -= sovCustody(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *AuthorizeRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Plan != nil { + l = m.Plan.Size() + n += 1 + l + sovCustody(uint64(l)) + } + if len(m.PreAuthorizations) > 0 { + for _, e := range m.PreAuthorizations { + l = e.Size() + n += 1 + l + sovCustody(uint64(l)) + } + } + return n +} + +func (m *AuthorizeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Data != nil { + l = m.Data.Size() + n += 1 + l + sovCustody(uint64(l)) + } + return n +} + +func (m *PreAuthorization) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PreAuthorization != nil { + n += m.PreAuthorization.Size() + } + return n +} + +func (m *PreAuthorization_Ed25519_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Ed25519 != nil { + l = m.Ed25519.Size() + n += 1 + l + sovCustody(uint64(l)) + } + return n +} +func (m *PreAuthorization_Ed25519) Size() (n int) { + if m == nil { + return 0 } var l int _ = l @@ -675,6 +1054,54 @@ func (m *PreAuthorization_Ed25519) Size() (n int) { return n } +func (m *ExportFullViewingKeyRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *ExportFullViewingKeyResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.FullViewingKey != nil { + l = m.FullViewingKey.Size() + n += 1 + l + sovCustody(uint64(l)) + } + return n +} + +func (m *ConfirmAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AddressIndex != nil { + l = m.AddressIndex.Size() + n += 1 + l + sovCustody(uint64(l)) + } + return n +} + +func (m *ConfirmAddressResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Address != nil { + l = m.Address.Size() + n += 1 + l + sovCustody(uint64(l)) + } + return n +} + func sovCustody(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -746,42 +1173,6 @@ func (m *AuthorizeRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCustody - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthCustody - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthCustody - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletId == nil { - m.WalletId = &v1alpha11.WalletId{} - } - if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field PreAuthorizations", wireType) @@ -1126,6 +1517,314 @@ func (m *PreAuthorization_Ed25519) Unmarshal(dAtA []byte) error { } return nil } +func (m *ExportFullViewingKeyRequest) 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 ErrIntOverflowCustody + } + 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: ExportFullViewingKeyRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExportFullViewingKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCustody(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCustody + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExportFullViewingKeyResponse) 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 ErrIntOverflowCustody + } + 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: ExportFullViewingKeyResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExportFullViewingKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FullViewingKey", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCustody + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCustody + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCustody + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.FullViewingKey == nil { + m.FullViewingKey = &v1alpha11.FullViewingKey{} + } + if err := m.FullViewingKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCustody(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCustody + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConfirmAddressRequest) 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 ErrIntOverflowCustody + } + 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: ConfirmAddressRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConfirmAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AddressIndex", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCustody + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCustody + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCustody + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AddressIndex == nil { + m.AddressIndex = &v1alpha11.AddressIndex{} + } + if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCustody(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCustody + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConfirmAddressResponse) 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 ErrIntOverflowCustody + } + 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: ConfirmAddressResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConfirmAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCustody + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCustody + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCustody + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Address == nil { + m.Address = &v1alpha11.Address{} + } + if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCustody(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCustody + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipCustody(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/event_parser.go b/relayer/chains/penumbra/event_parser.go index 1a9a3df61..f7128d521 100644 --- a/relayer/chains/penumbra/event_parser.go +++ b/relayer/chains/penumbra/event_parser.go @@ -7,7 +7,8 @@ import ( func (ccp *PenumbraChainProcessor) ibcMessagesFromBlockEvents( events []abci.Event, - height uint64, base64Encoded bool, + height uint64, + base64Encoded bool, ) (res []chains.IbcMessage) { chainID := ccp.chainProvider.ChainId() res = append(res, chains.IbcMessagesFromEvents(ccp.log, events, chainID, height, base64Encoded)...) diff --git a/relayer/chains/penumbra/narsil/ledger/v1alpha1/ledger.pb.go b/relayer/chains/penumbra/narsil/ledger/v1alpha1/ledger.pb.go index 5074564a0..ed22113b9 100644 --- a/relayer/chains/penumbra/narsil/ledger/v1alpha1/ledger.pb.go +++ b/relayer/chains/penumbra/narsil/ledger/v1alpha1/ledger.pb.go @@ -8,10 +8,10 @@ import ( fmt "fmt" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" + _ "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1alpha1" - v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/transaction/v1alpha1" - v1alpha13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/custody/v1alpha1" + v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/transaction/v1alpha1" + v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/custody/v1alpha1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -1472,7 +1472,7 @@ type CeremonyState_Finished struct { // A list of authorization share messages received in round 2. Shares []*AuthorizeShare `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"` // The authorization data resulting from the ceremony. - AuthData *v1alpha12.AuthorizationData `protobuf:"bytes,4,opt,name=auth_data,json=authData,proto3" json:"auth_data,omitempty"` + AuthData *v1alpha11.AuthorizationData `protobuf:"bytes,4,opt,name=auth_data,json=authData,proto3" json:"auth_data,omitempty"` } func (m *CeremonyState_Finished) Reset() { *m = CeremonyState_Finished{} } @@ -1529,7 +1529,7 @@ func (m *CeremonyState_Finished) GetShares() []*AuthorizeShare { return nil } -func (m *CeremonyState_Finished) GetAuthData() *v1alpha12.AuthorizationData { +func (m *CeremonyState_Finished) GetAuthData() *v1alpha11.AuthorizationData { if m != nil { return m.AuthData } @@ -1667,7 +1667,7 @@ type isNarsilPacket_Packet interface { } type NarsilPacket_AuthorizeRequest struct { - AuthorizeRequest *v1alpha13.AuthorizeRequest `protobuf:"bytes,1,opt,name=authorize_request,json=authorizeRequest,proto3,oneof" json:"authorize_request,omitempty"` + AuthorizeRequest *v1alpha12.AuthorizeRequest `protobuf:"bytes,1,opt,name=authorize_request,json=authorizeRequest,proto3,oneof" json:"authorize_request,omitempty"` } type NarsilPacket_AuthorizeCommitment struct { AuthorizeCommitment *AuthorizeCommitment `protobuf:"bytes,2,opt,name=authorize_commitment,json=authorizeCommitment,proto3,oneof" json:"authorize_commitment,omitempty"` @@ -1695,7 +1695,7 @@ func (m *NarsilPacket) GetPacket() isNarsilPacket_Packet { return nil } -func (m *NarsilPacket) GetAuthorizeRequest() *v1alpha13.AuthorizeRequest { +func (m *NarsilPacket) GetAuthorizeRequest() *v1alpha12.AuthorizeRequest { if x, ok := m.GetPacket().(*NarsilPacket_AuthorizeRequest); ok { return x.AuthorizeRequest } @@ -2442,26 +2442,26 @@ func init() { } var fileDescriptor_e17e78e0f19a1ac0 = []byte{ - // 1774 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcb, 0x8f, 0x1b, 0x49, - 0x19, 0xf7, 0x2b, 0x33, 0x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0, 0x8c, 0xa4, 0x1a, 0x1a, - 0x99, 0xd7, 0x52, 0x99, 0x31, 0x17, 0x81, 0x3b, 0xc9, 0xc0, 0xf4, 0x84, 0x06, 0x5a, 0xef, 0xe7, + // 1769 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcb, 0x8f, 0x23, 0x47, + 0x19, 0xf7, 0x6b, 0x67, 0xec, 0xcf, 0xf6, 0xcc, 0xa4, 0x76, 0x41, 0x23, 0x0b, 0xcd, 0x2e, 0x1d, + 0x20, 0xab, 0xdd, 0xac, 0x9d, 0x69, 0x96, 0x40, 0x06, 0x84, 0x14, 0xcf, 0xb2, 0xeb, 0x0d, 0xfb, + 0x18, 0x6a, 0x66, 0x27, 0x68, 0xb5, 0x92, 0x55, 0xee, 0x2e, 0xdb, 0xa5, 0x69, 0x77, 0x37, 0x5d, + 0xe5, 0x59, 0xcc, 0x99, 0x13, 0xa7, 0xfc, 0x0d, 0x48, 0x08, 0x89, 0x43, 0x24, 0x84, 0x84, 0x22, + 0x71, 0x40, 0x42, 0x8a, 0x04, 0x9c, 0x72, 0x84, 0x5b, 0x34, 0x7b, 0x01, 0xfe, 0x04, 0x4e, 0xa8, + 0x1e, 0xfd, 0xb0, 0xbd, 0x83, 0xed, 0x21, 0x91, 0x12, 0x85, 0x5b, 0x57, 0xf5, 0xef, 0xfb, 0x7d, + 0xcf, 0xfa, 0xaa, 0xaa, 0x1b, 0x5e, 0x0f, 0xa9, 0x3f, 0x1e, 0xf5, 0x22, 0xd2, 0xf2, 0x49, 0xc4, + 0x99, 0xd7, 0xf2, 0xa8, 0x3b, 0xa0, 0x51, 0xeb, 0x74, 0x97, 0x78, 0xe1, 0x90, 0xec, 0x9a, 0x71, + 0x33, 0x8c, 0x02, 0x11, 0xa0, 0xab, 0x31, 0xba, 0xa9, 0xd1, 0x4d, 0xf3, 0x36, 0x46, 0x37, 0xec, +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 0x90, 0x30, 0x31, 0xe1, 0x06, 0xbc, 0xe2, 0x11, 0x2e, 0xba, 0xda, 0x9b, 0x21, 0x65, 0x83, 0xa1, 0x50, 0x76, 0x94, 0xf0, 0xa6, 0x7c, @@ -2471,89 +2471,89 @@ var fileDescriptor_e17e78e0f19a1ac0 = []byte{ 0xdf, 0xa7, 0x91, 0x31, 0x5f, 0x0f, 0xac, 0xaf, 0x41, 0x6d, 0x5f, 0x3a, 0xe7, 0xf3, 0x31, 0x3f, 0x1f, 0xf5, 0x1a, 0x6c, 0x2a, 0xbe, 0x87, 0x94, 0x73, 0x32, 0xa0, 0xe7, 0x03, 0xaf, 0x41, 0x59, 0x01, 0xcf, 0x47, 0xdc, 0x82, 0x2f, 0x65, 0xa9, 0x0e, 0xd9, 0xc0, 0x27, 0x62, 0x1c, 0xd1, 0x73, - 0xe0, 0xbf, 0x2a, 0x18, 0x57, 0xee, 0x50, 0xee, 0x44, 0x2c, 0x94, 0xf5, 0x88, 0x8e, 0xa0, 0xc6, + 0xe0, 0xbf, 0x2a, 0x18, 0x57, 0xee, 0x50, 0xee, 0x44, 0x2c, 0x94, 0xb5, 0x85, 0x8e, 0xa0, 0xc6, 0x8c, 0x67, 0xdd, 0x13, 0x3a, 0x51, 0x12, 0x55, 0x7b, 0xb7, 0xb9, 0x60, 0x7d, 0x34, 0x67, 0x63, 0x82, 0xab, 0x2c, 0x13, 0xa0, 0x1f, 0x41, 0x75, 0xa4, 0x8d, 0x52, 0xa4, 0x05, 0x45, 0xfa, 0xc6, 0x72, 0xa4, 0x69, 0x60, 0x30, 0x8c, 0xd2, 0x20, 0x61, 0xa8, 0x3b, 0x71, 0x74, 0x15, 0x69, 0x51, 0x91, 0xde, 0x5a, 0x48, 0x9a, 0xcd, 0x09, 0xae, 0x39, 0x33, 0x19, 0xf2, 0x48, 0x8f, 0x7a, 0xa6, - 0x64, 0xf5, 0xc0, 0x3a, 0x85, 0xba, 0x32, 0xe4, 0xdd, 0x90, 0x46, 0x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 0x60, 0xd4, 0x72, 0x02, 0x3e, 0x0a, 0x78, + 0x2b, 0xa2, 0x1e, 0x99, 0xd0, 0xa8, 0x75, 0x6a, 0x27, 0x8f, 0xea, 0x37, 0x12, 0x6f, 0x2d, 0xf8, + 0x87, 0xf5, 0x5d, 0x3d, 0x8e, 0x87, 0xbf, 0x2c, 0x14, 0x0f, 0x1e, 0x3d, 0xf8, 0x4d, 0xe1, 0xea, + 0x41, 0x6c, 0x92, 0x3e, 0x9c, 0x36, 0xb5, 0x05, 0xcd, 0x63, 0x83, 0xfb, 0x6b, 0x8a, 0x78, 0xa6, + 0x11, 0xcf, 0x34, 0xe2, 0x59, 0x8c, 0x38, 0x2b, 0xdc, 0x5c, 0x80, 0x78, 0x76, 0xef, 0xa0, 0xfd, + 0x90, 0x0a, 0x22, 0x6f, 0x26, 0xff, 0x2a, 0x58, 0x31, 0x7a, 0x6f, 0x4f, 0xc3, 0xf7, 0xf6, 0x34, + 0x7e, 0x6f, 0x2f, 0x16, 0xe8, 0xad, 0xa9, 0xbf, 0x51, 0xdf, 0xfc, 0x4f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x00, 0x75, 0xdc, 0xfe, 0x99, 0x1b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -8286,7 +8286,7 @@ func (m *CeremonyState_Finished) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AuthData == nil { - m.AuthData = &v1alpha12.AuthorizationData{} + m.AuthData = &v1alpha11.AuthorizationData{} } if err := m.AuthData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -8561,7 +8561,7 @@ func (m *NarsilPacket) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha13.AuthorizeRequest{} + v := &v1alpha12.AuthorizeRequest{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } diff --git a/relayer/chains/penumbra/penumbra_chain_processor.go b/relayer/chains/penumbra/penumbra_chain_processor.go index a7e2061a1..56402312d 100644 --- a/relayer/chains/penumbra/penumbra_chain_processor.go +++ b/relayer/chains/penumbra/penumbra_chain_processor.go @@ -359,7 +359,7 @@ func (pcp *PenumbraChainProcessor) queryCycle(ctx context.Context, persistence * ibcHeaderCache[heightUint64] = latestHeader ppChanged = true - blockMsgs := pcp.ibcMessagesFromBlockEvents(blockRes.Events, heightUint64, true) + blockMsgs := pcp.ibcMessagesFromBlockEvents(blockRes.Events, heightUint64, pcp.chainProvider.cometLegacyEncoding) for _, m := range blockMsgs { pcp.handleMessage(m, ibcMessagesCache) } @@ -369,7 +369,7 @@ func (pcp *PenumbraChainProcessor) queryCycle(ctx context.Context, persistence * // tx was not successful continue } - messages := chains.IbcMessagesFromEvents(pcp.log, tx.Events, chainID, heightUint64, true) + messages := chains.IbcMessagesFromEvents(pcp.log, tx.Events, chainID, heightUint64, pcp.chainProvider.cometLegacyEncoding) for _, m := range messages { pcp.handleMessage(m, ibcMessagesCache) diff --git a/relayer/chains/penumbra/query.go b/relayer/chains/penumbra/query.go index cf6681ff7..85098e800 100644 --- a/relayer/chains/penumbra/query.go +++ b/relayer/chains/penumbra/query.go @@ -924,7 +924,7 @@ func (cc *PenumbraProvider) queryIBCMessages(ctx context.Context, log *zap.Logge var ibcMsgs []chains.IbcMessage chainID := cc.ChainId() for _, tx := range res.Txs { - ibcMsgs = append(ibcMsgs, chains.IbcMessagesFromEvents(log, tx.TxResult.Events, chainID, 0, true)...) + ibcMsgs = append(ibcMsgs, chains.IbcMessagesFromEvents(log, tx.TxResult.Events, chainID, 0, cc.cometLegacyEncoding)...) } return ibcMsgs, nil diff --git a/relayer/chains/penumbra/storage/v1alpha1/storage.pb.go b/relayer/chains/penumbra/storage/v1alpha1/storage.pb.go index 667b4ace1..a7c67d143 100644 --- a/relayer/chains/penumbra/storage/v1alpha1/storage.pb.go +++ b/relayer/chains/penumbra/storage/v1alpha1/storage.pb.go @@ -4,9 +4,17 @@ package storagev1alpha1 import ( + context "context" fmt "fmt" + grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" + types "github.com/cosmos/ibc-go/v8/modules/core/23-commitment/types" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. @@ -20,24 +28,1428 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// Performs a key-value query, either by key or by key hash. +// +// Proofs are only supported by key. +type KeyValueRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // If set, the key to fetch from storage. + Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` + // whether to return a proof + Proof bool `protobuf:"varint,3,opt,name=proof,proto3" json:"proof,omitempty"` +} + +func (m *KeyValueRequest) Reset() { *m = KeyValueRequest{} } +func (m *KeyValueRequest) String() string { return proto.CompactTextString(m) } +func (*KeyValueRequest) ProtoMessage() {} +func (*KeyValueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_02c76aead37ce84a, []int{0} +} +func (m *KeyValueRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *KeyValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_KeyValueRequest.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 *KeyValueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueRequest.Merge(m, src) +} +func (m *KeyValueRequest) XXX_Size() int { + return m.Size() +} +func (m *KeyValueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyValueRequest proto.InternalMessageInfo + +func (m *KeyValueRequest) GetChainId() string { + if m != nil { + return m.ChainId + } + return "" +} + +func (m *KeyValueRequest) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *KeyValueRequest) GetProof() bool { + if m != nil { + return m.Proof + } + return false +} + +type KeyValueResponse struct { + // The value corresponding to the specified key, if it was found. + Value *KeyValueResponse_Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // A proof of existence or non-existence. + Proof *types.MerkleProof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` +} + +func (m *KeyValueResponse) Reset() { *m = KeyValueResponse{} } +func (m *KeyValueResponse) String() string { return proto.CompactTextString(m) } +func (*KeyValueResponse) ProtoMessage() {} +func (*KeyValueResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_02c76aead37ce84a, []int{1} +} +func (m *KeyValueResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *KeyValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_KeyValueResponse.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 *KeyValueResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueResponse.Merge(m, src) +} +func (m *KeyValueResponse) XXX_Size() int { + return m.Size() +} +func (m *KeyValueResponse) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyValueResponse proto.InternalMessageInfo + +func (m *KeyValueResponse) GetValue() *KeyValueResponse_Value { + if m != nil { + return m.Value + } + return nil +} + +func (m *KeyValueResponse) GetProof() *types.MerkleProof { + if m != nil { + return m.Proof + } + return nil +} + +type KeyValueResponse_Value struct { + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *KeyValueResponse_Value) Reset() { *m = KeyValueResponse_Value{} } +func (m *KeyValueResponse_Value) String() string { return proto.CompactTextString(m) } +func (*KeyValueResponse_Value) ProtoMessage() {} +func (*KeyValueResponse_Value) Descriptor() ([]byte, []int) { + return fileDescriptor_02c76aead37ce84a, []int{1, 0} +} +func (m *KeyValueResponse_Value) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *KeyValueResponse_Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_KeyValueResponse_Value.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 *KeyValueResponse_Value) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueResponse_Value.Merge(m, src) +} +func (m *KeyValueResponse_Value) XXX_Size() int { + return m.Size() +} +func (m *KeyValueResponse_Value) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueResponse_Value.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyValueResponse_Value proto.InternalMessageInfo + +func (m *KeyValueResponse_Value) GetValue() []byte { + if m != nil { + return m.Value + } + return nil +} + +// Performs a prefixed key-value query, by string prefix. +type PrefixValueRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // The prefix to fetch subkeys from storage. + Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` +} + +func (m *PrefixValueRequest) Reset() { *m = PrefixValueRequest{} } +func (m *PrefixValueRequest) String() string { return proto.CompactTextString(m) } +func (*PrefixValueRequest) ProtoMessage() {} +func (*PrefixValueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_02c76aead37ce84a, []int{2} +} +func (m *PrefixValueRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PrefixValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PrefixValueRequest.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 *PrefixValueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrefixValueRequest.Merge(m, src) +} +func (m *PrefixValueRequest) XXX_Size() int { + return m.Size() +} +func (m *PrefixValueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PrefixValueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PrefixValueRequest proto.InternalMessageInfo + +func (m *PrefixValueRequest) GetChainId() string { + if m != nil { + return m.ChainId + } + return "" +} + +func (m *PrefixValueRequest) GetPrefix() string { + if m != nil { + return m.Prefix + } + return "" +} + +type PrefixValueResponse struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *PrefixValueResponse) Reset() { *m = PrefixValueResponse{} } +func (m *PrefixValueResponse) String() string { return proto.CompactTextString(m) } +func (*PrefixValueResponse) ProtoMessage() {} +func (*PrefixValueResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_02c76aead37ce84a, []int{3} +} +func (m *PrefixValueResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PrefixValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PrefixValueResponse.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 *PrefixValueResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrefixValueResponse.Merge(m, src) +} +func (m *PrefixValueResponse) XXX_Size() int { + return m.Size() +} +func (m *PrefixValueResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PrefixValueResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PrefixValueResponse proto.InternalMessageInfo + +func (m *PrefixValueResponse) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *PrefixValueResponse) GetValue() []byte { + if m != nil { + return m.Value + } + return nil +} + +func init() { + proto.RegisterType((*KeyValueRequest)(nil), "penumbra.storage.v1alpha1.KeyValueRequest") + proto.RegisterType((*KeyValueResponse)(nil), "penumbra.storage.v1alpha1.KeyValueResponse") + proto.RegisterType((*KeyValueResponse_Value)(nil), "penumbra.storage.v1alpha1.KeyValueResponse.Value") + proto.RegisterType((*PrefixValueRequest)(nil), "penumbra.storage.v1alpha1.PrefixValueRequest") + proto.RegisterType((*PrefixValueResponse)(nil), "penumbra.storage.v1alpha1.PrefixValueResponse") +} + func init() { proto.RegisterFile("penumbra/storage/v1alpha1/storage.proto", fileDescriptor_02c76aead37ce84a) } var fileDescriptor_02c76aead37ce84a = []byte{ - // 223 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2f, 0x48, 0xcd, 0x2b, - 0xcd, 0x4d, 0x2a, 0x4a, 0xd4, 0x2f, 0x2e, 0xc9, 0x2f, 0x4a, 0x4c, 0x4f, 0xd5, 0x2f, 0x33, 0x4c, - 0xcc, 0x29, 0xc8, 0x48, 0x34, 0x84, 0x09, 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x49, 0xc2, - 0x14, 0xea, 0xc1, 0xc4, 0x61, 0x0a, 0x9d, 0x16, 0x31, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, - 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, - 0xb1, 0x1c, 0x03, 0x97, 0x6c, 0x72, 0x7e, 0xae, 0x1e, 0x6e, 0x9d, 0x3c, 0xc1, 0x10, 0x91, 0x00, - 0x90, 0x15, 0x01, 0x8c, 0x51, 0xa1, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, - 0xfa, 0xc9, 0xf9, 0xc5, 0xb9, 0xf9, 0xc5, 0xfa, 0x45, 0xa9, 0x39, 0x89, 0x95, 0xa9, 0x45, 0xfa, - 0x65, 0x46, 0x70, 0x66, 0x72, 0x46, 0x62, 0x66, 0x5e, 0xb1, 0x3e, 0x4e, 0x97, 0x5b, 0x43, 0x05, - 0x60, 0xfc, 0x45, 0x4c, 0xcc, 0x01, 0xc1, 0x11, 0xab, 0x98, 0x24, 0x03, 0x60, 0x0e, 0x81, 0x5a, - 0xab, 0x17, 0x06, 0x55, 0x71, 0x0a, 0x21, 0x17, 0x03, 0x95, 0x8b, 0x81, 0xc9, 0x3d, 0x62, 0x52, - 0xc5, 0x29, 0x17, 0xe3, 0x1e, 0xe0, 0xe4, 0x9b, 0x5a, 0x92, 0x98, 0x92, 0x58, 0x92, 0xf8, 0x8a, - 0x49, 0x1a, 0xa6, 0xce, 0xca, 0x0a, 0xaa, 0xd0, 0xca, 0x0a, 0xa6, 0x32, 0x89, 0x0d, 0x1c, 0x8c, - 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x9e, 0x17, 0xb7, 0x71, 0x01, 0x00, 0x00, + // 490 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcf, 0x6b, 0x13, 0x41, + 0x14, 0xce, 0x6c, 0x48, 0x8d, 0xd3, 0x80, 0x65, 0x14, 0x49, 0x22, 0x5d, 0x4a, 0x44, 0x5a, 0x14, + 0x67, 0xdd, 0x78, 0x32, 0xe2, 0x25, 0x97, 0x20, 0x52, 0x58, 0x13, 0x2d, 0x22, 0x01, 0x99, 0x9d, + 0xbc, 0x36, 0x4b, 0xb3, 0x3b, 0xeb, 0xec, 0x0f, 0xcc, 0x7f, 0xe1, 0xdf, 0xd0, 0xa3, 0x77, 0xff, + 0x07, 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xf4, 0xee, 0x8b, 0xd5, 0xf2, + 0x8c, 0x11, 0xbd, 0x96, 0x9e, 0x68, 0xc6, 0xf7, 0x55, 0x6f, 0xac, 0x7b, 0x63, 0xd3, 0x5b, 0x58, + 0x0f, 0x36, 0xf6, 0xc6, 0x03, 0xaf, 0x7f, 0x0c, 0x29, 0x9b, 0xb0, 0x94, 0xfd, 0xb2, 0xee, 0x19, + 0x5e, 0xaf, 0xa7, 0x89, 0xbd, 0x9e, 0x61, 0xfa, 0x3b, 0xea, 0x9d, 0x3e, 0xfd, 0x1d, 0x00, 0x00, + 0xff, 0xff, 0x38, 0xfe, 0xb9, 0xc0, 0x16, 0x04, 0x00, 0x00, } + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// QueryServiceClient is the client API for QueryService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type QueryServiceClient interface { + // General-purpose key-value state query API, that can be used to query + // arbitrary keys in the JMT storage. + KeyValue(ctx context.Context, in *KeyValueRequest, opts ...grpc.CallOption) (*KeyValueResponse, error) + // General-purpose prefixed key-value state query API, that can be used to query + // arbitrary prefixes in the JMT storage. + // Returns a stream of `PrefixValueResponse`s. + PrefixValue(ctx context.Context, in *PrefixValueRequest, opts ...grpc.CallOption) (QueryService_PrefixValueClient, error) +} + +type queryServiceClient struct { + cc grpc1.ClientConn +} + +func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { + return &queryServiceClient{cc} +} + +func (c *queryServiceClient) KeyValue(ctx context.Context, in *KeyValueRequest, opts ...grpc.CallOption) (*KeyValueResponse, error) { + out := new(KeyValueResponse) + err := c.cc.Invoke(ctx, "/penumbra.storage.v1alpha1.QueryService/KeyValue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) PrefixValue(ctx context.Context, in *PrefixValueRequest, opts ...grpc.CallOption) (QueryService_PrefixValueClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.storage.v1alpha1.QueryService/PrefixValue", opts...) + if err != nil { + return nil, err + } + x := &queryServicePrefixValueClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type QueryService_PrefixValueClient interface { + Recv() (*PrefixValueResponse, error) + grpc.ClientStream +} + +type queryServicePrefixValueClient struct { + grpc.ClientStream +} + +func (x *queryServicePrefixValueClient) Recv() (*PrefixValueResponse, error) { + m := new(PrefixValueResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// QueryServiceServer is the server API for QueryService service. +type QueryServiceServer interface { + // General-purpose key-value state query API, that can be used to query + // arbitrary keys in the JMT storage. + KeyValue(context.Context, *KeyValueRequest) (*KeyValueResponse, error) + // General-purpose prefixed key-value state query API, that can be used to query + // arbitrary prefixes in the JMT storage. + // Returns a stream of `PrefixValueResponse`s. + PrefixValue(*PrefixValueRequest, QueryService_PrefixValueServer) error +} + +// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServiceServer struct { +} + +func (*UnimplementedQueryServiceServer) KeyValue(ctx context.Context, req *KeyValueRequest) (*KeyValueResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method KeyValue not implemented") +} +func (*UnimplementedQueryServiceServer) PrefixValue(req *PrefixValueRequest, srv QueryService_PrefixValueServer) error { + return status.Errorf(codes.Unimplemented, "method PrefixValue not implemented") +} + +func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { + s.RegisterService(&_QueryService_serviceDesc, srv) +} + +func _QueryService_KeyValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(KeyValueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).KeyValue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.storage.v1alpha1.QueryService/KeyValue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).KeyValue(ctx, req.(*KeyValueRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_PrefixValue_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(PrefixValueRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).PrefixValue(m, &queryServicePrefixValueServer{stream}) +} + +type QueryService_PrefixValueServer interface { + Send(*PrefixValueResponse) error + grpc.ServerStream +} + +type queryServicePrefixValueServer struct { + grpc.ServerStream +} + +func (x *queryServicePrefixValueServer) Send(m *PrefixValueResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _QueryService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "penumbra.storage.v1alpha1.QueryService", + HandlerType: (*QueryServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "KeyValue", + Handler: _QueryService_KeyValue_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "PrefixValue", + Handler: _QueryService_PrefixValue_Handler, + ServerStreams: true, + }, + }, + Metadata: "penumbra/storage/v1alpha1/storage.proto", +} + +func (m *KeyValueRequest) 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 *KeyValueRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *KeyValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Proof { + i-- + if m.Proof { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintStorage(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0x12 + } + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintStorage(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *KeyValueResponse) 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 *KeyValueResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *KeyValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Proof != nil { + { + size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintStorage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Value != nil { + { + size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintStorage(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *KeyValueResponse_Value) 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 *KeyValueResponse_Value) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *KeyValueResponse_Value) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintStorage(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PrefixValueRequest) 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 *PrefixValueRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PrefixValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Prefix) > 0 { + i -= len(m.Prefix) + copy(dAtA[i:], m.Prefix) + i = encodeVarintStorage(dAtA, i, uint64(len(m.Prefix))) + i-- + dAtA[i] = 0x12 + } + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintStorage(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PrefixValueResponse) 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 *PrefixValueResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PrefixValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintStorage(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0x12 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintStorage(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintStorage(dAtA []byte, offset int, v uint64) int { + offset -= sovStorage(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *KeyValueRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovStorage(uint64(l)) + } + l = len(m.Key) + if l > 0 { + n += 1 + l + sovStorage(uint64(l)) + } + if m.Proof { + n += 2 + } + return n +} + +func (m *KeyValueResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != nil { + l = m.Value.Size() + n += 1 + l + sovStorage(uint64(l)) + } + if m.Proof != nil { + l = m.Proof.Size() + n += 1 + l + sovStorage(uint64(l)) + } + return n +} + +func (m *KeyValueResponse_Value) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Value) + if l > 0 { + n += 1 + l + sovStorage(uint64(l)) + } + return n +} + +func (m *PrefixValueRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovStorage(uint64(l)) + } + l = len(m.Prefix) + if l > 0 { + n += 1 + l + sovStorage(uint64(l)) + } + return n +} + +func (m *PrefixValueResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovStorage(uint64(l)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sovStorage(uint64(l)) + } + return n +} + +func sovStorage(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozStorage(x uint64) (n int) { + return sovStorage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *KeyValueRequest) 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 ErrIntOverflowStorage + } + 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: KeyValueRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyValueRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorage + } + 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 ErrInvalidLengthStorage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthStorage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorage + } + 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 ErrInvalidLengthStorage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthStorage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Proof = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipStorage(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthStorage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueResponse) 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 ErrIntOverflowStorage + } + 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: KeyValueResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyValueResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthStorage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthStorage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Value == nil { + m.Value = &KeyValueResponse_Value{} + } + if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthStorage + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthStorage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Proof == nil { + m.Proof = &types.MerkleProof{} + } + if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipStorage(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthStorage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueResponse_Value) 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 ErrIntOverflowStorage + } + 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: Value: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Value: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthStorage + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthStorage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) + if m.Value == nil { + m.Value = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipStorage(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthStorage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrefixValueRequest) 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 ErrIntOverflowStorage + } + 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: PrefixValueRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrefixValueRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorage + } + 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 ErrInvalidLengthStorage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthStorage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorage + } + 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 ErrInvalidLengthStorage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthStorage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Prefix = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipStorage(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthStorage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrefixValueResponse) 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 ErrIntOverflowStorage + } + 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: PrefixValueResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrefixValueResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorage + } + 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 ErrInvalidLengthStorage + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthStorage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStorage + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthStorage + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthStorage + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) + if m.Value == nil { + m.Value = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipStorage(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthStorage + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipStorage(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, ErrIntOverflowStorage + } + 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, ErrIntOverflowStorage + } + 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, ErrIntOverflowStorage + } + 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, ErrInvalidLengthStorage + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupStorage + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthStorage + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthStorage = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowStorage = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupStorage = fmt.Errorf("proto: unexpected end of group") +) diff --git a/relayer/chains/penumbra/tx.go b/relayer/chains/penumbra/tx.go index a01461757..c07d7d299 100644 --- a/relayer/chains/penumbra/tx.go +++ b/relayer/chains/penumbra/tx.go @@ -2,11 +2,9 @@ package penumbra import ( "context" - "encoding/base64" "errors" "fmt" "math/rand" - "regexp" "strconv" "strings" "time" @@ -46,20 +44,17 @@ import ( "google.golang.org/grpc/status" ) -// Variables used for retries var ( - rtyAttNum = uint(5) - rtyAtt = retry.Attempts(rtyAttNum) - rtyDel = retry.Delay(time.Millisecond * 400) - rtyErr = retry.LastErrorOnly(true) - numRegex = regexp.MustCompile("[0-9]+") + rtyAttNum = uint(5) + rtyAtt = retry.Attempts(rtyAttNum) + rtyDel = retry.Delay(time.Millisecond * 400) + rtyErr = retry.LastErrorOnly(true) + defaultBroadcastWaitTimeout = 10 * time.Minute errUnknown = "unknown" ) -// Default IBC settings var ( - defaultChainPrefix = commitmenttypes.NewMerklePrefix([]byte("ibc")) defaultDelayPeriod = uint64(0) ) @@ -94,7 +89,11 @@ type intoAny interface { // SendMessage attempts to sign, encode & send a RelayerMessage // This is used extensively in the relayer as an extension of the Provider interface -func (cc *PenumbraProvider) SendMessage(ctx context.Context, msg provider.RelayerMessage, memo string) (*provider.RelayerTxResponse, bool, error) { +func (cc *PenumbraProvider) SendMessage( + ctx context.Context, + msg provider.RelayerMessage, + memo string, +) (*provider.RelayerTxResponse, bool, error) { return cc.SendMessages(ctx, []provider.RelayerMessage{msg}, memo) } @@ -109,85 +108,85 @@ func msgToPenumbraAction(msg sdk.Msg) (*penumbratypes.Action, error) { switch msg.(type) { case *clienttypes.MsgCreateClient: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *clienttypes.MsgUpdateClient: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *conntypes.MsgConnectionOpenInit: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *conntypes.MsgConnectionOpenAck: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *conntypes.MsgConnectionOpenTry: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *conntypes.MsgConnectionOpenConfirm: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *chantypes.MsgChannelOpenInit: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *chantypes.MsgChannelOpenTry: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *chantypes.MsgChannelOpenAck: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *chantypes.MsgChannelOpenConfirm: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *chantypes.MsgChannelCloseInit: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *chantypes.MsgChannelCloseConfirm: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *chantypes.MsgRecvPacket: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil case *chantypes.MsgAcknowledgement: return &penumbratypes.Action{ - Action: &penumbratypes.Action_IbcAction{IbcAction: &penumbraibctypes.IbcAction{ + Action: &penumbratypes.Action_IbcRelayAction{IbcRelayAction: &penumbraibctypes.IbcRelay{ RawAction: anyMsg, }}, }, nil @@ -277,29 +276,22 @@ func (cc *PenumbraProvider) getAnchor(ctx context.Context) (*penumbracrypto.Merk } func parseEventsFromABCIResponse(resp abci.ExecTxResult) []provider.RelayerEvent { - var events []provider.RelayerEvent + events := make([]provider.RelayerEvent, len(resp.Events)) for _, event := range resp.Events { attributes := make(map[string]string) + for _, attribute := range event.Attributes { - // The key and value are base64-encoded strings, so we first have to decode them: - key, err := base64.StdEncoding.DecodeString(string(attribute.Key)) - if err != nil { - continue - } - value, err := base64.StdEncoding.DecodeString(string(attribute.Value)) - if err != nil { - continue - } - attributes[string(key)] = string(value) + attributes[attribute.Key] = attribute.Value } + events = append(events, provider.RelayerEvent{ EventType: event.Type, Attributes: attributes, }) } - return events + return events } func (cc *PenumbraProvider) sendMessagesInner(ctx context.Context, msgs []provider.RelayerMessage, _memo string) (*coretypes.ResultBroadcastTx, error) { diff --git a/relayer/chains/penumbra/view/v1alpha1/view.pb.go b/relayer/chains/penumbra/view/v1alpha1/view.pb.go index 8e45fdeab..ac1d2c6d9 100644 --- a/relayer/chains/penumbra/view/v1alpha1/view.pb.go +++ b/relayer/chains/penumbra/view/v1alpha1/view.pb.go @@ -266,7 +266,7 @@ type TransactionPlannerRequest struct { SwapClaims []*TransactionPlannerRequest_SwapClaim `protobuf:"bytes,31,rep,name=swap_claims,json=swapClaims,proto3" json:"swap_claims,omitempty"` Delegations []*TransactionPlannerRequest_Delegate `protobuf:"bytes,40,rep,name=delegations,proto3" json:"delegations,omitempty"` Undelegations []*TransactionPlannerRequest_Undelegate `protobuf:"bytes,50,rep,name=undelegations,proto3" json:"undelegations,omitempty"` - IbcActions []*v1alpha13.IbcAction `protobuf:"bytes,60,rep,name=ibc_actions,json=ibcActions,proto3" json:"ibc_actions,omitempty"` + IbcRelayActions []*v1alpha13.IbcRelay `protobuf:"bytes,60,rep,name=ibc_relay_actions,json=ibcRelayActions,proto3" json:"ibc_relay_actions,omitempty"` Ics20Withdrawals []*v1alpha13.Ics20Withdrawal `protobuf:"bytes,61,rep,name=ics20_withdrawals,json=ics20Withdrawals,proto3" json:"ics20_withdrawals,omitempty"` PositionOpens []*TransactionPlannerRequest_PositionOpen `protobuf:"bytes,70,rep,name=position_opens,json=positionOpens,proto3" json:"position_opens,omitempty"` PositionCloses []*TransactionPlannerRequest_PositionClose `protobuf:"bytes,71,rep,name=position_closes,json=positionCloses,proto3" json:"position_closes,omitempty"` @@ -376,9 +376,9 @@ func (m *TransactionPlannerRequest) GetUndelegations() []*TransactionPlannerRequ return nil } -func (m *TransactionPlannerRequest) GetIbcActions() []*v1alpha13.IbcAction { +func (m *TransactionPlannerRequest) GetIbcRelayActions() []*v1alpha13.IbcRelay { if m != nil { - return m.IbcActions + return m.IbcRelayActions } return nil } @@ -898,8 +898,7 @@ func (m *TransactionPlannerResponse) GetPlan() *v1alpha1.TransactionPlan { } type AddressByIndexRequest struct { - AddressIndex *v1alpha12.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` - DisplayConfirm bool `protobuf:"varint,2,opt,name=display_confirm,json=displayConfirm,proto3" json:"display_confirm,omitempty"` + AddressIndex *v1alpha12.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` } func (m *AddressByIndexRequest) Reset() { *m = AddressByIndexRequest{} } @@ -942,13 +941,6 @@ func (m *AddressByIndexRequest) GetAddressIndex() *v1alpha12.AddressIndex { return nil } -func (m *AddressByIndexRequest) GetDisplayConfirm() bool { - if m != nil { - return m.DisplayConfirm - } - return false -} - type AddressByIndexResponse struct { Address *v1alpha12.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } @@ -1545,10 +1537,12 @@ func (m *StatusRequest) GetWalletId() *v1alpha12.WalletId { // Returns the status of the view service and whether it is synchronized with the chain state. type StatusResponse struct { - // The height the view service has synchronized to so far - SyncHeight uint64 `protobuf:"varint,1,opt,name=sync_height,json=syncHeight,proto3" json:"sync_height,omitempty"` + // The height the view service has synchronized to so far when doing a full linear sync + FullSyncHeight uint64 `protobuf:"varint,1,opt,name=full_sync_height,json=fullSyncHeight,proto3" json:"full_sync_height,omitempty"` + // The height the view service has synchronized to so far when doing a partial sync + PartialSyncHeight uint64 `protobuf:"varint,2,opt,name=partial_sync_height,json=partialSyncHeight,proto3" json:"partial_sync_height,omitempty"` // Whether the view service is catching up with the chain state - CatchingUp bool `protobuf:"varint,2,opt,name=catching_up,json=catchingUp,proto3" json:"catching_up,omitempty"` + CatchingUp bool `protobuf:"varint,3,opt,name=catching_up,json=catchingUp,proto3" json:"catching_up,omitempty"` } func (m *StatusResponse) Reset() { *m = StatusResponse{} } @@ -1584,9 +1578,16 @@ func (m *StatusResponse) XXX_DiscardUnknown() { var xxx_messageInfo_StatusResponse proto.InternalMessageInfo -func (m *StatusResponse) GetSyncHeight() uint64 { +func (m *StatusResponse) GetFullSyncHeight() uint64 { if m != nil { - return m.SyncHeight + return m.FullSyncHeight + } + return 0 +} + +func (m *StatusResponse) GetPartialSyncHeight() uint64 { + if m != nil { + return m.PartialSyncHeight } return 0 } @@ -1646,8 +1647,12 @@ func (m *StatusStreamRequest) GetWalletId() *v1alpha12.WalletId { // A streaming sync status update type StatusStreamResponse struct { + // The latest known block height LatestKnownBlockHeight uint64 `protobuf:"varint,1,opt,name=latest_known_block_height,json=latestKnownBlockHeight,proto3" json:"latest_known_block_height,omitempty"` - SyncHeight uint64 `protobuf:"varint,2,opt,name=sync_height,json=syncHeight,proto3" json:"sync_height,omitempty"` + // The height the view service has synchronized to so far when doing a full linear sync + FullSyncHeight uint64 `protobuf:"varint,2,opt,name=full_sync_height,json=fullSyncHeight,proto3" json:"full_sync_height,omitempty"` + // The height the view service has synchronized to so far when doing a partial sync + PartialSyncHeight uint64 `protobuf:"varint,3,opt,name=partial_sync_height,json=partialSyncHeight,proto3" json:"partial_sync_height,omitempty"` } func (m *StatusStreamResponse) Reset() { *m = StatusStreamResponse{} } @@ -1690,9 +1695,16 @@ func (m *StatusStreamResponse) GetLatestKnownBlockHeight() uint64 { return 0 } -func (m *StatusStreamResponse) GetSyncHeight() uint64 { +func (m *StatusStreamResponse) GetFullSyncHeight() uint64 { if m != nil { - return m.SyncHeight + return m.FullSyncHeight + } + return 0 +} + +func (m *StatusStreamResponse) GetPartialSyncHeight() uint64 { + if m != nil { + return m.PartialSyncHeight } return 0 } @@ -3579,217 +3591,219 @@ func init() { func init() { proto.RegisterFile("penumbra/view/v1alpha1/view.proto", fileDescriptor_0aa947b204e6a7c2) } var fileDescriptor_0aa947b204e6a7c2 = []byte{ - // 3358 bytes of a gzipped FileDescriptorProto + // 3392 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5b, 0xcd, 0x6f, 0x1c, 0xc7, - 0x95, 0x77, 0x0f, 0x29, 0x7e, 0x3c, 0x72, 0x38, 0x54, 0x4b, 0xa4, 0x46, 0xb3, 0x36, 0x6d, 0xb7, - 0x2d, 0x59, 0x5e, 0xaf, 0x87, 0x14, 0x2d, 0x1b, 0x36, 0x65, 0x7b, 0xcd, 0x91, 0x2c, 0x89, 0x96, - 0x25, 0xcd, 0x36, 0x25, 0xca, 0x96, 0xe5, 0xed, 0x2d, 0x76, 0x17, 0xc9, 0x06, 0x7b, 0xba, 0x5b, - 0xdd, 0x35, 0x1c, 0x72, 0xf7, 0x64, 0x78, 0x81, 0x5d, 0xec, 0x61, 0x61, 0x24, 0x88, 0x81, 0x5c, - 0x73, 0x4c, 0x6e, 0xc9, 0x3f, 0x11, 0x24, 0x17, 0x1f, 0x12, 0x24, 0x40, 0x00, 0xc3, 0x90, 0x0f, - 0x01, 0x72, 0xc8, 0xdf, 0x10, 0xd4, 0x57, 0x7f, 0xcd, 0x94, 0x38, 0x43, 0x8e, 0x1c, 0x20, 0x27, - 0x4e, 0x55, 0xbf, 0xf7, 0x7b, 0x1f, 0x55, 0xf5, 0xea, 0xd5, 0xab, 0x22, 0xbc, 0x18, 0x62, 0xbf, - 0xdd, 0xda, 0x8c, 0xd0, 0xe2, 0x9e, 0x8b, 0x3b, 0x8b, 0x7b, 0x17, 0x91, 0x17, 0xee, 0xa0, 0x8b, - 0xac, 0x55, 0x0f, 0xa3, 0x80, 0x04, 0xfa, 0xbc, 0x24, 0xa9, 0xb3, 0x4e, 0x49, 0x52, 0x3b, 0x9f, - 0xb0, 0xda, 0xd1, 0x41, 0x48, 0x82, 0x45, 0x62, 0x93, 0x14, 0x80, 0xd8, 0x84, 0xf3, 0x67, 0xe9, - 0x82, 0x08, 0x2f, 0xee, 0xe2, 0x83, 0x38, 0x25, 0xa3, 0x2d, 0x41, 0xf7, 0x72, 0x9e, 0xce, 0x6f, - 0xb7, 0x52, 0x32, 0xbf, 0xdd, 0xea, 0x4d, 0x85, 0xc2, 0x30, 0xa5, 0x42, 0x61, 0x28, 0xa8, 0x2e, - 0x14, 0xa8, 0xe2, 0x18, 0x67, 0x74, 0x63, 0x4d, 0x41, 0x79, 0x29, 0x4f, 0x49, 0x22, 0xe4, 0xc7, - 0xc8, 0x26, 0x6e, 0xe0, 0x67, 0x6c, 0x49, 0x3b, 0x05, 0xd7, 0x72, 0x9e, 0xcb, 0x0e, 0x5a, 0x61, - 0xe0, 0x63,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 0xf6, 0x91, 0x23, 0x85, 0xf6, - 0x35, 0x28, 0xb3, 0x28, 0x63, 0x49, 0x87, 0x8c, 0x0e, 0xe0, 0x90, 0x69, 0xc6, 0x2a, 0x5a, 0x35, - 0x1b, 0x26, 0x93, 0x80, 0xa3, 0x6f, 0x40, 0x85, 0x87, 0xb0, 0xa0, 0xd5, 0x72, 0x49, 0x0b, 0xfb, - 0x44, 0xf8, 0xe8, 0xf5, 0x0c, 0x32, 0xcb, 0xd3, 0xeb, 0x34, 0x35, 0x4f, 0xa0, 0xd7, 0x09, 0x22, - 0xf8, 0x4a, 0xc2, 0x64, 0xce, 0xb0, 0xc0, 0x95, 0xb4, 0x6b, 0x3f, 0xd1, 0x60, 0x42, 0x06, 0x1e, - 0x7d, 0x05, 0xc6, 0x50, 0x2b, 0x68, 0x27, 0xd8, 0x46, 0x41, 0x6b, 0x9a, 0xa6, 0xa7, 0x4a, 0x33, - 0x4a, 0x53, 0x70, 0xe8, 0xb7, 0x60, 0x32, 0x42, 0x04, 0xf3, 0x04, 0x8a, 0xfb, 0x6e, 0x49, 0xe9, - 0x3b, 0x9e, 0xff, 0x25, 0x50, 0x26, 0x22, 0x98, 0xe5, 0x4e, 0x13, 0x91, 0xf8, 0x55, 0xfb, 0x5a, - 0x03, 0x48, 0x03, 0xd6, 0x71, 0x26, 0x46, 0x4e, 0xb1, 0xd2, 0xb1, 0x15, 0x7b, 0x00, 0xd3, 0xd9, - 0x68, 0xa1, 0x7f, 0x04, 0x13, 0x72, 0x59, 0x09, 0xe5, 0xea, 0x4a, 0x74, 0x9a, 0xfc, 0x27, 0xd8, - 0x12, 0xc5, 0x4c, 0xf8, 0x6b, 0x9b, 0x50, 0xce, 0x45, 0x08, 0x9a, 0xa8, 0x25, 0x11, 0x21, 0x49, - 0x8a, 0x96, 0x06, 0xc3, 0x5f, 0x73, 0x4c, 0x08, 0x93, 0xdf, 0xb5, 0xff, 0x29, 0xc1, 0x6c, 0x31, - 0x32, 0x3c, 0x05,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 0x36, 0x54, 0x25, 0x6f, - 0xdb, 0xdf, 0x0c, 0x7c, 0x76, 0x60, 0x12, 0xac, 0xa3, 0x8c, 0x75, 0x5e, 0x7c, 0xbf, 0x27, 0x3f, - 0x0b, 0xce, 0xf3, 0x50, 0x91, 0x9c, 0x5e, 0x68, 0xf9, 0x5b, 0x24, 0xae, 0x9e, 0x60, 0x0c, 0x72, - 0x37, 0xf8, 0x38, 0xbc, 0xbd, 0x45, 0x62, 0x7d, 0x19, 0xe6, 0x24, 0x5d, 0x18, 0x05, 0x61, 0x10, - 0x23, 0x8f, 0x53, 0x8f, 0x31, 0xea, 0x53, 0xe2, 0x63, 0x53, 0x7c, 0x63, 0x3c, 0xab, 0xf0, 0x9c, - 0xe4, 0xd9, 0x63, 0xa1, 0xd0, 0x8a, 0xb0, 0x8d, 0xdd, 0x90, 0x48, 0xd5, 0xc6, 0x19, 0x6f, 0x4d, - 0x10, 0xc9, 0x70, 0xc9, 0x48, 0xb8, 0x7a, 0x86, 0x03, 0x33, 0x72, 0xb0, 0x92, 0x25, 0x36, 0xc3, - 0x06, 0xc0, 0x6a, 0x61, 0x82, 0x32, 0xf3, 0xf1, 0xb5, 0x3e, 0x46, 0xe0, 0x96, 0x60, 0x31, 0xcb, - 0x4e, 0xb6, 0x69, 0xcc, 0xc3, 0xe9, 0xd5, 0x30, 0x6c, 0xa2, 0x08, 0xb5, 0x30, 0xc1, 0x91, 0x9c, - 0x19, 0xc6, 0x26, 0xcc, 0x15, 0xfa, 0x85, 0x12, 0x6b, 0x00, 0x61, 0xd2, 0xab, 0x48, 0x03, 0x51, - 0x18, 0x66, 0x16, 0x42, 0x0e, 0x26, 0xc3, 0x6c, 0xe8, 0x30, 0x7b, 0x1d, 0xc5, 0xcd, 0xc8, 0x4d, - 0x13, 0x63, 0xc3, 0x86, 0x93, 0x99, 0xbe, 0xe4, 0x08, 0x02, 0xdb, 0x28, 0xb6, 0x42, 0xd6, 0xab, - 0x58, 0x0a, 0x8a, 0x1a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92, 0x6d, 0x8e, 0xb1, 0x7f, 0xe9, 0x7a, 0xe3, - 0x6f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8f, 0xb3, 0x43, 0x40, 0x77, 0x38, 0x00, 0x00, + 0xb1, 0xf7, 0x2c, 0x29, 0x7e, 0x14, 0xb9, 0x5c, 0x72, 0x24, 0x52, 0xab, 0x7d, 0x36, 0x6d, 0x8f, + 0x2d, 0x99, 0x7e, 0x7e, 0x5e, 0x52, 0xb4, 0x6c, 0xd8, 0x94, 0xed, 0x67, 0x52, 0xb2, 0x24, 0x5a, + 0x96, 0xc4, 0x37, 0x94, 0x28, 0x9b, 0x96, 0xdf, 0xa4, 0x39, 0xd3, 0x24, 0x07, 0x9c, 0x9d, 0x19, + 0xcd, 0xf4, 0x72, 0xc9, 0xe4, 0x64, 0x24, 0x40, 0x82, 0x04, 0x09, 0x82, 0x04, 0x31, 0x90, 0x6b, + 0x8e, 0xf1, 0x2d, 0xf9, 0x27, 0x82, 0xe4, 0xe2, 0x43, 0x82, 0x04, 0x08, 0x60, 0x18, 0xf2, 0x21, + 0x40, 0x0e, 0xf9, 0x1b, 0x82, 0xfe, 0x9a, 0xaf, 0xdd, 0x16, 0x77, 0xc9, 0x95, 0x0f, 0x39, 0x71, + 0xbb, 0xa7, 0xea, 0x57, 0x1f, 0xdd, 0x5d, 0x5d, 0x5d, 0xdd, 0x84, 0xe7, 0x43, 0xec, 0x37, 0x1b, + 0x5b, 0x11, 0x9a, 0xdf, 0x77, 0x71, 0x6b, 0x7e, 0xff, 0x22, 0xf2, 0xc2, 0x5d, 0x74, 0x91, 0xb5, + 0xea, 0x61, 0x14, 0x90, 0x40, 0x9f, 0x91, 0x24, 0x75, 0xd6, 0x29, 0x49, 0x6a, 0x2f, 0x26, 0xac, + 0x76, 0x10, 0xe1, 0x79, 0x14, 0x86, 0x29, 0x3b, 0x0a, 0x43, 0xce, 0x5d, 0x9b, 0x2b, 0x50, 0xc5, + 0x31, 0x26, 0x19, 0x3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x13, + 0x8b, 0x20, 0xfc, 0x42, 0x61, 0x98, 0x78, 0x52, 0x97, 0x88, 0xdd, 0xa0, 0xa4, 0x26, 0xe7, 0xd0, + 0xdf, 0x85, 0x61, 0xc4, 0xe3, 0x8c, 0x08, 0x8d, 0x2f, 0x76, 0x13, 0x93, 0x4c, 0xc9, 0x54, 0xfb, + 0x65, 0x09, 0x06, 0xe9, 0x2a, 0x3b, 0x89, 0x0e, 0x37, 0x60, 0x9c, 0xa0, 0x68, 0x07, 0x13, 0x8b, + 0x51, 0x09, 0x45, 0xce, 0x3f, 0x1e, 0x61, 0x99, 0x36, 0x57, 0x1d, 0x73, 0x8c, 0xb3, 0xb2, 0xa6, + 0x0c, 0xf2, 0x03, 0xc7, 0x0a, 0xf2, 0xab, 0x50, 0x66, 0xf1, 0xc6, 0x92, 0x0e, 0x19, 0xec, 0xc1, + 0x21, 0xe3, 0x8c, 0x55, 0xb4, 0x6a, 0x36, 0x8c, 0x26, 0xa1, 0x47, 0xdf, 0x80, 0x0a, 0x0f, 0x66, + 0x41, 0xa3, 0xe1, 0x92, 0x06, 0xf6, 0x89, 0xf0, 0xd1, 0xab, 0x19, 0x64, 0x96, 0x71, 0xd5, 0x69, + 0x92, 0x95, 0x40, 0xaf, 0x13, 0x44, 0xf0, 0x95, 0x84, 0xc9, 0x9c, 0x60, 0x21, 0x2c, 0x69, 0xd7, + 0x7e, 0xa5, 0xc1, 0x88, 0x0c, 0x41, 0xfa, 0x12, 0x0c, 0xa1, 0x46, 0xd0, 0x4c, 0xb0, 0x8d, 0x82, + 0xd6, 0x34, 0x39, 0x4c, 0x95, 0x66, 0x94, 0xa6, 0xe0, 0xd0, 0x6f, 0xc1, 0x68, 0x84, 0x08, 0xe6, + 0xa9, 0x14, 0xf7, 0xdd, 0x82, 0xd2, 0x77, 0x3c, 0x6b, 0x4d, 0xa0, 0x4c, 0x44, 0x30, 0xcb, 0xa2, + 0x46, 0x22, 0xf1, 0xab, 0xf6, 0xb9, 0x06, 0x90, 0x86, 0xae, 0x93, 0x4c, 0x8c, 0x9c, 0x62, 0xa5, + 0x13, 0x2b, 0xb6, 0x09, 0xe3, 0xd9, 0x68, 0xa1, 0x7f, 0x00, 0x23, 0x72, 0x59, 0x09, 0xe5, 0xd4, + 0xc1, 0x93, 0x1e, 0x59, 0x12, 0x6c, 0x89, 0x62, 0x26, 0xfc, 0xb5, 0x2d, 0x28, 0xe7, 0x22, 0x04, + 0x4d, 0xd9, 0x92, 0x88, 0x90, 0xa4, 0x47, 0x0b, 0xbd, 0xe1, 0xaf, 0x3a, 0x26, 0x84, 0xc9, 0xef, + 0xda, 0x0f, 0x4b, 0x30, 0x59, 0x8c, 0x0c, 0x4f, 0x40, 0x0e, 0xf5, 0x4b, 0x84, 0x63, 0x1c, 0xed, + 0x63, 0x19, 0x14, 0xba, 0xf4, 0x8b, 0x29, 0xb8, 0xcc, 0x84, 0x5f, 0xbf, 0x0b, 0xe3, 0x24, 0x42, + 0x8e, 0xeb, 0xef, 0x58, 0x21, 0x72, 0x23, 0x45, 0x06, 0xa5, 0xc0, 0xbb, 0xcb, 0x39, 0xd7, 0x90, + 0x1b, 0xb1, 0xe4, 0x55, 0x36, 0x0c, 0x0c, 0xb5, 0x4e, 0xc1, 0x53, 0x24, 0xa4, 0xd7, 0x61, 0xf0, + 0xa4, 0xe7, 0x0e, 0x06, 0x60, 0xec, 0xc0, 0xb4, 0x58, 0xd1, 0x2b, 0x87, 0x3c, 0x0d, 0x13, 0x19, + 0xe7, 0x6d, 0x28, 0x8b, 0x20, 0x61, 0xb9, 0xb4, 0x5f, 0x88, 0xea, 0x21, 0x9f, 0x1b, 0x47, 0x99, + 0x96, 0xf1, 0x11, 0xcc, 0x14, 0x05, 0x09, 0x5b, 0x32, 0xf1, 0x59, 0x3b, 0x46, 0x7c, 0x36, 0xa6, + 0xa0, 0x92, 0x64, 0x80, 0x5c, 0x79, 0x63, 0x03, 0x26, 0xd3, 0x2e, 0x21, 0x26, 0x97, 0x56, 0x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x29, 0xc1, 0xf8, 0xed, 0x80, 0xa4, + 0x01, 0xe0, 0x05, 0x28, 0xbb, 0xbe, 0xed, 0x35, 0x1d, 0x6c, 0xc5, 0x21, 0x4d, 0x57, 0x79, 0x5c, + 0x1a, 0x17, 0x9d, 0xeb, 0xb4, 0x4f, 0x7f, 0x0f, 0x46, 0xe4, 0x9a, 0x16, 0x9b, 0x7a, 0x97, 0x8b, + 0x79, 0x58, 0x2c, 0xe6, 0xf6, 0x80, 0x3a, 0x78, 0xb2, 0x80, 0xfa, 0x01, 0x54, 0x78, 0x42, 0x6b, + 0x91, 0x80, 0x29, 0xee, 0x54, 0x87, 0xba, 0xce, 0x85, 0xcb, 0x9c, 0xf5, 0x6e, 0x40, 0xad, 0x73, + 0xfa, 0x32, 0x0b, 0xfe, 0xaa, 0xc1, 0x34, 0xf3, 0xeb, 0xb5, 0x20, 0xda, 0x08, 0x88, 0xeb, 0xef, + 0x48, 0x07, 0xff, 0x37, 0x4c, 0xed, 0x07, 0x04, 0x6d, 0x79, 0xd8, 0x42, 0x24, 0x3f, 0xfc, 0x15, + 0xf1, 0x61, 0x99, 0x88, 0xd1, 0x6c, 0xf3, 0xd2, 0xc0, 0xc9, 0xbc, 0xd4, 0x0f, 0xcb, 0x7e, 0x56, + 0x82, 0x89, 0xfb, 0x2e, 0xf1, 0x33, 0xbb, 0xe3, 0x47, 0x30, 0xe9, 0x07, 0x04, 0x67, 0x0e, 0x39, + 0x34, 0x77, 0x1c, 0xe8, 0xfd, 0x94, 0x53, 0xa1, 0x30, 0x69, 0x3b, 0xee, 0x58, 0x51, 0x1e, 0xe8, + 0x63, 0x45, 0xb9, 0x1f, 0x0e, 0xc1, 0x50, 0x49, 0xfc, 0x21, 0x96, 0xba, 0x09, 0xe3, 0x2d, 0xde, + 0xc5, 0x8f, 0x2f, 0x3d, 0xd4, 0x6c, 0x05, 0x14, 0x3b, 0xbd, 0x8c, 0xb5, 0xd2, 0x86, 0xf1, 0x95, + 0x06, 0x33, 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0x6d, 0xde, 0xd9, 0x71, 0xc9, 0x6e, 0x73, 0x8b, 0x26, 0xf7, 0xf3, 0x76, 0x10, + 0x37, 0x82, 0x78, 0x9e, 0xbd, 0xef, 0xc7, 0xd1, 0xfc, 0xfe, 0x62, 0xf2, 0x93, 0x9d, 0x95, 0xe2, + 0xf9, 0xce, 0xff, 0x25, 0x78, 0x99, 0xb6, 0x64, 0xe3, 0x37, 0xa5, 0x81, 0xb5, 0x8d, 0x8f, 0x7e, + 0x5b, 0x9a, 0x59, 0x93, 0xc2, 0xa9, 0xb4, 0xfa, 0x86, 0xf8, 0xfc, 0xc7, 0xf4, 0xc3, 0x03, 0xfa, + 0xe1, 0x81, 0xfc, 0xf0, 0xa8, 0x64, 0x74, 0xfe, 0xf0, 0xe0, 0xfa, 0xda, 0x8a, 0xbc, 0x27, 0xfb, + 0x67, 0xa9, 0x2a, 0x89, 0x96, 0x96, 0x28, 0xd5, 0xd2, 0x92, 0x24, 0xdb, 0x1a, 0x62, 0xff, 0x26, + 0xf6, 0xda, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x64, 0x61, 0x85, 0xef, 0xcb, 0x38, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -5344,10 +5358,10 @@ func (m *TransactionPlannerRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro dAtA[i] = 0xea } } - if len(m.IbcActions) > 0 { - for iNdEx := len(m.IbcActions) - 1; iNdEx >= 0; iNdEx-- { + if len(m.IbcRelayActions) > 0 { + for iNdEx := len(m.IbcRelayActions) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.IbcActions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.IbcRelayActions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5927,16 +5941,6 @@ func (m *AddressByIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.DisplayConfirm { - i-- - if m.DisplayConfirm { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } if m.AddressIndex != nil { { size, err := m.AddressIndex.MarshalToSizedBuffer(dAtA[:i]) @@ -6452,10 +6456,15 @@ func (m *StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0 } i-- + dAtA[i] = 0x18 + } + if m.PartialSyncHeight != 0 { + i = encodeVarintView(dAtA, i, uint64(m.PartialSyncHeight)) + i-- dAtA[i] = 0x10 } - if m.SyncHeight != 0 { - i = encodeVarintView(dAtA, i, uint64(m.SyncHeight)) + if m.FullSyncHeight != 0 { + i = encodeVarintView(dAtA, i, uint64(m.FullSyncHeight)) i-- dAtA[i] = 0x8 } @@ -6517,8 +6526,13 @@ func (m *StatusStreamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.SyncHeight != 0 { - i = encodeVarintView(dAtA, i, uint64(m.SyncHeight)) + if m.PartialSyncHeight != 0 { + i = encodeVarintView(dAtA, i, uint64(m.PartialSyncHeight)) + i-- + dAtA[i] = 0x18 + } + if m.FullSyncHeight != 0 { + i = encodeVarintView(dAtA, i, uint64(m.FullSyncHeight)) i-- dAtA[i] = 0x10 } @@ -8188,8 +8202,8 @@ func (m *TransactionPlannerRequest) Size() (n int) { n += 2 + l + sovView(uint64(l)) } } - if len(m.IbcActions) > 0 { - for _, e := range m.IbcActions { + if len(m.IbcRelayActions) > 0 { + for _, e := range m.IbcRelayActions { l = e.Size() n += 2 + l + sovView(uint64(l)) } @@ -8380,9 +8394,6 @@ func (m *AddressByIndexRequest) Size() (n int) { l = m.AddressIndex.Size() n += 1 + l + sovView(uint64(l)) } - if m.DisplayConfirm { - n += 2 - } return n } @@ -8568,8 +8579,11 @@ func (m *StatusResponse) Size() (n int) { } var l int _ = l - if m.SyncHeight != 0 { - n += 1 + sovView(uint64(m.SyncHeight)) + if m.FullSyncHeight != 0 { + n += 1 + sovView(uint64(m.FullSyncHeight)) + } + if m.PartialSyncHeight != 0 { + n += 1 + sovView(uint64(m.PartialSyncHeight)) } if m.CatchingUp { n += 2 @@ -8599,8 +8613,11 @@ func (m *StatusStreamResponse) Size() (n int) { if m.LatestKnownBlockHeight != 0 { n += 1 + sovView(uint64(m.LatestKnownBlockHeight)) } - if m.SyncHeight != 0 { - n += 1 + sovView(uint64(m.SyncHeight)) + if m.FullSyncHeight != 0 { + n += 1 + sovView(uint64(m.FullSyncHeight)) + } + if m.PartialSyncHeight != 0 { + n += 1 + sovView(uint64(m.PartialSyncHeight)) } return n } @@ -9959,7 +9976,7 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 60: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IbcActions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IbcRelayActions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9986,8 +10003,8 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IbcActions = append(m.IbcActions, &v1alpha13.IbcAction{}) - if err := m.IbcActions[len(m.IbcActions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.IbcRelayActions = append(m.IbcRelayActions, &v1alpha13.IbcRelay{}) + if err := m.IbcRelayActions[len(m.IbcRelayActions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11275,26 +11292,6 @@ func (m *AddressByIndexRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DisplayConfirm", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.DisplayConfirm = bool(v != 0) default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -12519,9 +12516,9 @@ func (m *StatusResponse) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SyncHeight", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field FullSyncHeight", wireType) } - m.SyncHeight = 0 + m.FullSyncHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowView @@ -12531,12 +12528,31 @@ func (m *StatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SyncHeight |= uint64(b&0x7F) << shift + m.FullSyncHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PartialSyncHeight", wireType) + } + m.PartialSyncHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowView + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PartialSyncHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field CatchingUp", wireType) } @@ -12713,9 +12729,28 @@ func (m *StatusStreamResponse) Unmarshal(dAtA []byte) error { } case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SyncHeight", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field FullSyncHeight", wireType) + } + m.FullSyncHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowView + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FullSyncHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PartialSyncHeight", wireType) } - m.SyncHeight = 0 + m.PartialSyncHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowView @@ -12725,7 +12760,7 @@ func (m *StatusStreamResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SyncHeight |= uint64(b&0x7F) << shift + m.PartialSyncHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } From 654ea9fc0e8de9fb53e08b677a7e7aec0b5186ca Mon Sep 17 00:00:00 2001 From: Justin Tieri <37750742+jtieri@users.noreply.github.com> Date: Thu, 14 Dec 2023 13:42:06 -0600 Subject: [PATCH 5/8] fix: pipe memo from cli to broadcast tx logic for `MsgTransfer` and `MsgRegisterCounterpartyPayee` (#1362) * chore: fix linter errors * fix: pipe memo from cli to transfer and RegisterCounterpartyPayee msgs + fix linter errors --- cmd/flags.go | 77 ++++++++++++++---- cmd/start.go | 8 +- cmd/tx.go | 182 ++++++++++++++++++++++++++++++++++-------- relayer/packet-tx.go | 47 +++++++---- relayer/relayMsgs.go | 22 +++-- relayer/strategies.go | 27 +++++-- 6 files changed, 281 insertions(+), 82 deletions(-) diff --git a/cmd/flags.go b/cmd/flags.go index f4d2011a2..3fc671294 100644 --- a/cmd/flags.go +++ b/cmd/flags.go @@ -6,7 +6,6 @@ import ( "github.com/cosmos/relayer/v2/relayer" "github.com/cosmos/relayer/v2/relayer/processor" - "github.com/spf13/cobra" "github.com/spf13/viper" ) @@ -22,7 +21,6 @@ const ( flagForceAdd = "force-add" flagPath = "path" flagTestnet = "testnet" - flagMaxTxSize = "max-tx-size" flagMaxMsgLength = "max-msgs" flagIBCDenoms = "ibc-denoms" flagTimeoutHeightOffset = "timeout-height-offset" @@ -64,13 +62,7 @@ const ( flagStuckPacketHeightEnd = "stuck-packet-height-end" ) -const ( - // 7597 is "RLYR" on a telephone keypad. - // It also happens to be unassigned in the IANA port list. - defaultDebugAddr = "localhost:7597" - - blankValue = "blank" -) +const blankValue = "blank" func ibcDenomFlags(v *viper.Viper, cmd *cobra.Command) *cobra.Command { cmd.Flags().BoolP(flagIBCDenoms, "i", false, "Display IBC denominations for sending tokens back to other chains") @@ -89,7 +81,14 @@ func heightFlag(v *viper.Viper, cmd *cobra.Command) *cobra.Command { } func paginationFlags(v *viper.Viper, cmd *cobra.Command, query string) *cobra.Command { - cmd.Flags().Uint64(flagPage, 1, fmt.Sprintf("pagination page of %s to query for. This sets offset to a multiple of limit", query)) + cmd.Flags().Uint64( + flagPage, + 1, + fmt.Sprintf("pagination page of %s to query for. This sets offset to a multiple of limit", + query, + ), + ) + cmd.Flags().String(flagPageKey, "", fmt.Sprintf("pagination page-key of %s to query for", query)) cmd.Flags().Uint64(flagLimit, 100, fmt.Sprintf("pagination limit of %s to query for", query)) cmd.Flags().Bool(flagCountTotal, false, fmt.Sprintf("count total number of records in %s to query for", query)) @@ -304,10 +303,15 @@ func retryFlag(v *viper.Viper, cmd *cobra.Command) *cobra.Command { } func updateTimeFlags(v *viper.Viper, cmd *cobra.Command) *cobra.Command { - cmd.Flags().Duration(flagThresholdTime, relayer.DefaultClientUpdateThreshold, "time after previous client update before automatic client update") + cmd.Flags().Duration( + flagThresholdTime, + relayer.DefaultClientUpdateThreshold, + "time after previous client update before automatic client update", + ) if err := v.BindPFlag(flagThresholdTime, cmd.Flags().Lookup(flagThresholdTime)); err != nil { panic(err) } + return cmd } @@ -316,13 +320,20 @@ func clientParameterFlags(v *viper.Viper, cmd *cobra.Command) *cobra.Command { "allow governance to update the client if expiry occurs") cmd.Flags().BoolP(flagUpdateAfterMisbehaviour, "m", true, "allow governance to update the client if misbehaviour freezing occurs") - cmd.Flags().Duration(flagClientTrustingPeriod, 0, "custom light client trusting period ex. 24h (default: 85% of chains reported unbonding time)") + cmd.Flags().Duration( + flagClientTrustingPeriod, + 0, + "custom light client trusting period ex. 24h (default: 85% of chains reported unbonding time)", + ) + if err := v.BindPFlag(flagUpdateAfterExpiry, cmd.Flags().Lookup(flagUpdateAfterExpiry)); err != nil { panic(err) } + if err := v.BindPFlag(flagUpdateAfterMisbehaviour, cmd.Flags().Lookup(flagUpdateAfterMisbehaviour)); err != nil { panic(err) } + if err := v.BindPFlag(flagClientTrustingPeriod, cmd.Flags().Lookup(flagClientTrustingPeriod)); err != nil { panic(err) } @@ -334,10 +345,17 @@ func channelParameterFlags(v *viper.Viper, cmd *cobra.Command) *cobra.Command { } func clientUnbondingPeriodFlag(v *viper.Viper, cmd *cobra.Command) *cobra.Command { - cmd.Flags().Duration(flagClientUnbondingPeriod, 0, "custom unbonding period for client state. This is useful when you need to create a new client matching an older client state") + cmd.Flags().Duration( + flagClientUnbondingPeriod, + 0, + "custom unbonding period for client state. This is useful when you need to create a new client matching "+ + "an older client state", + ) + if err := v.BindPFlag(flagClientUnbondingPeriod, cmd.Flags().Lookup(flagClientUnbondingPeriod)); err != nil { panic(err) } + return cmd } @@ -382,10 +400,17 @@ func dstPortFlag(v *viper.Viper, cmd *cobra.Command) *cobra.Command { } func debugServerFlags(v *viper.Viper, cmd *cobra.Command) *cobra.Command { - cmd.Flags().String(flagDebugAddr, "", "address to use for debug and metrics server. By default, will be the api-listen-addr parameter in the global config.") + cmd.Flags().String( + flagDebugAddr, + "", + "address to use for debug and metrics server. By default, "+ + "will be the api-listen-addr parameter in the global config.", + ) + if err := v.BindPFlag(flagDebugAddr, cmd.Flags().Lookup(flagDebugAddr)); err != nil { panic(err) } + return cmd } @@ -398,18 +423,32 @@ func processorFlag(v *viper.Viper, cmd *cobra.Command) *cobra.Command { } func initBlockFlag(v *viper.Viper, cmd *cobra.Command) *cobra.Command { - cmd.Flags().Uint64P(flagInitialBlockHistory, "b", 20, "initial block history to query when using 'events' as the processor for relaying") + cmd.Flags().Uint64P( + flagInitialBlockHistory, + "b", + 20, + "initial block history to query when using 'events' as the processor for relaying", + ) + if err := v.BindPFlag(flagInitialBlockHistory, cmd.Flags().Lookup(flagInitialBlockHistory)); err != nil { panic(err) } + return cmd } func flushIntervalFlag(v *viper.Viper, cmd *cobra.Command) *cobra.Command { - cmd.Flags().DurationP(flagFlushInterval, "i", relayer.DefaultFlushInterval, "how frequently should a flush routine be run") + cmd.Flags().DurationP( + flagFlushInterval, + "i", + relayer.DefaultFlushInterval, + "how frequently should a flush routine be run", + ) + if err := v.BindPFlag(flagFlushInterval, cmd.Flags().Lookup(flagFlushInterval)); err != nil { panic(err) } + return cmd } @@ -483,7 +522,11 @@ func parseStuckPacketFromFlags(cmd *cobra.Command) (*processor.StuckPacket, erro } if stuckPacketHeightEnd < stuckPacketHeightStart { - return nil, fmt.Errorf("stuck packet end height %d is less than start height %d", stuckPacketHeightEnd, stuckPacketHeightStart) + return nil, fmt.Errorf( + "stuck packet end height %d is less than start height %d", + stuckPacketHeightEnd, + stuckPacketHeightStart, + ) } return &processor.StuckPacket{ diff --git a/cmd/start.go b/cmd/start.go index 42e4c62ee..3527de993 100644 --- a/cmd/start.go +++ b/cmd/start.go @@ -110,7 +110,12 @@ $ %s start demo-path2 --max-tx-size 10`, appName, appName, appName, appName)), } else { ln, err := net.Listen("tcp", debugAddr) if err != nil { - a.log.Error("Failed to listen on debug address. If you have another relayer process open, use --" + flagDebugAddr + " to pick a different address.") + a.log.Error( + "Failed to listen on debug address. If you have another relayer process open, use --" + + flagDebugAddr + + " to pick a different address.", + ) + return fmt.Errorf("failed to listen on debug address %q: %w", debugAddr, err) } log := a.log.With(zap.String("sys", "debughttp")) @@ -128,6 +133,7 @@ $ %s start demo-path2 --max-tx-size 10`, appName, appName, appName, appName)), if err != nil { return err } + initialBlockHistory, err := cmd.Flags().GetUint64(flagInitialBlockHistory) if err != nil { return err diff --git a/cmd/tx.go b/cmd/tx.go index 7775a0278..f986f97f3 100644 --- a/cmd/tx.go +++ b/cmd/tx.go @@ -99,10 +99,19 @@ func createClientsCmd(a *appState) *cobra.Command { return fmt.Errorf("key %s not found on dst chain %s", c[dst].ChainProvider.Key(), c[dst].ChainID()) } - clientSrc, clientDst, err := c[src].CreateClients(cmd.Context(), c[dst], allowUpdateAfterExpiry, allowUpdateAfterMisbehaviour, override, customClientTrustingPeriod, a.config.memo(cmd)) + clientSrc, clientDst, err := c[src].CreateClients( + cmd.Context(), + c[dst], + allowUpdateAfterExpiry, + allowUpdateAfterMisbehaviour, + override, + customClientTrustingPeriod, + a.config.memo(cmd), + ) if err != nil { return err } + if clientSrc != "" || clientDst != "" { if err := a.updatePathConfig(cmd.Context(), path, clientSrc, clientDst, "", ""); err != nil { return err @@ -157,6 +166,7 @@ func createClientCmd(a *appState) *cobra.Command { if !ok { return errChainNotFound(args[0]) } + dst, ok := a.config.Chains[args[1]] if !ok { return errChainNotFound(args[1]) @@ -175,6 +185,7 @@ func createClientCmd(a *appState) *cobra.Command { if exists := src.ChainProvider.KeyExists(src.ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on src chain %s", src.ChainProvider.Key(), src.ChainID()) } + if exists := dst.ChainProvider.KeyExists(dst.ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on dst chain %s", dst.ChainProvider.Key(), dst.ChainID()) } @@ -199,32 +210,49 @@ func createClientCmd(a *appState) *cobra.Command { return err } return nil - }, retry.Context(cmd.Context()), relayer.RtyAtt, relayer.RtyDel, relayer.RtyErr, retry.OnRetry(func(n uint, err error) { - a.log.Info( - "Failed to get light signed header", - zap.String("src_chain_id", src.ChainID()), - zap.Int64("src_height", srch), - zap.String("dst_chain_id", dst.ChainID()), - zap.Int64("dst_height", dsth), - zap.Uint("attempt", n+1), - zap.Uint("max_attempts", relayer.RtyAttNum), - zap.Error(err), - ) - srch, dsth, _ = relayer.QueryLatestHeights(cmd.Context(), src, dst) - })); err != nil { - return err - } - - clientID, err := relayer.CreateClient(cmd.Context(), src, dst, srcUpdateHeader, dstUpdateHeader, allowUpdateAfterExpiry, allowUpdateAfterMisbehaviour, override, customClientTrustingPeriod, overrideUnbondingPeriod, a.config.memo(cmd)) + }, retry.Context( + cmd.Context()), + relayer.RtyAtt, + relayer.RtyDel, + relayer.RtyErr, + retry.OnRetry(func(n uint, err error) { + a.log.Info( + "Failed to get light signed header", + zap.String("src_chain_id", src.ChainID()), + zap.Int64("src_height", srch), + zap.String("dst_chain_id", dst.ChainID()), + zap.Int64("dst_height", dsth), + zap.Uint("attempt", n+1), + zap.Uint("max_attempts", relayer.RtyAttNum), + zap.Error(err), + ) + srch, dsth, _ = relayer.QueryLatestHeights(cmd.Context(), src, dst) + })); err != nil { + return err + } + + clientID, err := relayer.CreateClient( + cmd.Context(), + src, dst, + srcUpdateHeader, dstUpdateHeader, + allowUpdateAfterExpiry, + allowUpdateAfterMisbehaviour, + override, + customClientTrustingPeriod, + overrideUnbondingPeriod, + a.config.memo(cmd), + ) if err != nil { return err } + var clientSrc, clientDst string if path.Src.ChainID == src.ChainID() { clientSrc = clientID } else { clientDst = clientID } + if clientID != "" { if err = a.updatePathConfig(cmd.Context(), pathName, clientSrc, clientDst, "", ""); err != nil { return err @@ -261,6 +289,7 @@ corresponding update-client messages.`, if exists := c[src].ChainProvider.KeyExists(c[src].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on src chain %s", c[src].ChainProvider.Key(), c[src].ChainID()) } + if exists := c[dst].ChainProvider.KeyExists(c[dst].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on dst chain %s", c[dst].ChainProvider.Key(), c[dst].ChainID()) } @@ -292,6 +321,7 @@ func upgradeClientsCmd(a *appState) *cobra.Command { if exists := c[src].ChainProvider.KeyExists(c[src].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on src chain %s", c[src].ChainProvider.Key(), c[src].ChainID()) } + if exists := c[dst].ChainProvider.KeyExists(c[dst].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on dst chain %s", c[dst].ChainProvider.Key(), c[dst].ChainID()) } @@ -370,6 +400,7 @@ $ %s tx conn demo-path --timeout 5s`, if exists := c[src].ChainProvider.KeyExists(c[src].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on src chain %s", c[src].ChainProvider.Key(), c[src].ChainID()) } + if exists := c[dst].ChainProvider.KeyExists(c[dst].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on dst chain %s", c[dst].ChainProvider.Key(), c[dst].ChainID()) } @@ -382,20 +413,38 @@ $ %s tx conn demo-path --timeout 5s`, } // ensure that the clients exist - clientSrc, clientDst, err := c[src].CreateClients(cmd.Context(), c[dst], allowUpdateAfterExpiry, allowUpdateAfterMisbehaviour, override, customClientTrustingPeriod, memo) + clientSrc, clientDst, err := c[src].CreateClients( + cmd.Context(), + c[dst], + allowUpdateAfterExpiry, + allowUpdateAfterMisbehaviour, + override, + customClientTrustingPeriod, + memo, + ) if err != nil { return err } + if clientSrc != "" || clientDst != "" { if err := a.updatePathConfig(cmd.Context(), pathName, clientSrc, clientDst, "", ""); err != nil { return err } } - connectionSrc, connectionDst, err := c[src].CreateOpenConnections(cmd.Context(), c[dst], retries, to, memo, initialBlockHistory, pathName) + connectionSrc, connectionDst, err := c[src].CreateOpenConnections( + cmd.Context(), + c[dst], + retries, + to, + memo, + initialBlockHistory, + pathName, + ) if err != nil { return err } + if connectionSrc != "" || connectionDst != "" { if err := a.updatePathConfig(cmd.Context(), pathName, "", "", connectionSrc, connectionDst); err != nil { return err @@ -419,7 +468,8 @@ func createChannelCmd(a *appState) *cobra.Command { cmd := &cobra.Command{ Use: "channel path_name", Aliases: []string{"chan"}, - Short: "create a channel between two configured chains with a configured path using specified or default channel identifiers", + Short: "create a channel between two configured chains with a configured path using specified or " + + "default channel identifiers", Long: strings.TrimSpace(`Create or repair a channel between two IBC-connected networks along a specific path.`, ), @@ -430,7 +480,6 @@ $ %s tx chan demo-path --timeout 5s --max-retries 10`, appName, appName, )), RunE: func(cmd *cobra.Command, args []string) error { - pathName := args[0] c, src, dst, err := a.config.ChainsFromPath(pathName) @@ -477,12 +526,25 @@ $ %s tx chan demo-path --timeout 5s --max-retries 10`, if exists := c[src].ChainProvider.KeyExists(c[src].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on src chain %s", c[src].ChainProvider.Key(), c[src].ChainID()) } + if exists := c[dst].ChainProvider.KeyExists(c[dst].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on dst chain %s", c[dst].ChainProvider.Key(), c[dst].ChainID()) } // create channel if it isn't already created - return c[src].CreateOpenChannels(cmd.Context(), c[dst], retries, to, srcPort, dstPort, order, version, override, a.config.memo(cmd), pathName) + return c[src].CreateOpenChannels( + cmd.Context(), + c[dst], + retries, + to, + srcPort, + dstPort, + order, + version, + override, + a.config.memo(cmd), + pathName, + ) }, } @@ -531,6 +593,7 @@ $ %s tx channel-close demo-path channel-0 transfer -o 3s`, if exists := c[src].ChainProvider.KeyExists(c[src].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on src chain %s", c[src].ChainProvider.Key(), c[src].ChainID()) } + if exists := c[dst].ChainProvider.KeyExists(c[dst].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on dst chain %s", c[dst].ChainProvider.Key(), c[dst].ChainID()) } @@ -641,6 +704,7 @@ $ %s tx connect demo-path --src-port transfer --dst-port transfer --order unorde if exists := c[src].ChainProvider.KeyExists(c[src].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on src chain %s", c[src].ChainProvider.Key(), c[src].ChainID()) } + if exists := c[dst].ChainProvider.KeyExists(c[dst].ChainProvider.Key()); !exists { return fmt.Errorf("key %s not found on dst chain %s", c[dst].ChainProvider.Key(), c[dst].ChainID()) } @@ -653,10 +717,19 @@ $ %s tx connect demo-path --src-port transfer --dst-port transfer --order unorde } // create clients if they aren't already created - clientSrc, clientDst, err := c[src].CreateClients(cmd.Context(), c[dst], allowUpdateAfterExpiry, allowUpdateAfterMisbehaviour, override, customClientTrustingPeriod, memo) + clientSrc, clientDst, err := c[src].CreateClients( + cmd.Context(), + c[dst], + allowUpdateAfterExpiry, + allowUpdateAfterMisbehaviour, + override, + customClientTrustingPeriod, + memo, + ) if err != nil { return fmt.Errorf("error creating clients: %w", err) } + if clientSrc != "" || clientDst != "" { if err := a.updatePathConfig(cmd.Context(), pathName, clientSrc, clientDst, "", ""); err != nil { return err @@ -664,10 +737,19 @@ $ %s tx connect demo-path --src-port transfer --dst-port transfer --order unorde } // create connection if it isn't already created - connectionSrc, connectionDst, err := c[src].CreateOpenConnections(cmd.Context(), c[dst], retries, to, memo, initialBlockHistory, pathName) + connectionSrc, connectionDst, err := c[src].CreateOpenConnections( + cmd.Context(), + c[dst], + retries, + to, + memo, + initialBlockHistory, + pathName, + ) if err != nil { return fmt.Errorf("error creating connections: %w", err) } + if connectionSrc != "" || connectionDst != "" { if err := a.updatePathConfig(cmd.Context(), pathName, "", "", connectionSrc, connectionDst); err != nil { return err @@ -675,7 +757,19 @@ $ %s tx connect demo-path --src-port transfer --dst-port transfer --order unorde } // create channel if it isn't already created - return c[src].CreateOpenChannels(cmd.Context(), c[dst], retries, to, srcPort, dstPort, order, version, override, memo, pathName) + return c[src].CreateOpenChannels( + cmd.Context(), + c[dst], + retries, + to, + srcPort, + dstPort, + order, + version, + override, + memo, + pathName, + ) }, } cmd = timeoutFlag(a.viper, cmd) @@ -909,6 +1003,7 @@ $ %s tx raw send ibc-0 ibc-1 100000stake cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9 if !ok { return errChainNotFound(args[0]) } + dst, ok := a.config.Chains[args[1]] if !ok { return errChainNotFound(args[1]) @@ -938,11 +1033,12 @@ $ %s tx raw send ibc-0 ibc-1 100000stake cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9 srcChannelID := args[4] var pathConnectionID string - if src.ChainID() == path.Src.ChainID { + switch { + case src.ChainID() == path.Src.ChainID: pathConnectionID = path.Src.ConnectionID - } else if src.ChainID() == path.Dst.ChainID { + case src.ChainID() == path.Dst.ChainID: pathConnectionID = path.Dst.ConnectionID - } else { + default: return fmt.Errorf("no path configured using chain-id: %s", src.ChainID()) } @@ -995,10 +1091,23 @@ $ %s tx raw send ibc-0 ibc-1 100000stake cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9 dstAddr = rawDstAddr } - return src.SendTransferMsg(cmd.Context(), a.log, dst, amount, dstAddr, toHeightOffset, toTimeOffset, srcChannel) + memo := a.config.memo(cmd) + + return src.SendTransferMsg( + cmd.Context(), + a.log, + dst, + amount, + dstAddr, + memo, + toHeightOffset, + toTimeOffset, + srcChannel, + ) }, } + cmd = memoFlag(a.viper, cmd) return timeoutFlags(a.viper, pathFlag(a.viper, cmd)) } @@ -1062,11 +1171,11 @@ func registerCounterpartyCmd(a *appState) *cobra.Command { Short: "register the counterparty relayer address for ics-29 fee middleware", Args: withUsage(cobra.MatchAll(cobra.ExactArgs(5))), Example: strings.TrimSpace(fmt.Sprintf(` -$ %s register-counterparty channel-1 transfer cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk juno1g0ny488ws4064mjjxk4keenwfjrthn503ngjxd +$ %s register-counterparty channel-1 transfer cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk +juno1g0ny488ws4064mjjxk4keenwfjrthn503ngjxd $ %s reg-cpt channel-1 cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk juno1g0ny488ws4064mjjxk4keenwfjrthn503ngjxd`, appName, appName)), RunE: func(cmd *cobra.Command, args []string) error { - chain, ok := a.config.Chains[args[0]] if !ok { return errChainNotFound(args[0]) @@ -1082,10 +1191,15 @@ $ %s reg-cpt channel-1 cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk juno1g0ny48 if err != nil { return err } - res, success, err := chain.ChainProvider.SendMessage(cmd.Context(), msg, "") + + memo := a.config.memo(cmd) + + res, success, err := chain.ChainProvider.SendMessage(cmd.Context(), msg, memo) fmt.Println(res, success, err) + return nil }, } - return cmd + + return memoFlag(a.viper, cmd) } diff --git a/relayer/packet-tx.go b/relayer/packet-tx.go index 501421256..490f18394 100644 --- a/relayer/packet-tx.go +++ b/relayer/packet-tx.go @@ -15,10 +15,17 @@ import ( const defaultTimeoutOffset = 1000 -// SendTransferMsg initiates an ics20 transfer from src to dst with the specified args -// -//nolint:lll -func (c *Chain) SendTransferMsg(ctx context.Context, log *zap.Logger, dst *Chain, amount sdk.Coin, dstAddr string, toHeightOffset uint64, toTimeOffset time.Duration, srcChannel *chantypes.IdentifiedChannel) error { +// SendTransferMsg initiates an ics20 transfer from src to dst with the specified args. +func (c *Chain) SendTransferMsg( + ctx context.Context, + log *zap.Logger, + dst *Chain, + amount sdk.Coin, + dstAddr, memo string, + toHeightOffset uint64, + toTimeOffset time.Duration, + srcChannel *chantypes.IdentifiedChannel, +) error { var ( timeoutHeight uint64 timeoutTimestamp uint64 @@ -41,21 +48,29 @@ func (c *Chain) SendTransferMsg(ctx context.Context, log *zap.Logger, dst *Chain if err != nil { return fmt.Errorf("failed to query the client state response: %w", err) } + clientState, err := clienttypes.UnpackClientState(clientStateRes.ClientState) if err != nil { return fmt.Errorf("failed to unpack client state: %w", err) } - consensusStateRes, err := dst.ChainProvider.QueryClientConsensusState(ctx, dsth, dst.ClientID(), clientState.GetLatestHeight()) + + consensusStateRes, err := dst.ChainProvider.QueryClientConsensusState( + ctx, + dsth, + dst.ClientID(), + clientState.GetLatestHeight(), + ) if err != nil { return fmt.Errorf("failed to query client consensus state: %w", err) } + consensusState, err = clienttypes.UnpackConsensusState(consensusStateRes.ConsensusState) if err != nil { return fmt.Errorf("failed to unpack consensus state: %w", err) } // use local clock time as reference time if it is later than the - // consensus state timestamp of the counter party chain, otherwise + // consensus state timestamp of the counterparty chain, otherwise // still use consensus state timestamp as reference. // see https://github.com/cosmos/ibc-go/blob/ccc4cb804843f1a80acfb0d4dbf106d1ff2178bb/modules/apps/transfer/client/cli/tx.go#L94-L110 tmpNow := time.Now().UnixNano() @@ -93,6 +108,7 @@ func (c *Chain) SendTransferMsg(ctx context.Context, log *zap.Logger, dst *Chain }, TimeoutTimestamp: timeoutTimestamp, } + msg, err := c.ChainProvider.MsgTransfer(dstAddr, amount, pi) if err != nil { return err @@ -102,7 +118,7 @@ func (c *Chain) SendTransferMsg(ctx context.Context, log *zap.Logger, dst *Chain Src: []provider.RelayerMessage{msg}, } - result := txs.Send(ctx, log, AsRelayMsgSender(c), AsRelayMsgSender(dst), "") + result := txs.Send(ctx, log, AsRelayMsgSender(c), AsRelayMsgSender(dst), memo) if err := result.Error(); err != nil { if result.PartiallySent() { c.log.Info( @@ -113,15 +129,14 @@ func (c *Chain) SendTransferMsg(ctx context.Context, log *zap.Logger, dst *Chain ) } return err - } else { - if result.SuccessfullySent() { - c.log.Info( - "Successfully sent a transfer", - zap.String("src_chain_id", c.ChainID()), - zap.String("dst_chain_id", dst.ChainID()), - zap.Object("send_result", result), - ) - } + } else if result.SuccessfullySent() { + c.log.Info( + "Successfully sent a transfer", + zap.String("src_chain_id", c.ChainID()), + zap.String("dst_chain_id", dst.ChainID()), + zap.Object("send_result", result), + ) } + return nil } diff --git a/relayer/relayMsgs.go b/relayer/relayMsgs.go index 698e8b28a..ac87734f9 100644 --- a/relayer/relayMsgs.go +++ b/relayer/relayMsgs.go @@ -17,10 +17,14 @@ import ( // after a given relay round. MaxTxSize and MaxMsgLength are ignored if they are // set to zero. type RelayMsgs struct { - Src []provider.RelayerMessage `json:"src"` - Dst []provider.RelayerMessage `json:"dst"` - MaxTxSize uint64 `json:"max_tx_size"` // maximum permitted size of the msgs in a bundled relay transaction - MaxMsgLength uint64 `json:"max_msg_length"` // maximum amount of messages in a bundled relay transaction + Src []provider.RelayerMessage `json:"src"` + Dst []provider.RelayerMessage `json:"dst"` + + // maximum permitted size of the msgs in a bundled relay transaction + MaxTxSize uint64 `json:"max_tx_size"` + + // maximum amount of messages in a bundled relay transaction + MaxMsgLength uint64 `json:"max_msg_length"` } // batchSendMessageTimeout is the timeout for sending a single batch of IBC messages to an RPC node. @@ -110,7 +114,7 @@ type SendMsgsResult struct { // SuccessfullySent reports the presence successfully sent batches func (r SendMsgsResult) SuccessfullySent() bool { - return (r.SuccessfulSrcBatches > 0 || r.SuccessfulDstBatches > 0) + return r.SuccessfulSrcBatches > 0 || r.SuccessfulDstBatches > 0 } // PartiallySent reports the presence of both some successfully sent batches @@ -146,7 +150,12 @@ func (r SendMsgsResult) MarshalLogObject(enc zapcore.ObjectEncoder) error { } // Send concurrently sends out r's messages to the corresponding RelayMsgSenders. -func (r *RelayMsgs) Send(ctx context.Context, log *zap.Logger, src, dst RelayMsgSender, memo string) SendMsgsResult { +func (r *RelayMsgs) Send( + ctx context.Context, + log *zap.Logger, + src, dst RelayMsgSender, + memo string, +) SendMsgsResult { var ( wg sync.WaitGroup result SendMsgsResult @@ -156,6 +165,7 @@ func (r *RelayMsgs) Send(ctx context.Context, log *zap.Logger, src, dst RelayMsg wg.Add(1) go r.send(ctx, log, &wg, src, r.Src, memo, &result.SuccessfulSrcBatches, &result.SrcSendError) } + if len(r.Dst) > 0 { wg.Add(1) go r.send(ctx, log, &wg, dst, r.Dst, memo, &result.SuccessfulDstBatches, &result.DstSendError) diff --git a/relayer/strategies.go b/relayer/strategies.go index 5a6dba41f..704e2aa25 100644 --- a/relayer/strategies.go +++ b/relayer/strategies.go @@ -8,9 +8,8 @@ import ( "sync" "time" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/avast/retry-go/v4" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types" "github.com/cosmos/relayer/v2/relayer/chains/cosmos" penumbraprocessor "github.com/cosmos/relayer/v2/relayer/chains/penumbra" @@ -49,7 +48,7 @@ func StartRelayer( metrics *processor.PrometheusMetrics, stuckPacket *processor.StuckPacket, ) chan error { - //prevent incorrect bech32 address prefixed addresses when calling AccAddress.String() + // prevent incorrect bech32 address prefixed addresses when calling AccAddress.String() sdk.SetAddrCacheEnabled(false) errorChan := make(chan error, 1) @@ -70,8 +69,20 @@ func StartRelayer( var filterSrc, filterDst []processor.ChainChannelKey for _, ch := range filter.ChannelList { - ruleSrc := processor.ChainChannelKey{ChainID: p.Src.ChainID, ChannelKey: processor.ChannelKey{ChannelID: ch}} - ruleDst := processor.ChainChannelKey{CounterpartyChainID: p.Src.ChainID, ChannelKey: processor.ChannelKey{CounterpartyChannelID: ch}} + ruleSrc := processor.ChainChannelKey{ + ChainID: p.Src.ChainID, + ChannelKey: processor.ChannelKey{ + ChannelID: ch, + }, + } + + ruleDst := processor.ChainChannelKey{ + CounterpartyChainID: p.Src.ChainID, + ChannelKey: processor.ChannelKey{ + CounterpartyChannelID: ch, + }, + } + filterSrc = append(filterSrc, ruleSrc) filterDst = append(filterDst, ruleDst) } @@ -120,18 +131,18 @@ type path struct { } // chainProcessor returns the corresponding ChainProcessor implementation instance for a pathChain. -func (chain *Chain) chainProcessor( +func (c *Chain) chainProcessor( log *zap.Logger, metrics *processor.PrometheusMetrics, ) processor.ChainProcessor { // Handle new ChainProcessor implementations as cases here - switch p := chain.ChainProvider.(type) { + switch p := c.ChainProvider.(type) { case *penumbraprocessor.PenumbraProvider: return penumbraprocessor.NewPenumbraChainProcessor(log, p) case *cosmos.CosmosProvider: return cosmos.NewCosmosChainProcessor(log, p, metrics) default: - panic(fmt.Errorf("unsupported chain provider type: %T", chain.ChainProvider)) + panic(fmt.Errorf("unsupported chain provider type: %T", c.ChainProvider)) } } From cfe8b9324006aabe2de27335f6c790c90b39cb5c Mon Sep 17 00:00:00 2001 From: Dan Kanefsky <56059752+boojamya@users.noreply.github.com> Date: Thu, 14 Dec 2023 13:23:09 -0800 Subject: [PATCH 6/8] fix: Observed Packet Metric (#1345) * fix: restructure `ShouldRelayChannel` * fix test * check channel open + tests * remove open channel check * fix race - remove warn log * add mutex's * Update comment --- interchaintest/go.mod | 5 +- interchaintest/go.sum | 209 ++--------- relayer/processor/path_end.go | 24 -- relayer/processor/path_end_runtime.go | 49 ++- relayer/processor/path_end_test.go | 371 +++++++++++-------- relayer/processor/path_processor.go | 4 +- relayer/processor/path_processor_internal.go | 4 +- 7 files changed, 308 insertions(+), 358 deletions(-) diff --git a/interchaintest/go.mod b/interchaintest/go.mod index caf8de4aa..4f52f03c1 100644 --- a/interchaintest/go.mod +++ b/interchaintest/go.mod @@ -172,7 +172,6 @@ require ( github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect github.com/mimoo/StrobeGo v0.0.0-20220103164710-9a04d6ca976b // indirect github.com/minio/highwayhash v1.0.2 // indirect @@ -213,13 +212,15 @@ require ( github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/rs/cors v1.8.3 // indirect github.com/rs/zerolog v1.31.0 // indirect + github.com/sagikazarmark/locafero v0.3.0 // indirect + github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/sirupsen/logrus v1.9.3 // indirect + github.com/sourcegraph/conc v0.3.0 // indirect github.com/spaolacci/murmur3 v1.1.0 // indirect github.com/spf13/afero v1.10.0 // indirect github.com/spf13/cast v1.5.1 // indirect github.com/spf13/cobra v1.8.0 // indirect - github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/spf13/viper v1.17.0 // indirect github.com/strangelove-ventures/cometbft v0.37.3-0.20231004194858-c01e8d5bcac3 // indirect diff --git a/interchaintest/go.sum b/interchaintest/go.sum index f56927420..895959f2c 100644 --- a/interchaintest/go.sum +++ b/interchaintest/go.sum @@ -32,8 +32,6 @@ cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w9 cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= -cloud.google.com/go v0.110.7 h1:rJyC7nWRg2jWGZ4wSJ5nY65GTdYJkg0cd/uXb+ACI6o= -cloud.google.com/go v0.110.7/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= cloud.google.com/go v0.110.8 h1:tyNdfIxjzaWctIiLYOTalaLKZ17SI44SKFW26QbOhME= cloud.google.com/go v0.110.8/go.mod h1:Iz8AkXJf1qmxC3Oxoep8R1T36w8B92yU29PcBhHO5fk= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= @@ -72,8 +70,6 @@ cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= -cloud.google.com/go/compute v1.23.0 h1:tP41Zoavr8ptEqaW6j+LQOnyBBhO7OkOMAGrgLopTwY= -cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= cloud.google.com/go/compute v1.23.1 h1:V97tBoDaZHb6leicZ1G6DLK2BAaZLJ/7+9BB/En3hR0= cloud.google.com/go/compute v1.23.1/go.mod h1:CqB3xpmPKKt3OJpW2ndFIXnA9A4xAy/F3Xp1ixncW78= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= @@ -115,8 +111,6 @@ cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y97 cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= -cloud.google.com/go/iam v1.1.2 h1:gacbrBdWcoVmGLozRuStX45YKvJtzIjJdAolzUs1sm4= -cloud.google.com/go/iam v1.1.2/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= cloud.google.com/go/iam v1.1.3 h1:18tKG7DzydKWUnLjonWcJO6wjSCAtzh4GcRKlH/Hrzc= cloud.google.com/go/iam v1.1.3/go.mod h1:3khUlaBXfPKKe7huYgEpDn6FtgRyMEqbkvBxrQyY5SE= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= @@ -193,12 +187,9 @@ cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xX cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= -cosmossdk.io/api v0.7.1 h1:PNQ1xN8+/0hj/sSD0ANqjkgfXFys+bZ5L8Hg7uzoUTU= -cosmossdk.io/api v0.7.1/go.mod h1:ure9edhcROIHsngavM6mBLilMGFnfjhV/AaYhEMUkdo= cosmossdk.io/api v0.7.2 h1:BO3i5fvKMKvfaUiMkCznxViuBEfyWA/k6w2eAF6q1C4= cosmossdk.io/api v0.7.2/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= -cosmossdk.io/client/v2 v2.0.0-20230818115413-c402c51a1508 h1:tt5OMwdouv7dkwkWJYxb8I9h322bOxnC9RmK2qGvWMs= -cosmossdk.io/client/v2 v2.0.0-20230818115413-c402c51a1508/go.mod h1:iHeSk2AT6O8RNGlfcEQq6Yty6Z/6gydQsXXBh5I715Q= +cosmossdk.io/client/v2 v2.0.0-beta.1 h1:XkHh1lhrLYIT9zKl7cIOXUXg2hdhtjTPBUfqERNA1/Q= cosmossdk.io/client/v2 v2.0.0-beta.1/go.mod h1:JEUSu9moNZQ4kU3ir1DKD5eU4bllmAexrGWjmb9k8qU= cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= cosmossdk.io/collections v0.4.0/go.mod h1:oa5lUING2dP+gdDquow+QjlF45eL1t4TJDypgGd+tv0= @@ -210,31 +201,20 @@ cosmossdk.io/errors v1.0.0 h1:nxF07lmlBbB8NKQhtJ+sJm6ef5uV1XkvPXG2bUntb04= cosmossdk.io/errors v1.0.0/go.mod h1:+hJZLuhdDE0pYN8HkOrVNwrIOYvUGnn6+4fjnJs/oV0= cosmossdk.io/log v1.2.1 h1:Xc1GgTCicniwmMiKwDxUjO4eLhPxoVdI9vtMW8Ti/uk= cosmossdk.io/log v1.2.1/go.mod h1:GNSCc/6+DhFIj1aLn/j7Id7PaO8DzNylUZoOYBL9+I4= -cosmossdk.io/math v1.1.3-rc.1 h1:NebCNWDqb1MJRNfvxr4YY7d8FSYgkuB3L75K6xvM+Zo= -cosmossdk.io/math v1.1.3-rc.1/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= cosmossdk.io/math v1.2.0 h1:8gudhTkkD3NxOP2YyyJIYYmt6dQ55ZfJkDOaxXpy7Ig= cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= cosmossdk.io/simapp v0.0.0-20230224204036-a6adb0821462 h1:g8muUHnXL8vhld2Sjilyhb1UQObc+x9GVuDK43TYZns= cosmossdk.io/simapp v0.0.0-20230224204036-a6adb0821462/go.mod h1:4Dd3NLoLYoN90kZ0uyHoTHzVVk9+J0v4HhZRBNTAq2c= -cosmossdk.io/store v1.0.0-rc.0 h1:9DwOjuUYxDtYxn/REkTxGQAmxlIGfRroB35MQ8TrxF4= -cosmossdk.io/store v1.0.0-rc.0/go.mod h1:FtBDOJmwtOZfmKKF65bKZbTYgS3bDNjjo3nP76dAegk= cosmossdk.io/store v1.0.0 h1:6tnPgTpTSIskaTmw/4s5C9FARdgFflycIc9OX8i1tOI= cosmossdk.io/store v1.0.0/go.mod h1:ABMprwjvx6IpMp8l06TwuMrj6694/QP5NIW+X6jaTYc= -cosmossdk.io/x/circuit v0.0.0-20230818115413-c402c51a1508 h1:9HRBpMbGgk+W4BIp4ezYH2EjbpuVl2fBlwyJ2GZgrS0= -cosmossdk.io/x/circuit v0.0.0-20230818115413-c402c51a1508/go.mod h1:BhFX0kD6lkctNQO3ZGYY3p6h0/wPLVbFhrOt3uQxEIM= +cosmossdk.io/x/circuit v0.1.0 h1:IAej8aRYeuOMritczqTlljbUVHq1E85CpBqaCTwYgXs= cosmossdk.io/x/circuit v0.1.0/go.mod h1:YDzblVE8+E+urPYQq5kq5foRY/IzhXovSYXb4nwd39w= -cosmossdk.io/x/evidence v0.0.0-20230818115413-c402c51a1508 h1:R9H1lDpcPSkrLOnt6IDE38o0Wp8xE/+BAxocb0oyX4I= -cosmossdk.io/x/evidence v0.0.0-20230818115413-c402c51a1508/go.mod h1:yjIo3J0QKDo9CJawK1QoTA1hBx0llafVJdPqI0+ry74= +cosmossdk.io/x/evidence v0.1.0 h1:J6OEyDl1rbykksdGynzPKG5R/zm6TacwW2fbLTW4nCk= cosmossdk.io/x/evidence v0.1.0/go.mod h1:hTaiiXsoiJ3InMz1uptgF0BnGqROllAN8mwisOMMsfw= -cosmossdk.io/x/feegrant v0.0.0-20230926065455-cd9f0a61b710 h1:IHjYY/3rNkNc1mSPVpqg7hMP898Y6fXOdGL1jtHcKI0= -cosmossdk.io/x/feegrant v0.0.0-20230926065455-cd9f0a61b710/go.mod h1:nnIKdJKz1Os+sOlJHrjgMOh1WAlle0aV7Y+0x434OyI= +cosmossdk.io/x/feegrant v0.1.0 h1:c7s3oAq/8/UO0EiN1H5BIjwVntujVTkYs35YPvvrdQk= cosmossdk.io/x/feegrant v0.1.0/go.mod h1:4r+FsViJRpcZif/yhTn+E0E6OFfg4n0Lx+6cCtnZElU= -cosmossdk.io/x/tx v0.10.0 h1:LxWF/hksVDbeQmFj4voLM5ZCHyVZ1cCNIqKenfH9plc= -cosmossdk.io/x/tx v0.10.0/go.mod h1:MKo9/b5wsoL8dd9y9pvD2yOP1CMvzHIWYxi1l2oLPFo= cosmossdk.io/x/tx v0.12.0 h1:Ry2btjQdrfrje9qZ3iZeZSmDArjgxUJMMcLMrX4wj5U= cosmossdk.io/x/tx v0.12.0/go.mod h1:qTth2coAGkwCwOCjqQ8EAQg+9udXNRzcnSbMgGKGEI0= -cosmossdk.io/x/upgrade v0.0.0-20230926065455-cd9f0a61b710 h1:gUTneiEiIQ5kMAkekPUaDxKxI8YYQSEkXftBY/obYMA= -cosmossdk.io/x/upgrade v0.0.0-20230926065455-cd9f0a61b710/go.mod h1:TiRRu0bfrDCN4suS/gYrM5yDitmuZyyjV92P6tA/IFs= cosmossdk.io/x/upgrade v0.1.0 h1:z1ZZG4UL9ICTNbJDYZ6jOnF9GdEK9wyoEFi4BUScHXE= cosmossdk.io/x/upgrade v0.1.0/go.mod h1:/6jjNGbiPCNtmA1N+rBtP601sr0g4ZXuj3yC6ClPCGY= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= @@ -277,12 +257,12 @@ github.com/OneOfOne/xxhash v1.2.8 h1:31czK/TI9sNkxIKfaUfGlU47BAxQ0ztGgd9vPyqimf8 github.com/OneOfOne/xxhash v1.2.8/go.mod h1:eZbhyaAYD41SGSSsnmcpxVoRiQ/MPUTjUdIIOT9Um7Q= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= -github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 h1:fLjPD/aNc3UIOA6tDi6QXUemppXK3P9BI7mr2hd6gx8= -github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= +github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDOSA= +github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8= github.com/StirlingMarketingGroup/go-namecase v1.0.0 h1:2CzaNtCzc4iNHirR+5ru9OzGg8rQp860gqLBFqRI02Y= github.com/StirlingMarketingGroup/go-namecase v1.0.0/go.mod h1:ZsoSKcafcAzuBx+sndbxHu/RjDcDTrEdT4UvhniHfio= -github.com/VictoriaMetrics/fastcache v1.6.0 h1:C/3Oi3EiBCqufydp1neRZkqcwmEiuRT9c3fqvvgKm5o= -github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= +github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= +github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o= github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= github.com/adlio/schema v1.3.3 h1:oBJn8I02PyTB466pZO1UZEn1TV5XLlifBSyMrmHl/1I= @@ -302,8 +282,6 @@ github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5 github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= -github.com/avast/retry-go/v4 v4.5.0 h1:QoRAZZ90cj5oni2Lsgl2GW8mNTnUCnmpx/iKpwVisHg= -github.com/avast/retry-go/v4 v4.5.0/go.mod h1:7hLEXp0oku2Nir2xBAsg0PTphp9z71bN5Aq1fboC3+I= github.com/avast/retry-go/v4 v4.5.1 h1:AxIx0HGi4VZ3I02jr78j5lZ3M6x1E0Ivxa6b0pUUh7o= github.com/avast/retry-go/v4 v4.5.1/go.mod h1:/sipNsvNB3RRuT5iNcb6h73nw3IBmXJ/H3XrCQYSOpc= github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= @@ -401,8 +379,6 @@ github.com/cockroachdb/errors v1.11.1 h1:xSEW75zKaKCWzR3OfxXUxgrk/NtT4G1MiOv5lWZ github.com/cockroachdb/errors v1.11.1/go.mod h1:8MUxA3Gi6b25tYlFEBGLf+D8aISL+M4MIpiWMSNRfxw= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs= -github.com/cockroachdb/pebble v0.0.0-20230824192853-9bb0864bdb98 h1:Y7g+YeGJ+1Ni31uOplgf7mi+1X+Em5PzIx9WMPq/2zY= -github.com/cockroachdb/pebble v0.0.0-20230824192853-9bb0864bdb98/go.mod h1:EDjiaAXc0FXiRmxDzcu1wIEJ093ohHMUWxrI6iku0XA= github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb h1:6Po+YYKT5B5ZXN0wd2rwFBaebM0LufPf8p4zxOd48Kg= github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb/go.mod h1:acMRUGd/BK8AUmQNK3spUCCGzFLZU2bSST3NMXSq2Kc= github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwPJ30= @@ -416,8 +392,7 @@ github.com/cometbft/cometbft-db v0.8.0 h1:vUMDaH3ApkX8m0KZvOFFy9b5DZHBAjsnEuo9AK github.com/cometbft/cometbft-db v0.8.0/go.mod h1:6ASCP4pfhmrCBpfk01/9E1SI29nD3HfVHrY4PG8x5c0= github.com/consensys/bavard v0.1.13 h1:oLhMLOFGTLdlda/kma4VOJazblc7IM5y5QPd2A/YjhQ= github.com/consensys/bavard v0.1.13/go.mod h1:9ItSMtA/dXMAiL7BG6bqW2m3NdSEObYWoH223nGHukI= -github.com/consensys/gnark-crypto v0.10.0 h1:zRh22SR7o4K35SoNqouS9J/TKHTyU2QWaj5ldehyXtA= -github.com/consensys/gnark-crypto v0.10.0/go.mod h1:Iq/P3HHl0ElSjsg2E1gsMwhAyxnxoKK5nVyZKd+/KhU= +github.com/consensys/gnark-crypto v0.12.1 h1:lHH39WuuFgVHONRl3J0LRBtuYdQTumFSDtJF7HpyG8M= github.com/consensys/gnark-crypto v0.12.1/go.mod h1:v2Gy7L/4ZRosZ7Ivs+9SfUDr0f5UlG+EM5t7MPHiLuY= github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= github.com/containerd/containerd v1.7.7 h1:QOC2K4A42RQpcrZyptP6z9EJZnlHfHJUfZrAAHe15q4= @@ -437,8 +412,6 @@ github.com/cosmos/cosmos-db v1.0.0 h1:EVcQZ+qYag7W6uorBKFPvX6gRjw6Uq2hIh4hCWjuQ0 github.com/cosmos/cosmos-db v1.0.0/go.mod h1:iBvi1TtqaedwLdcrZVYRSSCb6eSy61NLj4UNmdIgs0U= github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o= github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I= -github.com/cosmos/cosmos-sdk v0.50.0-rc.1 h1:1Z+SgLg8S2+DoiePz9aO5dSjJUgag8VFhFUSD/HGvOU= -github.com/cosmos/cosmos-sdk v0.50.0-rc.1/go.mod h1:JbgPLZrh+yX+4+n1CPJ/uL9HrhZw6QVg0q7cTq2Iwq0= github.com/cosmos/cosmos-sdk v0.50.1 h1:2SYwAYqd7ZwtrWxu/J8PwbQV/cDcu90bCr/a78g3lVw= github.com/cosmos/cosmos-sdk v0.50.1/go.mod h1:fsLSPGstCwn6MMsFDMAQWGJj8E4sYsN9Gnu1bGE5imA= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= @@ -449,30 +422,20 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g= github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y= -github.com/cosmos/iavl v1.0.0-rc.1 h1:5+73BEWW1gZOIUJKlk/1fpD4lOqqeFBA8KuV+NpkCpU= -github.com/cosmos/iavl v1.0.0-rc.1/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= github.com/cosmos/iavl v1.0.0 h1:bw6t0Mv/mVCJvlMTOPHWLs5uUE3BRBfVWCRelOzl+so= github.com/cosmos/iavl v1.0.0/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= -github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6 h1:K3lWRr/WJkPdSWErxhQL1x0CTnJyONHwJSyaTefGDf0= -github.com/cosmos/ibc-go/modules/capability v1.0.0-rc6/go.mod h1:DBP9jg+NoXU2buK5QDyf87lMjcQYN8qFlByNeNJmuhs= github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE= github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco= -github.com/cosmos/ibc-go/v8 v8.0.0-beta.1 h1:vCateGEI1nl955HxLu/Nh+d8dYkribGjcrlQqWjjVnI= -github.com/cosmos/ibc-go/v8 v8.0.0-beta.1/go.mod h1:1bpsE9mtwEbSRmCCo0VsIGe64JY2sXSxeNv8Be1nPxQ= github.com/cosmos/ibc-go/v8 v8.0.0 h1:QKipnr/NGwc+9L7NZipURvmSIu+nw9jOIWTJuDBqOhg= github.com/cosmos/ibc-go/v8 v8.0.0/go.mod h1:C6IiJom0F3cIQCD5fKwVPDrDK9j/xTu563AWuOmXois= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0= -github.com/cosmos/ledger-cosmos-go v0.13.0 h1:ex0CvCxToSR7j5WjrghPu2Bu9sSXKikjnVvUryNnx4s= -github.com/cosmos/ledger-cosmos-go v0.13.0/go.mod h1:ZcqYgnfNJ6lAXe4HPtWgarNEY+B74i+2/8MhZw4ziiI= github.com/cosmos/ledger-cosmos-go v0.13.3 h1:7ehuBGuyIytsXbd4MP43mLeoN2LTOEnk5nvue4rK+yM= github.com/cosmos/ledger-cosmos-go v0.13.3/go.mod h1:HENcEP+VtahZFw38HZ3+LS3Iv5XV6svsnkk9vdJtLr8= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/crate-crypto/go-kzg-4844 v0.3.0 h1:UBlWE0CgyFqqzTI+IFyCzA7A3Zw4iip6uzRv5NIXG0A= -github.com/crate-crypto/go-kzg-4844 v0.3.0/go.mod h1:SBP7ikXEgDnUPONgm33HtuDZEDtWa3L4QtN1ocJSEQ4= +github.com/crate-crypto/go-kzg-4844 v0.7.0 h1:C0vgZRk4q4EZ/JgPfzuSoxdCq3C3mOZMBShovmncxvA= github.com/crate-crypto/go-kzg-4844 v0.7.0/go.mod h1:1kMhvPgI0Ky3yIa+9lFySEBUBXkYxeOi8ZF1sYioxhc= github.com/creachadair/taskgroup v0.3.2 h1:zlfutDS+5XG40AOxcHDSThxKzns8Tnr9jnr6VqkYlkM= github.com/creachadair/taskgroup v0.3.2/go.mod h1:wieWwecHVzsidg2CsUnFinW1faVN4+kq+TDlRJQ0Wbk= @@ -483,8 +446,8 @@ github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuA github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/deckarep/golang-set v1.8.0 h1:sk9/l/KqpunDwP7pSjUg0keiOOLEnOBHzykLrsPppp4= github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo= @@ -516,8 +479,6 @@ github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WA github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8= github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v24.0.6+incompatible h1:hceabKCtUgDqPu+qm0NgsaXf28Ljf4/pWFL7xjWWDgE= -github.com/docker/docker v24.0.6+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v24.0.7+incompatible h1:Wo6l37AuwP3JaMnZa226lzVXGA3F9Ig1seQen0cKYlM= github.com/docker/docker v24.0.7+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= @@ -548,20 +509,14 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.m github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ethereum/c-kzg-4844 v0.3.0 h1:3Y3hD6l5i0dEYsBL50C+Om644kve3pNqoAcvE26o9zI= -github.com/ethereum/c-kzg-4844 v0.3.0/go.mod h1:WI2Nd82DMZAAZI1wV2neKGost9EKjvbpQR9OqE5Qqa8= +github.com/ethereum/c-kzg-4844 v0.4.0 h1:3MS1s4JtA868KpJxroZoepdV0ZKBp3u/O5HcZ7R3nlY= github.com/ethereum/c-kzg-4844 v0.4.0/go.mod h1:VewdlzQmpT5QSrVhbBuGoCdFJkpaJlO1aQputP83wc0= -github.com/ethereum/go-ethereum v1.12.1 h1:1kXDPxhLfyySuQYIfRxVBGYuaHdxNNxevA73vjIwsgk= -github.com/ethereum/go-ethereum v1.12.1/go.mod h1:zKetLweqBR8ZS+1O9iJWI8DvmmD2NzD19apjEWDCsnw= github.com/ethereum/go-ethereum v1.13.5 h1:U6TCRciCqZRe4FPXmy1sMGxTfuk8P7u2UoinF3VbaFk= github.com/ethereum/go-ethereum v1.13.5/go.mod h1:yMTu38GSuyxaYzQMViqNmQ1s3cE84abZexQmTgenWk0= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= -github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/felixge/httpsnoop v1.0.2 h1:+nS9g82KMXccJ/wp0zyRW9ZBHFETmMGtkk+2CTTrW4o= -github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= @@ -576,8 +531,6 @@ github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4 github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= -github.com/getsentry/sentry-go v0.23.0 h1:dn+QRCeJv4pPt9OjVXiMcGIBIefaTJPw/h0bZWO05nE= -github.com/getsentry/sentry-go v0.23.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/getsentry/sentry-go v0.25.0 h1:q6Eo+hS+yoJlTO3uu/azhQadsD8V+jQn2D8VvX1eOyI= github.com/getsentry/sentry-go v0.25.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= @@ -628,8 +581,8 @@ github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6Wezm github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= github.com/gobwas/ws v1.2.1 h1:F2aeBZrm2NDsc7vbovKrWSogd4wvfAxg0FQ89/iqOTk= github.com/gobwas/ws v1.2.1/go.mod h1:hRKAFb8wOxFROYNsT1bqfWnhX+b5MFeJM9r2ZSwg/KY= -github.com/goccy/go-json v0.9.11 h1:/pAaQDLHEoCq/5FFmSKBswWmK6H0e8g4159Kc/X/nqk= -github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= +github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= @@ -641,8 +594,6 @@ github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869/go.mod h1:5YRNX2 github.com/gogo/googleapis v1.4.1 h1:1Yx4Myt7BxzvUr5ldGSbwYiZG6t9wGBZ+8/fX3Wvtq0= github.com/gogo/googleapis v1.4.1/go.mod h1:2lpHqI5OcWCtVElxXnPt+s8oJvMpySlOyM6xDCrzib4= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -704,7 +655,6 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= @@ -744,23 +694,18 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20230817174616-7a8ec2ada47b h1:h9U78+dx9a4BKdQkBBos92HalKpaGKHrp+3Uo6yTodo= github.com/google/pprof v0.0.0-20230817174616-7a8ec2ada47b/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= -github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/subcommands v1.2.0/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= -github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= -github.com/googleapis/enterprise-certificate-proxy v0.2.5 h1:UR4rDjcgpgEnqpIEvkiqTYKBCKLNmlge2eVjoZfySzM= -github.com/googleapis/enterprise-certificate-proxy v0.2.5/go.mod h1:RxW0N9901Cko1VOCW3SXCpWP+mlIEkk2tP7jnHy9a3w= +github.com/googleapis/enterprise-certificate-proxy v0.3.1 h1:SBWmZhjUDRorQxrN0nwzf+AHBxnbFjViHQS4P0yVpmQ= github.com/googleapis/enterprise-certificate-proxy v0.3.1/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= @@ -777,14 +722,10 @@ github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+ github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= -github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4= -github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= github.com/gorilla/handlers v1.5.2 h1:cLTUSsNkgcwhgRqvCNmdbRWG0A3N4F+M2nWKdScwyEE= github.com/gorilla/handlers v1.5.2/go.mod h1:dX+xVpaxdSw+q0Qek8SSsl3dfMk3jNddUkMzo0GtH0w= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= @@ -824,8 +765,6 @@ github.com/hashicorp/go-metrics v0.5.1 h1:rfPwUqFU6uZXNvGl4hzjY8LEBsqFVU4si1H9/H github.com/hashicorp/go-metrics v0.5.1/go.mod h1:KEjodfebIOuBYSAe/bHTm+HChmKSxAOXPBieMLYozDE= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-plugin v1.5.1 h1:oGm7cWBaYIp3lJpx1RUEfLWophprE2EV/KUeqBYo+6k= -github.com/hashicorp/go-plugin v1.5.1/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-plugin v1.5.2 h1:aWv8eimFqWlsEiMrYZdPYl+FdHaBJSN4AWwGWfT1G2Y= github.com/hashicorp/go-plugin v1.5.2/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= @@ -882,8 +821,8 @@ github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= github.com/ipfs/go-cid v0.4.1/go.mod h1:uQHwDeX4c6CtyrFwdqyhpNcxVewur1M7l7fNU7LKwZk= github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jhump/protoreflect v1.15.2 h1:7YppbATX94jEt9KLAc5hICx4h6Yt3SaavhQRsIUEHP0= -github.com/jhump/protoreflect v1.15.2/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k= +github.com/jhump/protoreflect v1.15.3 h1:6SFRuqU45u9hIZPJAoZ8c28T3nK64BNdp9w6jFonzls= +github.com/jhump/protoreflect v1.15.3/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= @@ -917,8 +856,6 @@ github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYs github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= -github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I= -github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= github.com/klauspost/compress v1.17.2 h1:RlWWUY/Dr4fL8qk9YG7DTZ7PDgME2V4csBXA8L/ixi4= github.com/klauspost/compress v1.17.2/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg= @@ -950,8 +887,6 @@ github.com/libp2p/go-libp2p v0.31.0 h1:LFShhP8F6xthWiBBq3euxbKjZsoRajVEyBS9snfHx github.com/libp2p/go-libp2p v0.31.0/go.mod h1:W/FEK1c/t04PbRH3fA9i5oucu5YcgrG0JVoBWT1B7Eg= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/linxGnu/grocksdb v1.8.0 h1:H4L/LhP7GOMf1j17oQAElHgVlbEje2h14A8Tz9cM2BE= -github.com/linxGnu/grocksdb v1.8.0/go.mod h1:09CeBborffXhXdNpEcOeZrLKEnRtrZFEpFdPNI9Zjjg= github.com/linxGnu/grocksdb v1.8.4 h1:ZMsBpPpJNtRLHiKKp0mI7gW+NT4s7UgfD5xHxx1jVRo= github.com/linxGnu/grocksdb v1.8.4/go.mod h1:xZCIb5Muw+nhbDK4Y5UJuOrin5MceOuiXkVUR7vp4WY= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= @@ -970,7 +905,6 @@ github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNx github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= @@ -981,8 +915,6 @@ github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh github.com/mattn/go-sqlite3 v1.14.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y= github.com/mattn/go-sqlite3 v1.14.16/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= -github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvlsiIGKtc+UG6U5vzxaoagmhXfyg= github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= @@ -1011,8 +943,6 @@ github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RR github.com/mmcloughlin/addchain v0.4.0 h1:SobOdjm2xLj1KkXN5/n0xTIWyZA2+s99UCY1iPfkHRY= github.com/mmcloughlin/addchain v0.4.0/go.mod h1:A86O+tHqZLMNO4w6ZZ4FlVQEadcoqkyU72HC5wJ4RlU= github.com/mmcloughlin/profile v0.1.1/go.mod h1:IhHD7q1ooxgwTgjxQYkACGA77oFTDdFVejUS1/tS/qU= -github.com/moby/moby v24.0.2+incompatible h1:yH+5dRHH1x3XRKzl1THA2aGTy6CHYnkt5N924ADMax8= -github.com/moby/moby v24.0.2+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= github.com/moby/moby v24.0.7+incompatible h1:RrVT5IXBn85mRtFKP+gFwVLCcnNPZIgN3NVRJG9Le+4= github.com/moby/moby v24.0.7+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= github.com/moby/patternmatcher v0.5.0 h1:YCZgJOeULcxLw1Q+sVR636pmS7sPEn1Qo2iAN6M7DBo= @@ -1065,8 +995,6 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLA github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= -github.com/oasisprotocol/curve25519-voi v0.0.0-20230110094441-db37f07504ce h1:/pEpMk55wH0X+E5zedGEMOdLuWmV8P4+4W3+LZaM6kg= -github.com/oasisprotocol/curve25519-voi v0.0.0-20230110094441-db37f07504ce/go.mod h1:hVoHR2EVESiICEMbg137etN/Lx+lSrHPTD39Z/uE+2s= github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a h1:dlRvE5fWabOchtH7znfiFCcOvmIYgOeAS5ifBXBlh9Q= github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a/go.mod h1:hVoHR2EVESiICEMbg137etN/Lx+lSrHPTD39Z/uE+2s= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= @@ -1090,8 +1018,8 @@ github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7J github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= -github.com/onsi/gomega v1.27.4 h1:Z2AnStgsdSayCMDiCU42qIz+HLqEPcgiOCXjAU/w+8E= -github.com/onsi/gomega v1.27.4/go.mod h1:riYq/GJKh8hhoM01HN6Vmuy93AarCXCBGpvFDK3q3fQ= +github.com/onsi/gomega v1.27.8 h1:gegWiwZjBsf2DgiSbf5hpokZ98JVDMcWkUiigk6/KXc= +github.com/onsi/gomega v1.27.8/go.mod h1:2J8vzI/s+2shY9XHRApDkdgPo1TKT7P2u6fXeJKFnNQ= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= @@ -1123,8 +1051,6 @@ github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6 github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/petermattis/goid v0.0.0-20230808133559-b036b712a89b h1:vab8deKC4QoIfm9fJM59iuNz1ELGsuLoYYpiF+pHiG8= -github.com/petermattis/goid v0.0.0-20230808133559-b036b712a89b/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc h1:8bQZVK1X6BJR/6nYUPxQEP+ReTsceJTKizeuwjWOPUA= github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= @@ -1140,7 +1066,6 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -1159,8 +1084,6 @@ github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1: github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 h1:v7DLqVdK4VrYkVD5diGdl4sxJurKJEMnODWRJlxV9oM= -github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw= github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= @@ -1169,8 +1092,6 @@ github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt2 github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= -github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= -github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= github.com/prometheus/common v0.45.0 h1:2BGz0eBc2hdMDLnO/8n0jeB3oPrt2D08CekT0lneoxM= github.com/prometheus/common v0.45.0/go.mod h1:YJmSTw9BoKxJplESWWxlbyttQR4uaEcGyv9MZjVOJsY= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= @@ -1179,8 +1100,6 @@ github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsT github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.3.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.11.1 h1:xRC8Iq1yyca5ypa9n1EZnWZkt7dwcoRPQwX/5gwaUuI= -github.com/prometheus/procfs v0.11.1/go.mod h1:eesXgaPo1q7lBpVMoMy0ZOFTth9hBn4W/y0/p/ScXhY= github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= @@ -1188,7 +1107,6 @@ github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5X github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/regen-network/protobuf v1.3.3-alpha.regen.1 h1:OHEc+q5iIAXpqiqFKeLpu5NwTIkVXUs48vFMwzqpqY4= github.com/regen-network/protobuf v1.3.3-alpha.regen.1/go.mod h1:2DjTFR1HhMQhiWC5sZ4OhQ3+NtdbZ6oBDKQwq5Ou+FI= -github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rivo/uniseg v0.4.3 h1:utMvzDsuh3suAEnhH0RdHmoPbU648o6CvXxTx4SBMOw= @@ -1209,6 +1127,10 @@ github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/sagikazarmark/locafero v0.3.0 h1:zT7VEGWC2DTflmccN/5T1etyKvxSxpHsjb9cJvm4SvQ= +github.com/sagikazarmark/locafero v0.3.0/go.mod h1:w+v7UsPNFwzF1cHuOajOOzoq4U7v/ig1mpRjqV+Bu1U= +github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= +github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0= github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= @@ -1228,39 +1150,31 @@ github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1 github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= +github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= +github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= -github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= +github.com/spf13/afero v1.10.0 h1:EaGW2JJh15aKOejeuJ+wpFSHnbd7GE6Wvp3TsNhb6LY= github.com/spf13/afero v1.10.0/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= -github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= -github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= -github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc= -github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg= +github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI= github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI= github.com/strangelove-ventures/cometbft v0.37.3-0.20231004194858-c01e8d5bcac3 h1:sOdCYxFMTVbEGvJ6LfjQsm+tQbB5YdUpvMcXJnHBFm4= github.com/strangelove-ventures/cometbft v0.37.3-0.20231004194858-c01e8d5bcac3/go.mod h1:Jgux5ULdCs9N7ARy9NHe+hPfJQhUFpYF6+/+gmcqsGw= -github.com/strangelove-ventures/interchaintest/v8 v8.0.0-20231017192510-34c63cfd0956 h1:KDCvw0Hb7x+uN5+8PjLF/HwVuoMAhC3kTk3nlDq9P3Q= -github.com/strangelove-ventures/interchaintest/v8 v8.0.0-20231017192510-34c63cfd0956/go.mod h1:PjgiNKXZN9sRig0ObiPjNeklNVF8YnXvLaOaDu9LX90= -github.com/strangelove-ventures/interchaintest/v8 v8.0.0-20231018160911-cbabe40c85b1 h1:IGDiiEWFR47BRZfo7yLyKvyr6tWL8/dNXmEJq7us49k= -github.com/strangelove-ventures/interchaintest/v8 v8.0.0-20231018160911-cbabe40c85b1/go.mod h1:PjgiNKXZN9sRig0ObiPjNeklNVF8YnXvLaOaDu9LX90= github.com/strangelove-ventures/interchaintest/v8 v8.0.1-0.20231114192524-e3719592933b h1:VDe2ofJ2xiiLwkJ6qhcF2gvg75gB4WVpXO8lFzhYQOU= github.com/strangelove-ventures/interchaintest/v8 v8.0.1-0.20231114192524-e3719592933b/go.mod h1:TbVaBTSa9Y7/Jj/JeqoH79fAcyQiHloz1zxXxKjtCFA= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= @@ -1284,11 +1198,9 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= -github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= +github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= -github.com/supranational/blst v0.3.11-0.20230406105308-e9dfc5ee724b h1:u49mjRnygnB34h8OKbnNJFVUtWSKIKb1KukdV8bILUM= -github.com/supranational/blst v0.3.11-0.20230406105308-e9dfc5ee724b/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= +github.com/supranational/blst v0.3.11 h1:LyU6FolezeWAhvQk0k6O/d49jqgO52MSDDfYgbeoEm4= github.com/supranational/blst v0.3.11/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= @@ -1298,10 +1210,10 @@ github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2l github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI= github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= -github.com/tklauser/go-sysconf v0.3.10 h1:IJ1AZGZRWbY8T5Vfk04D9WOA5WSejdflXxP03OUqALw= -github.com/tklauser/go-sysconf v0.3.10/go.mod h1:C8XykCvCb+Gn0oNCWPIlcb0RuglQTYaQ2hGm7jmxEFk= -github.com/tklauser/numcpus v0.4.0 h1:E53Dm1HjH1/R2/aoCtXtPgzmElmn51aOkhCFSuZq//o= -github.com/tklauser/numcpus v0.4.0/go.mod h1:1+UI3pD8NW14VMwdgJNJ1ESk2UnwhAnz5hMwiKKqXCQ= +github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU= +github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI= +github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk= +github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/tyler-smith/go-bip32 v1.0.0 h1:sDR9juArbUgX+bO/iblgZnMPeWY1KZMUC2AFUJdv5KE= @@ -1312,8 +1224,8 @@ github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= -github.com/ugorji/go/codec v1.2.7 h1:YPXUKf7fYbp/y8xloBqZOw2qaVggbfwMlI8WM3wZUJ0= -github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY= +github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU= +github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8= github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= @@ -1329,12 +1241,8 @@ github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zondax/hid v0.9.1 h1:gQe66rtmyZ8VeGFcOpbuH3r7erYtNEAezCAYu8LdkJo= -github.com/zondax/hid v0.9.1/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= github.com/zondax/hid v0.9.2 h1:WCJFnEDMiqGF64nlZz28E9qLVZ0KSJ7xpc5DLEyma2U= github.com/zondax/hid v0.9.2/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= -github.com/zondax/ledger-go v0.14.1 h1:Pip65OOl4iJ84WTpA4BKChvOufMhhbxED3BaihoZN4c= -github.com/zondax/ledger-go v0.14.1/go.mod h1:fZ3Dqg6qcdXWSOJFKMG8GCTnD7slO/RL2feOQv8K320= github.com/zondax/ledger-go v0.14.3 h1:wEpJt2CEcBJ428md/5MgSLsXLBos98sBOyxNmCjfUCw= github.com/zondax/ledger-go v0.14.3/go.mod h1:IKKaoxupuB43g4NxeQmbLXv7T9AlQyie1UpHb342ycI= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= @@ -1386,10 +1294,7 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= -golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= golang.org/x/crypto v0.15.0 h1:frVn1TEaCEaZcn3Tmd7Y2b5KKPaZ+I32Q2OA3kYp5TA= golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1403,8 +1308,6 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 h1:m64FZMko/V45gv0bNmrNYoDEq8U5YUhetc9cBWKS1TQ= -golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63/go.mod h1:0v4NqG35kSWCMzLaMeX+IQrlSnVE/bqGSyC2cz/9Le8= golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= @@ -1433,10 +1336,7 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= -golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= -golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1501,8 +1401,6 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8= -golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= golang.org/x/net v0.18.0 h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg= golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -1530,8 +1428,6 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.10.0 h1:zHCpF2Khkwy4mMB4bv0U37YtJdTGW8jI0glAApi0Kh8= -golang.org/x/oauth2 v0.10.0/go.mod h1:kTpgurOux7LqtuxjuyZa4Gj2gdezIt/jQtGnNFfypQI= golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4= golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1548,8 +1444,6 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= -golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1659,15 +1553,12 @@ golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q= golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU= -golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.14.0 h1:LGK9IlZ8T9jvdy6cTdfKUCltatMFOehAQo9SRC46UQ8= golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1679,10 +1570,7 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1753,8 +1641,6 @@ golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ= -golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1815,10 +1701,7 @@ google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= -google.golang.org/api v0.134.0 h1:ktL4Goua+UBgoP1eL1/60LwZJqa1sIzkLmvoR3hR6Gw= -google.golang.org/api v0.134.0/go.mod h1:sjRL3UnjTx5UqNQS9EWr9N8p7xbHpy1k0XGRLCf3Spk= -google.golang.org/api v0.139.0 h1:A1TrCPgMmOiYu0AiNkvQIpIx+D8blHTDcJ5EogkP7LI= -google.golang.org/api v0.139.0/go.mod h1:CVagp6Eekz9CjGZ718Z+sloknzkDJE7Vc1Ckj9+viBk= +google.golang.org/api v0.143.0 h1:o8cekTkqhywkbZT6p1UHJPZ9+9uuCAJs/KYomxZB8fA= google.golang.org/api v0.143.0/go.mod h1:FoX9DO9hT7DLNn97OuoZAGSDuNAXdJRuGK98rSUgurk= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -1938,16 +1821,10 @@ google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqw google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb h1:XFBgcDwm7irdHTbz4Zk2h7Mh+eis4nfJEFQFYzJzuIA= -google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4= google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b h1:+YaDE2r2OG8t/z5qmsh7Y+XXwCbvadxxZ0YY6mTdrVA= google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:CgAqfJo+Xmu0GwA0411Ht3OU3OntXwsGmrmjI8ioGXI= -google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 h1:nIgk/EEq3/YlnmVVXVnm14rC2oxgs1o0ong4sD/rd44= -google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5/go.mod h1:5DZzOUPCLYL3mNkQ0ms0F3EuUNZ7py1Bqeq6sxzI7/Q= google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a h1:myvhA4is3vrit1a6NZCWBIwN0kNEnX21DJOJX/NvIfI= google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a/go.mod h1:SUBoKXbI1Efip18FClrQVGjWcyd0QZd8KkvdP34t7ww= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 h1:N3bU/SQDCDyD6R528GJ/PwW9KjYcJA3dgyH+MovAkIM= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13/go.mod h1:KSqppvjFjtoCI+KGd4PELB0qLNxdJHRGqRI09mB6pQA= google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 h1:AB/lmRny7e2pLhFEYIbl5qkDAUt2h0ZRO4wGPhZf+ik= google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405/go.mod h1:67X1fPuzjcrkymZzZV1vvkFeTn2Rvc6lYF9MYFGCcwE= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= @@ -1991,8 +1868,6 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.58.2 h1:SXUpjxeVF3FKrTYQI4f4KvbGD5u2xccdYdurwowix5I= -google.golang.org/grpc v1.58.2/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= google.golang.org/grpc v1.59.0 h1:Z5Iec2pjwb+LEOqzpB2MR12/eKFhDPhuqW91O+4bwUk= google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= @@ -2071,22 +1946,14 @@ modernc.org/ccorpus v1.11.6 h1:J16RXiiqiCgua6+ZvQot4yUuUy8zxgqbqEEUuGPlISk= modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= modernc.org/httpfs v1.0.6 h1:AAgIpFZRXuYnkjftxTAZwMIiwEqAfk8aVB2/oA6nAeM= modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= -modernc.org/libc v1.24.1 h1:uvJSeCKL/AgzBo2yYIPPTy82v21KgGnizcGYfBHaNuM= -modernc.org/libc v1.24.1/go.mod h1:FmfO1RLrU3MHJfyi9eYYmZBfi/R+tqZ6+hQ3yQQUkak= modernc.org/libc v1.29.0 h1:tTFRFq69YKCF2QyGNuRUQxKBm1uZZLubf6Cjh/pVHXs= modernc.org/libc v1.29.0/go.mod h1:DaG/4Q3LRRdqpiLyP0C2m1B8ZMGkQ+cCgOIjEtQlYhQ= -modernc.org/mathutil v1.5.0 h1:rV0Ko/6SfM+8G+yKiyI830l3Wuz1zRutdslNoQ0kfiQ= -modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4= modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo= -modernc.org/memory v1.6.0 h1:i6mzavxrE9a30whzMfwf7XWVODx2r5OYXvU46cirX7o= -modernc.org/memory v1.6.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= modernc.org/memory v1.7.2 h1:Klh90S215mmH8c9gO98QxQFsY+W451E8AnzjoE2ee1E= modernc.org/memory v1.7.2/go.mod h1:NO4NVCQy0N7ln+T9ngWqOQfi7ley4vpwvARR+Hjw95E= modernc.org/opt v0.1.3 h1:3XOZf2yznlhC+ibLltsDGzABUGVx8J6pnFMS3E4dcq4= modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= -modernc.org/sqlite v1.26.0 h1:SocQdLRSYlA8W99V8YH0NES75thx19d9sB/aFc4R8Lw= -modernc.org/sqlite v1.26.0/go.mod h1:FL3pVXie73rg3Rii6V/u5BoHlSoyeZeIgKZEgHARyCU= modernc.org/sqlite v1.27.0 h1:MpKAHoyYB7xqcwnUwkuD+npwEa0fojF0B5QRbN+auJ8= modernc.org/sqlite v1.27.0/go.mod h1:Qxpazz0zH8Z1xCFyi5GSL3FzbtZ3fvbjmywNogldEW0= modernc.org/strutil v1.1.3 h1:fNMm+oJklMGYfU9Ylcywl0CO5O6nTfaowNsh2wpPjzY= @@ -2108,8 +1975,6 @@ rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= rsc.io/tmplfunc v0.0.3 h1:53XFQh69AfOa8Tw0Jm7t+GV7KZhOi6jzsCzTtKbMvzU= rsc.io/tmplfunc v0.0.3/go.mod h1:AG3sTPzElb1Io3Yg4voV9AGZJuleGAwaVRxL9M49PhA= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= -sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= -sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E= sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/relayer/processor/path_end.go b/relayer/processor/path_end.go index 9ba05b542..815b8838c 100644 --- a/relayer/processor/path_end.go +++ b/relayer/processor/path_end.go @@ -67,27 +67,3 @@ func (pe PathEnd) shouldRelayChannelSingle(channelKey ChainChannelKey, listChann } return !allowList } - -// if port ID is empty on allowlist channel, allow all ports -// if port ID is non-empty on allowlist channel, allow only that specific port -// if port ID is empty on blocklist channel, block all ports -// if port ID is non-empty on blocklist channel, block only that specific port -func (pe PathEnd) ShouldRelayChannel(channelKey ChainChannelKey) bool { - if pe.Rule == RuleAllowList { - for _, allowedChannel := range pe.FilterList { - if pe.shouldRelayChannelSingle(channelKey, allowedChannel, true) { - return true - } - } - return false - } else if pe.Rule == RuleDenyList { - for _, blockedChannel := range pe.FilterList { - if !pe.shouldRelayChannelSingle(channelKey, blockedChannel, false) { - return false - } - } - return true - } - // if neither allow list or block list are provided, all channels are okay - return true -} diff --git a/relayer/processor/path_end_runtime.go b/relayer/processor/path_end_runtime.go index d91307f12..c6c21ee2d 100644 --- a/relayer/processor/path_end_runtime.go +++ b/relayer/processor/path_end_runtime.go @@ -30,6 +30,7 @@ type pathEndRuntime struct { clientTrustedState provider.ClientTrustedState connectionStateCache ConnectionStateCache channelStateCache ChannelStateCache + channelStateCacheMu sync.RWMutex channelOrderCache map[string]chantypes.Order latestHeader provider.IBCHeader ibcHeaderCache IBCHeaderCache @@ -107,7 +108,7 @@ func (pathEnd *pathEndRuntime) mergeMessageCache(messageCache IBCMessagesCache, clientICQMessages := make(ClientICQMessagesCache) for ch, pmc := range messageCache.PacketFlow { - if pathEnd.info.ShouldRelayChannel(ChainChannelKey{ChainID: pathEnd.info.ChainID, CounterpartyChainID: counterpartyChainID, ChannelKey: ch}) { + if pathEnd.ShouldRelayChannel(ChainChannelKey{ChainID: pathEnd.info.ChainID, CounterpartyChainID: counterpartyChainID, ChannelKey: ch}) { if inSync && pathEnd.metrics != nil { for eventType, pCache := range pmc { pathEnd.metrics.AddPacketsObserved(pathEnd.info.PathName, pathEnd.info.ChainID, ch.ChannelID, ch.PortID, eventType, len(pCache)) @@ -403,7 +404,10 @@ func (pathEnd *pathEndRuntime) mergeCacheData(ctx context.Context, cancel func() } pathEnd.connectionStateCache = d.ConnectionStateCache // Update latest connection open state for chain - pathEnd.channelStateCache = d.ChannelStateCache // Update latest channel open state for chain + + pathEnd.channelStateCacheMu.Lock() + pathEnd.channelStateCache = d.ChannelStateCache // Update latest channel open state for chain + pathEnd.channelStateCacheMu.Unlock() pathEnd.mergeMessageCache(d.IBCMessagesCache, counterpartyChainID, pathEnd.inSync && counterpartyInSync) // Merge incoming packet IBC messages into the backlog @@ -874,3 +878,44 @@ func (pathEnd *pathEndRuntime) localhostSentinelProofChannel( Version: info.Version, }, nil } + +// ShouldRelayChannel determines whether a chain channel (and optionally a port), should be relayed +// by this path end. +// +// It first checks if the channel matches any rule in the path end's filter list. If the channel matches a channel +// in an allowed list, it returns true. If the channel matches any blocked channel it returns false. Otherwise, it returns true. +// +// If no filter rule matches, it checks if the channel or its counterparty is present in the path end's +// channel state cache. This cache only holds channels relevant to the client for this path end, ensuring +// the channel belongs to a client connected to this path end. +// +// Note that this function only determines whether the channel should be relayed based on the path end's +// configuration. It does not guarantee that the channel is actually relayable, as other checks +// (e.g., expired client) may still be necessary. +func (pathEnd *pathEndRuntime) ShouldRelayChannel(chainChannelKey ChainChannelKey) bool { + pe := pathEnd.info + if pe.Rule == RuleAllowList { + for _, allowedChannel := range pe.FilterList { + if pe.shouldRelayChannelSingle(chainChannelKey, allowedChannel, true) { + return true + } + } + return false + } else if pe.Rule == RuleDenyList { + for _, blockedChannel := range pe.FilterList { + if !pe.shouldRelayChannelSingle(chainChannelKey, blockedChannel, false) { + return false + } + } + return true + } + + pathEnd.channelStateCacheMu.RLock() + defer pathEnd.channelStateCacheMu.RUnlock() + + // if no filter rule, check if the channel or counterparty channel is in the channelStateCache. + // Because channelStateCache only holds channels relevant to the client, we can ensure that the + // channel is built on top of a client for this pathEnd + _, exists := pathEnd.channelStateCache[chainChannelKey.ChannelKey] + return exists +} diff --git a/relayer/processor/path_end_test.go b/relayer/processor/path_end_test.go index 1833640f8..c0a133463 100644 --- a/relayer/processor/path_end_test.go +++ b/relayer/processor/path_end_test.go @@ -1,244 +1,307 @@ -package processor_test +package processor import ( "testing" - "github.com/cosmos/relayer/v2/relayer/processor" "github.com/stretchr/testify/require" ) const ( - testChain0 = "test-chain-0" + testChainID0 = "test-chain-0" + testChainID1 = "test-chain-1" + testChannel0 = "test-channel-0" - testPort0 = "test-port-0" testChannel1 = "test-channel-1" - testPort1 = "test-port-1" + testChannel2 = "test-channel-2" + + testPort = "trasnfer" + testPort2 = "ica-XXX" ) -// empty allow list and block list should relay everything -func TestAllowAllChannels(t *testing.T) { - mockPathEnd := processor.PathEnd{} +func TestNoChannelFilter(t *testing.T) { + mockPathEnd := PathEnd{} - mockAllowedChannel := processor.ChainChannelKey{ - ChannelKey: processor.ChannelKey{ + mockChannel := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ ChannelID: testChannel0, - PortID: testPort0, }, } - require.True(t, mockPathEnd.ShouldRelayChannel(mockAllowedChannel), "does not allow channel to be relayed, even though allow list and block list are empty") - // test counterparty - mockAllowedChannel2 := processor.ChainChannelKey{ - ChannelKey: processor.ChannelKey{ - CounterpartyChannelID: testChannel1, - CounterpartyPortID: testPort1, + mockCounterpartyChannel := ChainChannelKey{ + CounterpartyChainID: testChainID0, + ChannelKey: ChannelKey{ + CounterpartyChannelID: testChannel0, }, } - require.True(t, mockPathEnd.ShouldRelayChannel(mockAllowedChannel2), "does not allow counterparty channel to be relayed, even though allow list and block list are empty") -} -func TestAllowAllPortsForChannel(t *testing.T) { - mockAllowList := []processor.ChainChannelKey{{ - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ChannelID: testChannel0}, - }} - mockPathEnd := processor.PathEnd{ - Rule: processor.RuleAllowList, - FilterList: mockAllowList, + mockPathEndRuntime := pathEndRuntime{ + info: mockPathEnd, + + channelStateCache: ChannelStateCache{ + mockChannel.ChannelKey: ChannelState{Open: true}, + mockCounterpartyChannel.ChannelKey: ChannelState{Open: true}, + }, + } + + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mockChannel), "does not allow channel to be relayed, even though there is no filter and channel is cached") + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mockCounterpartyChannel), "does not allow counterparty channel to be relayed, even though there is no filter and channel is cached") + + // channel or counterparty channel is not not included in channelStateCache, + // ie, this channel does not pertain to a both a src and dest chain in the path section of the config + // this channel is from a different client + mockChannel2 := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ + ChannelID: testChannel2, + }, } - mockAllowedChannel := processor.ChainChannelKey{ - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ + mockCounterpartyChanne2 := ChainChannelKey{ + CounterpartyChainID: testChainID0, + ChannelKey: ChannelKey{ + CounterpartyChannelID: testChannel2, + }, + } + + require.False(t, mockPathEndRuntime.ShouldRelayChannel(mockChannel2), "allowed channel to be relayed, even though it was outside of cached state; this channel does not pertain to a src or dest chain in the path secion of the config") + require.False(t, mockPathEndRuntime.ShouldRelayChannel(mockCounterpartyChanne2), "allowed channel to be relayed, even though it was outside of cached state; this channel does not pertain to a src or dest chain in the path secion of the config") + +} + +func TestAllowChannelFilter(t *testing.T) { + mockAllowedChannel := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ ChannelID: testChannel0, - PortID: testPort0, }, } - require.True(t, mockPathEnd.ShouldRelayChannel(mockAllowedChannel), "does not allow channel to be relayed, even though channelID is in allow list") - // test counterparty - mockAllowedChannel2 := processor.ChainChannelKey{ - CounterpartyChainID: testChain0, - ChannelKey: processor.ChannelKey{ + mockAllowedCounterPartyChannel := ChainChannelKey{ + CounterpartyChainID: testChainID0, + ChannelKey: ChannelKey{ CounterpartyChannelID: testChannel0, - CounterpartyPortID: testPort0, }, } - require.True(t, mockPathEnd.ShouldRelayChannel(mockAllowedChannel2), "does not allow counterparty channel to be relayed, even though channelID is in allow list") - mockBlockedChannel := processor.ChainChannelKey{ - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ - ChannelID: testChannel1, - PortID: testPort1, + // above two channels without port added to allow filter + // we should relay on any port for the channel + mockPathEnd := PathEnd{ + Rule: RuleAllowList, + FilterList: []ChainChannelKey{ + mockAllowedChannel, }, } - require.False(t, mockPathEnd.ShouldRelayChannel(mockBlockedChannel), "allows channel to be relayed, even though channelID is not in allow list") - mockBlockedChannel2 := processor.ChainChannelKey{ - CounterpartyChainID: testChain0, - ChannelKey: processor.ChannelKey{ - CounterpartyChannelID: testChannel1, - CounterpartyPortID: testPort1, + // same channel and counterparty channel as above except has designated port + // need to add these to the channelStateCache + // these should still be allowed to relay b/c the channels added to the allowlist + // didn't include a port + mockAllowedChannelWithSpecificPort := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ + ChannelID: testChannel0, + PortID: testPort, + }, + } + mockCounterPartyChannelWithSpecificPort := ChainChannelKey{ + CounterpartyChainID: testChainID0, + ChannelKey: ChannelKey{ + CounterpartyChannelID: testChannel0, + CounterpartyPortID: testPort, }, } - require.False(t, mockPathEnd.ShouldRelayChannel(mockBlockedChannel2), "allows channel to be relayed, even though channelID is not in allow list") -} -func TestAllowSpecificPortForChannel(t *testing.T) { - mockAllowList := []processor.ChainChannelKey{ - { - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ - ChannelID: testChannel0, - PortID: testPort0, - }, + // channel and counterparty channel not on allow list + mockNotAllowedChannel := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ + ChannelID: testChannel2, }, } - mockPathEnd := processor.PathEnd{ - Rule: processor.RuleAllowList, - FilterList: mockAllowList, + mockNotAllowedCounterpartyChannel := ChainChannelKey{ + CounterpartyChainID: testChainID0, + ChannelKey: ChannelKey{ + CounterpartyChannelID: testChannel2, + }, } - mockAllowedChannel := processor.ChainChannelKey{ - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ + mockPathEndRuntime := pathEndRuntime{info: mockPathEnd} + + // allowed channels, no port + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mockAllowedChannel), "does not allow channel to be relayed, even though channelID is in allow list") + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mockAllowedCounterPartyChannel), "does not allow counterparty channel to be relayed, even though channelID is in allow list") + + // allowed channels with port + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mockAllowedChannelWithSpecificPort), "does not allow channel with specified port to be relayed, even though there is no port in the allow filter") + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mockCounterPartyChannelWithSpecificPort), "does not allow counterparty channel with specified port to be relayed, even though there is no port in the allow filter") + + // channels not included in allow list + require.False(t, mockPathEndRuntime.ShouldRelayChannel(mockNotAllowedChannel), "allows channel to be relayed, even though channelID is not in allow list") + require.False(t, mockPathEndRuntime.ShouldRelayChannel(mockNotAllowedCounterpartyChannel), "allows channel to be relayed, even though channelID is not in allow list") +} + +func TestDenyChannelFilter(t *testing.T) { + mockBlocked := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ ChannelID: testChannel0, - PortID: testPort0, }, } - require.True(t, mockPathEnd.ShouldRelayChannel(mockAllowedChannel), "does not allow channel to be relayed, even though channelID is in allow list") - // test counterparty - mockAllowedChannel2 := processor.ChainChannelKey{ - CounterpartyChainID: testChain0, - ChannelKey: processor.ChannelKey{ + mockBlockedCounterparty := ChainChannelKey{ + CounterpartyChainID: testChainID0, + ChannelKey: ChannelKey{ CounterpartyChannelID: testChannel0, - CounterpartyPortID: testPort0, }, } - require.True(t, mockPathEnd.ShouldRelayChannel(mockAllowedChannel2), "does not allow counterparty channel to be relayed, even though channelID is in allow list") - mockBlockedChannel := processor.ChainChannelKey{ - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ - ChannelID: testChannel0, - PortID: testPort1, + // blocked channels added to deny list + mockPathEnd := PathEnd{ + Rule: RuleDenyList, + FilterList: []ChainChannelKey{ + mockBlocked, }, } - require.False(t, mockPathEnd.ShouldRelayChannel(mockBlockedChannel), "allows channel to be relayed, even though portID is not in allow list") - mockBlockedChannel2 := processor.ChainChannelKey{ - CounterpartyChainID: testChain0, - ChannelKey: processor.ChannelKey{ + // same channel and counterparty channel as above except has designated port + // need to add these to the channelStateCache + // these should not allowed to relay b/c the channels were added to the denylist + mockBlockedChannelWithSpecificPort := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ + ChannelID: testChannel0, + PortID: testPort, + }, + } + mockBlockedCounterPartyChannelWithSpecificPort := ChainChannelKey{ + CounterpartyChainID: testChainID0, + ChannelKey: ChannelKey{ CounterpartyChannelID: testChannel0, - CounterpartyPortID: testPort1, + CounterpartyPortID: testPort, }, } - require.False(t, mockPathEnd.ShouldRelayChannel(mockBlockedChannel2), "allows channel to be relayed, even though portID is not in allow list") -} -func TestBlockAllPortsForChannel(t *testing.T) { - mockBlockList := []processor.ChainChannelKey{ - { - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ - ChannelID: testChannel0, - }, + // channel and counterparty channel not added to deny list + mockNotBlocked := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ + ChannelID: testChannel2, }, } - mockPathEnd := processor.PathEnd{ - Rule: processor.RuleDenyList, - FilterList: mockBlockList, + + mockNotBlockedCounterparty := ChainChannelKey{ + CounterpartyChainID: testChainID0, + ChannelKey: ChannelKey{ + CounterpartyChannelID: testChannel2, + }, } - mockBlockedChannel := processor.ChainChannelKey{ - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ + mockPathEndRuntime := pathEndRuntime{info: mockPathEnd} + + // channels added to deny list + require.False(t, mockPathEndRuntime.ShouldRelayChannel(mockBlocked), "allows channel to be relayed, even though channelID is in deny list") + require.False(t, mockPathEndRuntime.ShouldRelayChannel(mockBlockedCounterparty), "allows channel to be relayed, even though channelID is in deny list") + + // channels added to deny list with specific port + require.False(t, mockPathEndRuntime.ShouldRelayChannel(mockBlockedChannelWithSpecificPort), "allows channel to be relayed, even though channel is in deny list") + require.False(t, mockPathEndRuntime.ShouldRelayChannel(mockBlockedCounterPartyChannelWithSpecificPort), "allows channel to be relayed, even though channel is in deny list") + + // channels not included in deny list + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mockNotBlocked), "does not allow channel to be relayed, even though channelID is not in deny list") + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mockNotBlockedCounterparty), "does not allow channel to be relayed, even though channelID is not in deny list") + +} + +func TestAllowChannelFilterWithSpecificPort(t *testing.T) { + mockAllowedChannelWithPort := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ ChannelID: testChannel0, - PortID: testPort0, + PortID: testPort, }, } - require.False(t, mockPathEnd.ShouldRelayChannel(mockBlockedChannel), "allows channel to be relayed, even though channelID is in block list") - // test counterparty - mockBlockedChannel2 := processor.ChainChannelKey{ - CounterpartyChainID: testChain0, - ChannelKey: processor.ChannelKey{ + mockAllowedCounterpartyWithPort := ChainChannelKey{ + CounterpartyChainID: testChainID0, + ChannelKey: ChannelKey{ CounterpartyChannelID: testChannel0, - CounterpartyPortID: testPort0, + CounterpartyPortID: testPort, }, } - require.False(t, mockPathEnd.ShouldRelayChannel(mockBlockedChannel2), "allows counterparty channel to be relayed, even though channelID is in block list") - mockAllowedChannel := processor.ChainChannelKey{ - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ - ChannelID: testChannel1, - PortID: testPort1, + mockPathEnd := PathEnd{ + Rule: RuleAllowList, + FilterList: []ChainChannelKey{ + mockAllowedChannelWithPort, }, } - require.True(t, mockPathEnd.ShouldRelayChannel(mockAllowedChannel), "does not allow channel to be relayed, even though channelID is not in block list") - mockAllowedChannel2 := processor.ChainChannelKey{ - CounterpartyChainID: testChain0, - ChannelKey: processor.ChannelKey{ - CounterpartyChannelID: testChannel1, - CounterpartyPortID: testPort1, - }, - } - require.True(t, mockPathEnd.ShouldRelayChannel(mockAllowedChannel2), "does not allow counterparty channel to be relayed, even though channelID is not in block list") -} + mockPathEndRuntime := pathEndRuntime{info: mockPathEnd} + + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mockAllowedChannelWithPort), "does not allow port to be relayed on, even though portID is in allow list") + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mockAllowedCounterpartyWithPort), "does not allow port to be relayed on, even though portID is in allow list") -func TestBlockSpecificPortForChannel(t *testing.T) { - mockBlockList := []processor.ChainChannelKey{ - { - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ - ChannelID: testChannel0, - PortID: testPort0, - }, + // same channel without designated port + mockAllowedChannelWithOutPort := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ + ChannelID: testChannel0, }, } - mockPathEnd := processor.PathEnd{ - Rule: processor.RuleDenyList, - FilterList: mockBlockList, - } - mockBlockedChannel := processor.ChainChannelKey{ - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ + require.False(t, mockPathEndRuntime.ShouldRelayChannel(mockAllowedChannelWithOutPort), "allows port to be relayed on, even though portID is not in allow list") +} + +func TestDenyChannelWithSpecificPort(t *testing.T) { + mockDeniedChannelWithPort := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ ChannelID: testChannel0, - PortID: testPort0, + PortID: testPort, }, } - require.False(t, mockPathEnd.ShouldRelayChannel(mockBlockedChannel), "allows channel to be relayed, even though channelID/portID is in block list") - // test counterparty - mockBlockedChannel2 := processor.ChainChannelKey{ - CounterpartyChainID: testChain0, - ChannelKey: processor.ChannelKey{ + mockCounterpartyDeniedChannelWithPort := ChainChannelKey{ + CounterpartyChainID: testChainID0, + ChannelKey: ChannelKey{ CounterpartyChannelID: testChannel0, - CounterpartyPortID: testPort0, + CounterpartyPortID: testPort, }, } - require.False(t, mockPathEnd.ShouldRelayChannel(mockBlockedChannel2), "allows counterparty channel to be relayed, even though channelID/portID is in block list") - mockAllowedChannel := processor.ChainChannelKey{ - ChainID: testChain0, - ChannelKey: processor.ChannelKey{ + // same path with different port + mockChannelWithAllowedPort := ChainChannelKey{ + ChainID: testChainID0, + ChannelKey: ChannelKey{ ChannelID: testChannel0, - PortID: testPort1, + PortID: testPort2, }, } - require.True(t, mockPathEnd.ShouldRelayChannel(mockAllowedChannel), "does not allow channel to be relayed, even though portID is not in block list") - mockAllowedChannel2 := processor.ChainChannelKey{ - CounterpartyChainID: testChain0, - ChannelKey: processor.ChannelKey{ + mocCounterpartykChannelWithAllowedPort := ChainChannelKey{ + CounterpartyChainID: testChainID0, + ChannelKey: ChannelKey{ CounterpartyChannelID: testChannel0, - CounterpartyPortID: testPort1, + CounterpartyPortID: testPort2, }, } - require.True(t, mockPathEnd.ShouldRelayChannel(mockAllowedChannel2), "does not allow counterparty channel to be relayed, even though portID is not in block list") + + mockPathEnd := PathEnd{ + Rule: RuleDenyList, + FilterList: []ChainChannelKey{ + mockDeniedChannelWithPort, + }, + } + + mockPathEndRuntime := pathEndRuntime{info: mockPathEnd} + + // channels and ports added to deny list + require.False(t, mockPathEndRuntime.ShouldRelayChannel(mockDeniedChannelWithPort), "allows port to be relayed on, even though portID is in deny list") + require.False(t, mockPathEndRuntime.ShouldRelayChannel(mockCounterpartyDeniedChannelWithPort), "allows port to be relayed on, even though portID is in deny list") + + // same channels with different ports + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mockChannelWithAllowedPort), "does not allow port to be relayed on, even though portID is not in deny list") + require.True(t, mockPathEndRuntime.ShouldRelayChannel(mocCounterpartykChannelWithAllowedPort), "does not allow port to be relayed on, even though portID is not in deny list") + } diff --git a/relayer/processor/path_processor.go b/relayer/processor/path_processor.go index 2d6a8fe9e..c6a284bf7 100644 --- a/relayer/processor/path_processor.go +++ b/relayer/processor/path_processor.go @@ -233,9 +233,9 @@ func (pp *PathProcessor) SetChainProviderIfApplicable(chainProvider provider.Cha func (pp *PathProcessor) IsRelayedChannel(chainID string, channelKey ChannelKey) bool { if pp.pathEnd1.info.ChainID == chainID { - return pp.pathEnd1.info.ShouldRelayChannel(ChainChannelKey{ChainID: chainID, CounterpartyChainID: pp.pathEnd2.info.ChainID, ChannelKey: channelKey}) + return pp.pathEnd1.ShouldRelayChannel(ChainChannelKey{ChainID: chainID, CounterpartyChainID: pp.pathEnd2.info.ChainID, ChannelKey: channelKey}) } else if pp.pathEnd2.info.ChainID == chainID { - return pp.pathEnd2.info.ShouldRelayChannel(ChainChannelKey{ChainID: chainID, CounterpartyChainID: pp.pathEnd1.info.ChainID, ChannelKey: channelKey}) + return pp.pathEnd2.ShouldRelayChannel(ChainChannelKey{ChainID: chainID, CounterpartyChainID: pp.pathEnd1.info.ChainID, ChannelKey: channelKey}) } return false } diff --git a/relayer/processor/path_processor_internal.go b/relayer/processor/path_processor_internal.go index 22152903b..1af9eceae 100644 --- a/relayer/processor/path_processor_internal.go +++ b/relayer/processor/path_processor_internal.go @@ -1409,7 +1409,7 @@ func (pp *PathProcessor) flush(ctx context.Context) error { if !cs.Open { continue } - if !pp.pathEnd1.info.ShouldRelayChannel(ChainChannelKey{ + if !pp.pathEnd1.ShouldRelayChannel(ChainChannelKey{ ChainID: pp.pathEnd1.info.ChainID, CounterpartyChainID: pp.pathEnd2.info.ChainID, ChannelKey: k, @@ -1422,7 +1422,7 @@ func (pp *PathProcessor) flush(ctx context.Context) error { if !cs.Open { continue } - if !pp.pathEnd2.info.ShouldRelayChannel(ChainChannelKey{ + if !pp.pathEnd2.ShouldRelayChannel(ChainChannelKey{ ChainID: pp.pathEnd2.info.ChainID, CounterpartyChainID: pp.pathEnd1.info.ChainID, ChannelKey: k, From 523748e91dd67145e4a1e4af6397e5814308cb28 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Tue, 19 Dec 2023 01:22:05 +0800 Subject: [PATCH 7/8] Problem: simulate gas is less than required with feegrants (#1364) * Problem: simulate gas is less than require with feegrants * Update CHANGELOG.md --- CHANGELOG.md | 1 + relayer/chains/cosmos/tx.go | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da7a3e166..bbf85c578 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ * [\#1324](https://github.com/cosmos/relayer/pull/1324) Add log-level in global config. * [\#1325](https://github.com/cosmos/relayer/pull/1325) Ignore only file not exist error when loadConfigFile. * [\#1326](https://github.com/cosmos/relayer/pull/1326) Avoid sending channel close confirm message after channel get closed successfully. +* [\#1364](https://github.com/cosmos/relayer/pull/1364) Include feegrant message when calculate gas. ## v0.9.3 diff --git a/relayer/chains/cosmos/tx.go b/relayer/chains/cosmos/tx.go index dae2ab801..9897b0543 100644 --- a/relayer/chains/cosmos/tx.go +++ b/relayer/chains/cosmos/tx.go @@ -621,16 +621,6 @@ func (cc *CosmosProvider) buildMessages( txf = txf.WithSequence(sequence) } - adjusted := gas - - if gas == 0 { - _, adjusted, err = cc.CalculateGas(ctx, txf, txSignerKey, cMsgs...) - - if err != nil { - return nil, 0, sdk.Coins{}, err - } - } - //Cannot feegrant your own TX if txSignerKey != feegranterKey && feegranterKey != "" { granterAddr, err := cc.GetKeyAddressForKey(feegranterKey) @@ -641,6 +631,16 @@ func (cc *CosmosProvider) buildMessages( txf = txf.WithFeeGranter(granterAddr) } + adjusted := gas + + if gas == 0 { + _, adjusted, err = cc.CalculateGas(ctx, txf, txSignerKey, cMsgs...) + + if err != nil { + return nil, 0, sdk.Coins{}, err + } + } + // Set the gas amount on the transaction factory txf = txf.WithGas(adjusted) From f52b3428b04c0803ce26f9592695b27896734ead Mon Sep 17 00:00:00 2001 From: Dan Kanefsky <56059752+boojamya@users.noreply.github.com> Date: Mon, 18 Dec 2023 09:33:19 -0800 Subject: [PATCH 8/8] Update troubleshoot doc (#1350) * troubleshoot doc improvment fix md fix md fix edit lines fix lines fix lines capitalize * feedback --- docs/troubleshooting.md | 74 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 65 insertions(+), 9 deletions(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 75f46195e..10c35c739 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -1,7 +1,18 @@ # Troubleshooting +- [Generic Troubleshooting](#generic-troubleshoot) +- [Inspect Go Runtime Debug Data](#inspect-go-runtime-debug-data) +- [Specific Errors](#specific-errors) -**Ensure `rly` package is properly installed** +
+ +--- + +
+ +## Generic Troubleshooting + +### **Ensure `rly` package is properly installed** Run: ```shell @@ -10,9 +21,8 @@ If this returns an error, make sure you have Go installed and your Go environment is setup. Then redo [Step 1](#basic-usage---relaying-packets-across-chains). ---- -## **Verify valid `chain`, `client`, and `connection`** +### **Verify valid `keys`, `balance`, and `path`** ```shell $ rly chains list @@ -23,7 +33,7 @@ Output should show all checkboxes: -> type(cosmos) key(✔) bal(✔) path(✔) ``` -## **Verify valid `chain`, `client`, and `connection`** +### **Verify valid `chain`, `client`, and `connection`** ```shell $ rly paths list @@ -33,7 +43,7 @@ If output: ```shell -> chns(✘) clnts(✘) conn(✘) ``` -Verify that you have a healthy RPC address. +Verify that you have a healthy RPC address. This means the relayer was unable to query the latest height of one or both the chains. If: ```shell @@ -41,9 +51,19 @@ If: ``` Your client is the culprit here. Your client may be invalid or expired. +### **Ensure Client is not `expired`** + +```shell +$ rly query clients-expiration +``` + +
+ --- -## **Inspect Go runtime debug data** +
+ +## Inspect Go runtime debug data If you started `rly` with the default `--debug-addr` argument, you can open `http://localhost:7597` in your browser to explore details from the Go runtime. @@ -51,10 +71,18 @@ you can open `http://localhost:7597` in your browser to explore details from the If you need active assistance from the Relayer development team regarding an unresponsive Relayer instance, it will be helpful to provide the output from `http://localhost:7597/debug/pprof/goroutine?debug=2` at a minimum. +
+ --- -**Error querying blockdata** +
+ +## Specific Errors + +
+error querying block data +
The relayer looks back in time at historical transactions and needs to have an index of them. Specifically check `~/./config/config.toml` has the following fields set: @@ -62,10 +90,14 @@ Specifically check `~/./config/config.toml` has the following fie indexer = "kv" index_all_tags = true ``` ---- -**Error building or broadcasting transaction** +
+ +
+error building or broadcasting transaction + +
When preparing a transaction for relaying, the amount of gas that the transaction will consume is unknown. To compute how much gas the transaction will need, the transaction is prepared with 0 gas and delivered as a `/cosmos.tx.v1beta1.Service/Simulate` query to the RPC endpoint. Recently chains have been creating AnteHandlers in which 0 gas triggers an error case: ``` @@ -91,4 +123,28 @@ A workaround is available in which the `min-gas-amount` may be set in the chain' output-format: json sign-mode: direct ``` + +
+ + +
+invalid header: new header has a time from the future + +
+This is most likely an rpc issue. +The latest block time on the source and destination chain have likely drifted apart. + +You can confirm by this by checking the latest block time on each chain: + +```shell +grpcurl -plaintext cosmos.base.tendermint.v1beta1.Service.GetLatestBlock | grep '"time":' +``` + +The solution here is to either use a different RPC endpoint OR if you are in control of the RPC, try restarting the node. + +
+ +
+
+ [<-- Create Path Across Chains](create-path-across-chain.md) - [Features -->](./features.md) \ No newline at end of file