From ea7ac0146f2fdec766a226e9f7338a3e2b1cb013 Mon Sep 17 00:00:00 2001 From: Christian Lohr Date: Wed, 7 Aug 2024 22:20:19 +0200 Subject: [PATCH] chore: update gas estimate query response --- .../palomachain/paloma/consensus/query.proto | 2 +- ...uery_queued_messages_for_gas_estimation.go | 10 +- x/consensus/types/query.pb.go | 296 +++++++++++++----- 3 files changed, 218 insertions(+), 90 deletions(-) diff --git a/proto/palomachain/paloma/consensus/query.proto b/proto/palomachain/paloma/consensus/query.proto index f023bd39..46c2210c 100644 --- a/proto/palomachain/paloma/consensus/query.proto +++ b/proto/palomachain/paloma/consensus/query.proto @@ -160,5 +160,5 @@ message QueryQueuedMessagesForGasEstimationRequest { } message QueryQueuedMessagesForGasEstimationResponse { - repeated MessageToSign messagesToEstimate = 1 [ (gogoproto.nullable) = false ]; + repeated MessageWithSignatures messagesToEstimate = 1 [ (gogoproto.nullable) = false ]; } diff --git a/x/consensus/keeper/query_queued_messages_for_gas_estimation.go b/x/consensus/keeper/query_queued_messages_for_gas_estimation.go index 1ba3622b..4d815ac3 100644 --- a/x/consensus/keeper/query_queued_messages_for_gas_estimation.go +++ b/x/consensus/keeper/query_queued_messages_for_gas_estimation.go @@ -21,9 +21,15 @@ func (k Keeper) QueuedMessagesForGasEstimation(goCtx context.Context, req *types return nil, fmt.Errorf("failed to query messages for gas estimation: %w", err) } - var res []types.MessageToSign + var res []types.MessageWithSignatures for _, msg := range msgs { - res = append(res, *queuedMessageToMessageToSign(k.cdc, msg)) + if msg.GetRequireSignatures() { + msgWithSignatures, err := k.queuedMessageToMessageWithSignatures(msg) + if err != nil { + return nil, fmt.Errorf("failed to convert queued message to message with signatures: %w", err) + } + res = append(res, msgWithSignatures) + } } return &types.QueryQueuedMessagesForGasEstimationResponse{ diff --git a/x/consensus/types/query.pb.go b/x/consensus/types/query.pb.go index 8beaff7d..e318af83 100644 --- a/x/consensus/types/query.pb.go +++ b/x/consensus/types/query.pb.go @@ -6,6 +6,10 @@ package types import ( context "context" fmt "fmt" + io "io" + math "math" + math_bits "math/bits" + types "github.com/cosmos/cosmos-sdk/codec/types" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" @@ -15,15 +19,14 @@ import ( 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 +var ( + _ = proto.Marshal + _ = fmt.Errorf + _ = 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. @@ -32,8 +35,7 @@ var _ = math.Inf const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // QueryParamsRequest is request type for the Query/Params RPC method. -type QueryParamsRequest struct { -} +type QueryParamsRequest struct{} func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } @@ -41,9 +43,11 @@ func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{0} } + func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) @@ -56,12 +60,15 @@ func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } + func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsRequest.Merge(m, src) } + func (m *QueryParamsRequest) XXX_Size() int { return m.Size() } + func (m *QueryParamsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) } @@ -80,9 +87,11 @@ func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{1} } + func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) @@ -95,12 +104,15 @@ func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } + func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsResponse.Merge(m, src) } + func (m *QueryParamsResponse) XXX_Size() int { return m.Size() } + func (m *QueryParamsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) } @@ -125,9 +137,11 @@ func (*QueryQueuedMessagesForSigningRequest) ProtoMessage() {} func (*QueryQueuedMessagesForSigningRequest) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{2} } + func (m *QueryQueuedMessagesForSigningRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryQueuedMessagesForSigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryQueuedMessagesForSigningRequest.Marshal(b, m, deterministic) @@ -140,12 +154,15 @@ func (m *QueryQueuedMessagesForSigningRequest) XXX_Marshal(b []byte, determinist return b[:n], nil } } + func (m *QueryQueuedMessagesForSigningRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryQueuedMessagesForSigningRequest.Merge(m, src) } + func (m *QueryQueuedMessagesForSigningRequest) XXX_Size() int { return m.Size() } + func (m *QueryQueuedMessagesForSigningRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryQueuedMessagesForSigningRequest.DiscardUnknown(m) } @@ -176,9 +193,11 @@ func (*QueryQueuedMessagesForSigningResponse) ProtoMessage() {} func (*QueryQueuedMessagesForSigningResponse) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{3} } + func (m *QueryQueuedMessagesForSigningResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryQueuedMessagesForSigningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryQueuedMessagesForSigningResponse.Marshal(b, m, deterministic) @@ -191,12 +210,15 @@ func (m *QueryQueuedMessagesForSigningResponse) XXX_Marshal(b []byte, determinis return b[:n], nil } } + func (m *QueryQueuedMessagesForSigningResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryQueuedMessagesForSigningResponse.Merge(m, src) } + func (m *QueryQueuedMessagesForSigningResponse) XXX_Size() int { return m.Size() } + func (m *QueryQueuedMessagesForSigningResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryQueuedMessagesForSigningResponse.DiscardUnknown(m) } @@ -223,9 +245,11 @@ func (*MessageToSign) ProtoMessage() {} func (*MessageToSign) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{4} } + func (m *MessageToSign) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *MessageToSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MessageToSign.Marshal(b, m, deterministic) @@ -238,12 +262,15 @@ func (m *MessageToSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } + func (m *MessageToSign) XXX_Merge(src proto.Message) { xxx_messageInfo_MessageToSign.Merge(m, src) } + func (m *MessageToSign) XXX_Size() int { return m.Size() } + func (m *MessageToSign) XXX_DiscardUnknown() { xxx_messageInfo_MessageToSign.DiscardUnknown(m) } @@ -292,9 +319,11 @@ func (*ValidatorSignature) ProtoMessage() {} func (*ValidatorSignature) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{5} } + func (m *ValidatorSignature) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *ValidatorSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ValidatorSignature.Marshal(b, m, deterministic) @@ -307,12 +336,15 @@ func (m *ValidatorSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } + func (m *ValidatorSignature) XXX_Merge(src proto.Message) { xxx_messageInfo_ValidatorSignature.Merge(m, src) } + func (m *ValidatorSignature) XXX_Size() int { return m.Size() } + func (m *ValidatorSignature) XXX_DiscardUnknown() { xxx_messageInfo_ValidatorSignature.DiscardUnknown(m) } @@ -372,9 +404,11 @@ func (*MessageWithSignatures) ProtoMessage() {} func (*MessageWithSignatures) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{6} } + func (m *MessageWithSignatures) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *MessageWithSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MessageWithSignatures.Marshal(b, m, deterministic) @@ -387,12 +421,15 @@ func (m *MessageWithSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } + func (m *MessageWithSignatures) XXX_Merge(src proto.Message) { xxx_messageInfo_MessageWithSignatures.Merge(m, src) } + func (m *MessageWithSignatures) XXX_Size() int { return m.Size() } + func (m *MessageWithSignatures) XXX_DiscardUnknown() { xxx_messageInfo_MessageWithSignatures.DiscardUnknown(m) } @@ -473,9 +510,11 @@ func (*QueryMessageByIDRequest) ProtoMessage() {} func (*QueryMessageByIDRequest) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{7} } + func (m *QueryMessageByIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryMessageByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryMessageByIDRequest.Marshal(b, m, deterministic) @@ -488,12 +527,15 @@ func (m *QueryMessageByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } + func (m *QueryMessageByIDRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryMessageByIDRequest.Merge(m, src) } + func (m *QueryMessageByIDRequest) XXX_Size() int { return m.Size() } + func (m *QueryMessageByIDRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryMessageByIDRequest.DiscardUnknown(m) } @@ -525,9 +567,11 @@ func (*QueryMessagesInQueueRequest) ProtoMessage() {} func (*QueryMessagesInQueueRequest) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{8} } + func (m *QueryMessagesInQueueRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryMessagesInQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryMessagesInQueueRequest.Marshal(b, m, deterministic) @@ -540,12 +584,15 @@ func (m *QueryMessagesInQueueRequest) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } + func (m *QueryMessagesInQueueRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryMessagesInQueueRequest.Merge(m, src) } + func (m *QueryMessagesInQueueRequest) XXX_Size() int { return m.Size() } + func (m *QueryMessagesInQueueRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryMessagesInQueueRequest.DiscardUnknown(m) } @@ -576,9 +623,11 @@ func (*QueryMessagesInQueueResponse) ProtoMessage() {} func (*QueryMessagesInQueueResponse) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{9} } + func (m *QueryMessagesInQueueResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryMessagesInQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryMessagesInQueueResponse.Marshal(b, m, deterministic) @@ -591,12 +640,15 @@ func (m *QueryMessagesInQueueResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } + func (m *QueryMessagesInQueueResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryMessagesInQueueResponse.Merge(m, src) } + func (m *QueryMessagesInQueueResponse) XXX_Size() int { return m.Size() } + func (m *QueryMessagesInQueueResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryMessagesInQueueResponse.DiscardUnknown(m) } @@ -621,9 +673,11 @@ func (*QueryQueuedMessagesForRelayingRequest) ProtoMessage() {} func (*QueryQueuedMessagesForRelayingRequest) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{10} } + func (m *QueryQueuedMessagesForRelayingRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryQueuedMessagesForRelayingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryQueuedMessagesForRelayingRequest.Marshal(b, m, deterministic) @@ -636,12 +690,15 @@ func (m *QueryQueuedMessagesForRelayingRequest) XXX_Marshal(b []byte, determinis return b[:n], nil } } + func (m *QueryQueuedMessagesForRelayingRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryQueuedMessagesForRelayingRequest.Merge(m, src) } + func (m *QueryQueuedMessagesForRelayingRequest) XXX_Size() int { return m.Size() } + func (m *QueryQueuedMessagesForRelayingRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryQueuedMessagesForRelayingRequest.DiscardUnknown(m) } @@ -674,9 +731,11 @@ func (*QueryQueuedMessagesForRelayingResponse) ProtoMessage() {} func (*QueryQueuedMessagesForRelayingResponse) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{11} } + func (m *QueryQueuedMessagesForRelayingResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryQueuedMessagesForRelayingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryQueuedMessagesForRelayingResponse.Marshal(b, m, deterministic) @@ -689,12 +748,15 @@ func (m *QueryQueuedMessagesForRelayingResponse) XXX_Marshal(b []byte, determini return b[:n], nil } } + func (m *QueryQueuedMessagesForRelayingResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryQueuedMessagesForRelayingResponse.Merge(m, src) } + func (m *QueryQueuedMessagesForRelayingResponse) XXX_Size() int { return m.Size() } + func (m *QueryQueuedMessagesForRelayingResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryQueuedMessagesForRelayingResponse.DiscardUnknown(m) } @@ -721,9 +783,11 @@ func (*QueryQueuedMessagesForAttestingRequest) ProtoMessage() {} func (*QueryQueuedMessagesForAttestingRequest) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{12} } + func (m *QueryQueuedMessagesForAttestingRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryQueuedMessagesForAttestingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryQueuedMessagesForAttestingRequest.Marshal(b, m, deterministic) @@ -736,12 +800,15 @@ func (m *QueryQueuedMessagesForAttestingRequest) XXX_Marshal(b []byte, determini return b[:n], nil } } + func (m *QueryQueuedMessagesForAttestingRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryQueuedMessagesForAttestingRequest.Merge(m, src) } + func (m *QueryQueuedMessagesForAttestingRequest) XXX_Size() int { return m.Size() } + func (m *QueryQueuedMessagesForAttestingRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryQueuedMessagesForAttestingRequest.DiscardUnknown(m) } @@ -774,9 +841,11 @@ func (*QueryQueuedMessagesForAttestingResponse) ProtoMessage() {} func (*QueryQueuedMessagesForAttestingResponse) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{13} } + func (m *QueryQueuedMessagesForAttestingResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryQueuedMessagesForAttestingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryQueuedMessagesForAttestingResponse.Marshal(b, m, deterministic) @@ -789,12 +858,15 @@ func (m *QueryQueuedMessagesForAttestingResponse) XXX_Marshal(b []byte, determin return b[:n], nil } } + func (m *QueryQueuedMessagesForAttestingResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryQueuedMessagesForAttestingResponse.Merge(m, src) } + func (m *QueryQueuedMessagesForAttestingResponse) XXX_Size() int { return m.Size() } + func (m *QueryQueuedMessagesForAttestingResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryQueuedMessagesForAttestingResponse.DiscardUnknown(m) } @@ -808,8 +880,7 @@ func (m *QueryQueuedMessagesForAttestingResponse) GetMessages() []MessageWithSig return nil } -type QueryGetAllQueueNamesRequest struct { -} +type QueryGetAllQueueNamesRequest struct{} func (m *QueryGetAllQueueNamesRequest) Reset() { *m = QueryGetAllQueueNamesRequest{} } func (m *QueryGetAllQueueNamesRequest) String() string { return proto.CompactTextString(m) } @@ -817,9 +888,11 @@ func (*QueryGetAllQueueNamesRequest) ProtoMessage() {} func (*QueryGetAllQueueNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{14} } + func (m *QueryGetAllQueueNamesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryGetAllQueueNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryGetAllQueueNamesRequest.Marshal(b, m, deterministic) @@ -832,12 +905,15 @@ func (m *QueryGetAllQueueNamesRequest) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } + func (m *QueryGetAllQueueNamesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryGetAllQueueNamesRequest.Merge(m, src) } + func (m *QueryGetAllQueueNamesRequest) XXX_Size() int { return m.Size() } + func (m *QueryGetAllQueueNamesRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryGetAllQueueNamesRequest.DiscardUnknown(m) } @@ -854,9 +930,11 @@ func (*QueryGetAllQueueNamesResponse) ProtoMessage() {} func (*QueryGetAllQueueNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{15} } + func (m *QueryGetAllQueueNamesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryGetAllQueueNamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryGetAllQueueNamesResponse.Marshal(b, m, deterministic) @@ -869,12 +947,15 @@ func (m *QueryGetAllQueueNamesResponse) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } + func (m *QueryGetAllQueueNamesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryGetAllQueueNamesResponse.Merge(m, src) } + func (m *QueryGetAllQueueNamesResponse) XXX_Size() int { return m.Size() } + func (m *QueryGetAllQueueNamesResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryGetAllQueueNamesResponse.DiscardUnknown(m) } @@ -896,6 +977,7 @@ type QueryQueuedMessagesForGasEstimationRequest struct { func (m *QueryQueuedMessagesForGasEstimationRequest) Reset() { *m = QueryQueuedMessagesForGasEstimationRequest{} } + func (m *QueryQueuedMessagesForGasEstimationRequest) String() string { return proto.CompactTextString(m) } @@ -903,9 +985,11 @@ func (*QueryQueuedMessagesForGasEstimationRequest) ProtoMessage() {} func (*QueryQueuedMessagesForGasEstimationRequest) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{16} } + func (m *QueryQueuedMessagesForGasEstimationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryQueuedMessagesForGasEstimationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryQueuedMessagesForGasEstimationRequest.Marshal(b, m, deterministic) @@ -918,12 +1002,15 @@ func (m *QueryQueuedMessagesForGasEstimationRequest) XXX_Marshal(b []byte, deter return b[:n], nil } } + func (m *QueryQueuedMessagesForGasEstimationRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryQueuedMessagesForGasEstimationRequest.Merge(m, src) } + func (m *QueryQueuedMessagesForGasEstimationRequest) XXX_Size() int { return m.Size() } + func (m *QueryQueuedMessagesForGasEstimationRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryQueuedMessagesForGasEstimationRequest.DiscardUnknown(m) } @@ -945,12 +1032,13 @@ func (m *QueryQueuedMessagesForGasEstimationRequest) GetValAddress() github_com_ } type QueryQueuedMessagesForGasEstimationResponse struct { - MessagesToEstimate []MessageToSign `protobuf:"bytes,1,rep,name=messagesToEstimate,proto3" json:"messagesToEstimate"` + MessagesToEstimate []MessageWithSignatures `protobuf:"bytes,1,rep,name=messagesToEstimate,proto3" json:"messagesToEstimate"` } func (m *QueryQueuedMessagesForGasEstimationResponse) Reset() { *m = QueryQueuedMessagesForGasEstimationResponse{} } + func (m *QueryQueuedMessagesForGasEstimationResponse) String() string { return proto.CompactTextString(m) } @@ -958,9 +1046,11 @@ func (*QueryQueuedMessagesForGasEstimationResponse) ProtoMessage() {} func (*QueryQueuedMessagesForGasEstimationResponse) Descriptor() ([]byte, []int) { return fileDescriptor_186b66ae011355e3, []int{17} } + func (m *QueryQueuedMessagesForGasEstimationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } + func (m *QueryQueuedMessagesForGasEstimationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryQueuedMessagesForGasEstimationResponse.Marshal(b, m, deterministic) @@ -973,19 +1063,22 @@ func (m *QueryQueuedMessagesForGasEstimationResponse) XXX_Marshal(b []byte, dete return b[:n], nil } } + func (m *QueryQueuedMessagesForGasEstimationResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryQueuedMessagesForGasEstimationResponse.Merge(m, src) } + func (m *QueryQueuedMessagesForGasEstimationResponse) XXX_Size() int { return m.Size() } + func (m *QueryQueuedMessagesForGasEstimationResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryQueuedMessagesForGasEstimationResponse.DiscardUnknown(m) } var xxx_messageInfo_QueryQueuedMessagesForGasEstimationResponse proto.InternalMessageInfo -func (m *QueryQueuedMessagesForGasEstimationResponse) GetMessagesToEstimate() []MessageToSign { +func (m *QueryQueuedMessagesForGasEstimationResponse) GetMessagesToEstimate() []MessageWithSignatures { if m != nil { return m.MessagesToEstimate } @@ -1018,85 +1111,87 @@ func init() { } var fileDescriptor_186b66ae011355e3 = []byte{ - // 1167 bytes of a gzipped FileDescriptorProto + // 1166 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0x1b, 0x45, 0x14, 0xce, 0x38, 0x3f, 0x48, 0x5e, 0x1a, 0xa8, 0x86, 0x50, 0xdc, 0x25, 0xb8, 0xd1, 0x2a, 0x84, 0xd0, 0x52, 0x2f, 0x49, 0x04, 0x28, 0x0d, 0x08, 0xec, 0x26, 0xa4, 0x11, 0x14, 0x9a, 0x25, 0x14, 0xc1, 0xc5, 0x9a, 0x78, 0xa7, 0x9b, 0x55, 0xd7, 0x3b, 0xce, 0xce, 0x6c, 0x14, 0x53, 0x45, 0x45, - 0xfc, 0x05, 0x95, 0x38, 0x72, 0x00, 0x0e, 0xfc, 0x19, 0x5c, 0x38, 0xa0, 0x4a, 0x5c, 0x8a, 0xb8, - 0x70, 0xaa, 0x50, 0x82, 0x38, 0x70, 0xe0, 0x0e, 0x97, 0xa2, 0x9d, 0x9d, 0xdd, 0xd8, 0x8e, 0x7f, - 0xac, 0x9d, 0x46, 0x70, 0xf2, 0xee, 0xcc, 0xbc, 0x6f, 0xbf, 0xef, 0x7b, 0x33, 0x6f, 0x9e, 0x61, - 0xae, 0x4a, 0x5c, 0x56, 0x21, 0xe5, 0x6d, 0xe2, 0x78, 0x46, 0xf4, 0x6c, 0x94, 0x99, 0xc7, 0xa9, - 0xc7, 0x03, 0x6e, 0xec, 0x04, 0xd4, 0xaf, 0xe5, 0xab, 0x3e, 0x13, 0x0c,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e, 0x82, 0x1b, 0x77, + 0x1a, 0x6e, 0x8c, 0x7d, 0xfc, 0x3d, 0x82, 0xf1, 0xba, 0xa6, 0x15, 0xbf, 0x9c, 0x9e, 0x54, 0x5d, + 0x93, 0xab, 0xf5, 0x53, 0xda, 0xd3, 0x1e, 0xc3, 0x26, 0xca, 0xb1, 0x28, 0xe3, 0x8e, 0x63, 0xed, + 0xe3, 0x1f, 0x11, 0x9c, 0x6d, 0xbe, 0x7c, 0x71, 0x1a, 0x67, 0xdb, 0xdc, 0xe8, 0xda, 0x72, 0x5f, + 0xb1, 0x2a, 0x2d, 0x4b, 0x52, 0xd1, 0x22, 0x9e, 0xef, 0xac, 0xc8, 0xa6, 0xa2, 0x44, 0x5c, 0x37, + 0x4a, 0x49, 0xc9, 0x0b, 0x21, 0x8a, 0xeb, 0xf7, 0x0e, 0x72, 0xe8, 0xfe, 0x41, 0x0e, 0xfd, 0x76, + 0x90, 0x43, 0x9f, 0x1f, 0xe6, 0x06, 0xee, 0x1f, 0xe6, 0x06, 0x7e, 0x3d, 0xcc, 0x0d, 0x7c, 0x6c, + 0xd4, 0xdd, 0xde, 0x2d, 0x60, 0xf7, 0xea, 0x80, 0xe5, 0x55, 0xbe, 0x35, 0x22, 0xff, 0xb9, 0x2d, + 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x56, 0xd9, 0x5a, 0x95, 0x19, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn +var ( + _ context.Context + _ 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. @@ -1225,30 +1320,36 @@ type QueryServer interface { } // UnimplementedQueryServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServer struct { -} +type UnimplementedQueryServer struct{} func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } + func (*UnimplementedQueryServer) QueuedMessagesForSigning(ctx context.Context, req *QueryQueuedMessagesForSigningRequest) (*QueryQueuedMessagesForSigningResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueuedMessagesForSigning not implemented") } + func (*UnimplementedQueryServer) QueuedMessagesForRelaying(ctx context.Context, req *QueryQueuedMessagesForRelayingRequest) (*QueryQueuedMessagesForRelayingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueuedMessagesForRelaying not implemented") } + func (*UnimplementedQueryServer) QueuedMessagesForGasEstimation(ctx context.Context, req *QueryQueuedMessagesForGasEstimationRequest) (*QueryQueuedMessagesForGasEstimationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueuedMessagesForGasEstimation not implemented") } + func (*UnimplementedQueryServer) QueuedMessagesForAttesting(ctx context.Context, req *QueryQueuedMessagesForAttestingRequest) (*QueryQueuedMessagesForAttestingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueuedMessagesForAttesting not implemented") } + func (*UnimplementedQueryServer) MessagesInQueue(ctx context.Context, req *QueryMessagesInQueueRequest) (*QueryMessagesInQueueResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MessagesInQueue not implemented") } + func (*UnimplementedQueryServer) MessageByID(ctx context.Context, req *QueryMessageByIDRequest) (*MessageWithSignatures, error) { return nil, status.Errorf(codes.Unimplemented, "method MessageByID not implemented") } + func (*UnimplementedQueryServer) GetAllQueueNames(ctx context.Context, req *QueryGetAllQueueNamesRequest) (*QueryGetAllQueueNamesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAllQueueNames not implemented") } @@ -2182,6 +2283,7 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } + func (m *QueryParamsRequest) Size() (n int) { if m == nil { return 0 @@ -2505,9 +2607,11 @@ func (m *QueryQueuedMessagesForGasEstimationResponse) Size() (n int) { func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } + func sozQuery(x uint64) (n int) { return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } + func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2558,6 +2662,7 @@ func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2641,6 +2746,7 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryQueuedMessagesForSigningRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2757,6 +2863,7 @@ func (m *QueryQueuedMessagesForSigningRequest) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryQueuedMessagesForSigningResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2841,6 +2948,7 @@ func (m *QueryQueuedMessagesForSigningResponse) Unmarshal(dAtA []byte) error { } return nil } + func (m *MessageToSign) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3014,6 +3122,7 @@ func (m *MessageToSign) Unmarshal(dAtA []byte) error { } return nil } + func (m *ValidatorSignature) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3232,6 +3341,7 @@ func (m *ValidatorSignature) Unmarshal(dAtA []byte) error { } return nil } + func (m *MessageWithSignatures) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3560,6 +3670,7 @@ func (m *MessageWithSignatures) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryMessageByIDRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3661,6 +3772,7 @@ func (m *QueryMessageByIDRequest) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryMessagesInQueueRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3777,6 +3889,7 @@ func (m *QueryMessagesInQueueRequest) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryMessagesInQueueResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3861,6 +3974,7 @@ func (m *QueryMessagesInQueueResponse) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryQueuedMessagesForRelayingRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3977,6 +4091,7 @@ func (m *QueryQueuedMessagesForRelayingRequest) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryQueuedMessagesForRelayingResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4061,6 +4176,7 @@ func (m *QueryQueuedMessagesForRelayingResponse) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryQueuedMessagesForAttestingRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4177,6 +4293,7 @@ func (m *QueryQueuedMessagesForAttestingRequest) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryQueuedMessagesForAttestingResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4261,6 +4378,7 @@ func (m *QueryQueuedMessagesForAttestingResponse) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryGetAllQueueNamesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4311,6 +4429,7 @@ func (m *QueryGetAllQueueNamesRequest) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryGetAllQueueNamesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4393,6 +4512,7 @@ func (m *QueryGetAllQueueNamesResponse) Unmarshal(dAtA []byte) error { } return nil } + func (m *QueryQueuedMessagesForGasEstimationRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4509,6 +4629,7 @@ func (m *QueryQueuedMessagesForGasEstimationRequest) Unmarshal(dAtA []byte) erro } return nil } + func (m *QueryQueuedMessagesForGasEstimationResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4567,7 +4688,7 @@ func (m *QueryQueuedMessagesForGasEstimationResponse) Unmarshal(dAtA []byte) err if postIndex > l { return io.ErrUnexpectedEOF } - m.MessagesToEstimate = append(m.MessagesToEstimate, MessageToSign{}) + m.MessagesToEstimate = append(m.MessagesToEstimate, MessageWithSignatures{}) if err := m.MessagesToEstimate[len(m.MessagesToEstimate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -4593,6 +4714,7 @@ func (m *QueryQueuedMessagesForGasEstimationResponse) Unmarshal(dAtA []byte) err } return nil } + func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0