diff --git a/module/proto/mhub2/v1/query.proto b/module/proto/mhub2/v1/query.proto index db8c1a7..d81e2b6 100644 --- a/module/proto/mhub2/v1/query.proto +++ b/module/proto/mhub2/v1/query.proto @@ -26,6 +26,9 @@ service Query { rpc LatestSignerSetTx(LatestSignerSetTxRequest) returns (SignerSetTxResponse) { option (google.api.http).get = "/mhub2/v1/signer_set/latest/{chain_id}"; } + rpc LastObservedSignerSetTx(LastObservedSignerSetTxRequest) returns (SignerSetTxResponse) { + option (google.api.http).get = "/mhub2/v1/signer_set/last_observed/{chain_id}"; + } rpc BatchTx(BatchTxRequest) returns (BatchTxResponse) { option (google.api.http).get = "/mhub2/v1/batch_txs/{chain_id}/{external_token_id}/{batch_nonce}"; } @@ -150,6 +153,7 @@ message ParamsResponse { Params params = 1 [ (gogoproto.nullable) = false ]; } // rpc SignerSetTx message SignerSetTxRequest { uint64 signer_set_nonce = 1; string chain_id = 2; } message LatestSignerSetTxRequest { string chain_id = 1; } +message LastObservedSignerSetTxRequest { string chain_id = 1; } message SignerSetTxResponse { SignerSetTx signer_set = 1; } // rpc BatchTx diff --git a/module/swagger/mhub2/v1/query.swagger.json b/module/swagger/mhub2/v1/query.swagger.json index ab540b4..3a3d9e4 100644 --- a/module/swagger/mhub2/v1/query.swagger.json +++ b/module/swagger/mhub2/v1/query.swagger.json @@ -877,6 +877,36 @@ ] } }, + "/mhub2/v1/signer_set/last_observed/{chain_id}": { + "get": { + "operationId": "Query_LastObservedSignerSetTx", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1SignerSetTxResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/runtimeError" + } + } + }, + "parameters": [ + { + "name": "chain_id", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "Query" + ] + } + }, "/mhub2/v1/signer_set/latest/{chain_id}": { "get": { "operationId": "Query_LatestSignerSetTx", diff --git a/module/x/mhub2/keeper/grpc_query.go b/module/x/mhub2/keeper/grpc_query.go index 4af6e38..8233082 100644 --- a/module/x/mhub2/keeper/grpc_query.go +++ b/module/x/mhub2/keeper/grpc_query.go @@ -19,6 +19,12 @@ import ( var _ types.QueryServer = Keeper{} +func (k Keeper) LastObservedSignerSetTx(c context.Context, request *types.LastObservedSignerSetTxRequest) (*types.SignerSetTxResponse, error) { + return &types.SignerSetTxResponse{ + SignerSet: k.GetLastObservedSignerSetTx(sdk.UnwrapSDKContext(c), types.ChainID(request.ChainId)), + }, nil +} + func (k Keeper) DiscountForHolder(c context.Context, request *types.DiscountForHolderRequest) (*types.DiscountForHolderResponse, error) { return &types.DiscountForHolderResponse{ Discount: sdk.NewDec(1).Sub(k.GetCommissionForHolder(sdk.UnwrapSDKContext(c), []string{request.Address}, sdk.NewDec(1))), diff --git a/module/x/mhub2/types/query.pb.go b/module/x/mhub2/types/query.pb.go index 09705f6..5130f5e 100644 --- a/module/x/mhub2/types/query.pb.go +++ b/module/x/mhub2/types/query.pb.go @@ -459,6 +459,50 @@ func (m *LatestSignerSetTxRequest) GetChainId() string { return "" } +type LastObservedSignerSetTxRequest struct { + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` +} + +func (m *LastObservedSignerSetTxRequest) Reset() { *m = LastObservedSignerSetTxRequest{} } +func (m *LastObservedSignerSetTxRequest) String() string { return proto.CompactTextString(m) } +func (*LastObservedSignerSetTxRequest) ProtoMessage() {} +func (*LastObservedSignerSetTxRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_503a4f22a1222790, []int{10} +} +func (m *LastObservedSignerSetTxRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LastObservedSignerSetTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LastObservedSignerSetTxRequest.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 *LastObservedSignerSetTxRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LastObservedSignerSetTxRequest.Merge(m, src) +} +func (m *LastObservedSignerSetTxRequest) XXX_Size() int { + return m.Size() +} +func (m *LastObservedSignerSetTxRequest) XXX_DiscardUnknown() { + xxx_messageInfo_LastObservedSignerSetTxRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_LastObservedSignerSetTxRequest proto.InternalMessageInfo + +func (m *LastObservedSignerSetTxRequest) GetChainId() string { + if m != nil { + return m.ChainId + } + return "" +} + type SignerSetTxResponse struct { SignerSet *SignerSetTx `protobuf:"bytes,1,opt,name=signer_set,json=signerSet,proto3" json:"signer_set,omitempty"` } @@ -467,7 +511,7 @@ func (m *SignerSetTxResponse) Reset() { *m = SignerSetTxResponse{} } func (m *SignerSetTxResponse) String() string { return proto.CompactTextString(m) } func (*SignerSetTxResponse) ProtoMessage() {} func (*SignerSetTxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{10} + return fileDescriptor_503a4f22a1222790, []int{11} } func (m *SignerSetTxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -514,7 +558,7 @@ func (m *BatchTxRequest) Reset() { *m = BatchTxRequest{} } func (m *BatchTxRequest) String() string { return proto.CompactTextString(m) } func (*BatchTxRequest) ProtoMessage() {} func (*BatchTxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{11} + return fileDescriptor_503a4f22a1222790, []int{12} } func (m *BatchTxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -572,7 +616,7 @@ func (m *BatchTxResponse) Reset() { *m = BatchTxResponse{} } func (m *BatchTxResponse) String() string { return proto.CompactTextString(m) } func (*BatchTxResponse) ProtoMessage() {} func (*BatchTxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{12} + return fileDescriptor_503a4f22a1222790, []int{13} } func (m *BatchTxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -619,7 +663,7 @@ func (m *ContractCallTxRequest) Reset() { *m = ContractCallTxRequest{} } func (m *ContractCallTxRequest) String() string { return proto.CompactTextString(m) } func (*ContractCallTxRequest) ProtoMessage() {} func (*ContractCallTxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{13} + return fileDescriptor_503a4f22a1222790, []int{14} } func (m *ContractCallTxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -677,7 +721,7 @@ func (m *ContractCallTxResponse) Reset() { *m = ContractCallTxResponse{} func (m *ContractCallTxResponse) String() string { return proto.CompactTextString(m) } func (*ContractCallTxResponse) ProtoMessage() {} func (*ContractCallTxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{14} + return fileDescriptor_503a4f22a1222790, []int{15} } func (m *ContractCallTxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -723,7 +767,7 @@ func (m *SignerSetTxConfirmationsRequest) Reset() { *m = SignerSetTxConf func (m *SignerSetTxConfirmationsRequest) String() string { return proto.CompactTextString(m) } func (*SignerSetTxConfirmationsRequest) ProtoMessage() {} func (*SignerSetTxConfirmationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{15} + return fileDescriptor_503a4f22a1222790, []int{16} } func (m *SignerSetTxConfirmationsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -774,7 +818,7 @@ func (m *SignerSetTxConfirmationsResponse) Reset() { *m = SignerSetTxCon func (m *SignerSetTxConfirmationsResponse) String() string { return proto.CompactTextString(m) } func (*SignerSetTxConfirmationsResponse) ProtoMessage() {} func (*SignerSetTxConfirmationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{16} + return fileDescriptor_503a4f22a1222790, []int{17} } func (m *SignerSetTxConfirmationsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -820,7 +864,7 @@ func (m *SignerSetTxsRequest) Reset() { *m = SignerSetTxsRequest{} } func (m *SignerSetTxsRequest) String() string { return proto.CompactTextString(m) } func (*SignerSetTxsRequest) ProtoMessage() {} func (*SignerSetTxsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{17} + return fileDescriptor_503a4f22a1222790, []int{18} } func (m *SignerSetTxsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -872,7 +916,7 @@ func (m *SignerSetTxsResponse) Reset() { *m = SignerSetTxsResponse{} } func (m *SignerSetTxsResponse) String() string { return proto.CompactTextString(m) } func (*SignerSetTxsResponse) ProtoMessage() {} func (*SignerSetTxsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{18} + return fileDescriptor_503a4f22a1222790, []int{19} } func (m *SignerSetTxsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -925,7 +969,7 @@ func (m *BatchTxsRequest) Reset() { *m = BatchTxsRequest{} } func (m *BatchTxsRequest) String() string { return proto.CompactTextString(m) } func (*BatchTxsRequest) ProtoMessage() {} func (*BatchTxsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{19} + return fileDescriptor_503a4f22a1222790, []int{20} } func (m *BatchTxsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -977,7 +1021,7 @@ func (m *BatchTxsResponse) Reset() { *m = BatchTxsResponse{} } func (m *BatchTxsResponse) String() string { return proto.CompactTextString(m) } func (*BatchTxsResponse) ProtoMessage() {} func (*BatchTxsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{20} + return fileDescriptor_503a4f22a1222790, []int{21} } func (m *BatchTxsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1030,7 +1074,7 @@ func (m *ContractCallTxsRequest) Reset() { *m = ContractCallTxsRequest{} func (m *ContractCallTxsRequest) String() string { return proto.CompactTextString(m) } func (*ContractCallTxsRequest) ProtoMessage() {} func (*ContractCallTxsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{21} + return fileDescriptor_503a4f22a1222790, []int{22} } func (m *ContractCallTxsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1082,7 +1126,7 @@ func (m *ContractCallTxsResponse) Reset() { *m = ContractCallTxsResponse func (m *ContractCallTxsResponse) String() string { return proto.CompactTextString(m) } func (*ContractCallTxsResponse) ProtoMessage() {} func (*ContractCallTxsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{22} + return fileDescriptor_503a4f22a1222790, []int{23} } func (m *ContractCallTxsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1137,7 +1181,7 @@ func (m *UnsignedSignerSetTxsRequest) Reset() { *m = UnsignedSignerSetTx func (m *UnsignedSignerSetTxsRequest) String() string { return proto.CompactTextString(m) } func (*UnsignedSignerSetTxsRequest) ProtoMessage() {} func (*UnsignedSignerSetTxsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{23} + return fileDescriptor_503a4f22a1222790, []int{24} } func (m *UnsignedSignerSetTxsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1188,7 +1232,7 @@ func (m *UnsignedSignerSetTxsResponse) Reset() { *m = UnsignedSignerSetT func (m *UnsignedSignerSetTxsResponse) String() string { return proto.CompactTextString(m) } func (*UnsignedSignerSetTxsResponse) ProtoMessage() {} func (*UnsignedSignerSetTxsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{24} + return fileDescriptor_503a4f22a1222790, []int{25} } func (m *UnsignedSignerSetTxsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1235,7 +1279,7 @@ func (m *UnsignedBatchTxsRequest) Reset() { *m = UnsignedBatchTxsRequest func (m *UnsignedBatchTxsRequest) String() string { return proto.CompactTextString(m) } func (*UnsignedBatchTxsRequest) ProtoMessage() {} func (*UnsignedBatchTxsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{25} + return fileDescriptor_503a4f22a1222790, []int{26} } func (m *UnsignedBatchTxsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1287,7 +1331,7 @@ func (m *UnsignedBatchTxsResponse) Reset() { *m = UnsignedBatchTxsRespon func (m *UnsignedBatchTxsResponse) String() string { return proto.CompactTextString(m) } func (*UnsignedBatchTxsResponse) ProtoMessage() {} func (*UnsignedBatchTxsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{26} + return fileDescriptor_503a4f22a1222790, []int{27} } func (m *UnsignedBatchTxsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1333,7 +1377,7 @@ func (m *UnsignedContractCallTxsRequest) Reset() { *m = UnsignedContract func (m *UnsignedContractCallTxsRequest) String() string { return proto.CompactTextString(m) } func (*UnsignedContractCallTxsRequest) ProtoMessage() {} func (*UnsignedContractCallTxsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{27} + return fileDescriptor_503a4f22a1222790, []int{28} } func (m *UnsignedContractCallTxsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1384,7 +1428,7 @@ func (m *UnsignedContractCallTxsResponse) Reset() { *m = UnsignedContrac func (m *UnsignedContractCallTxsResponse) String() string { return proto.CompactTextString(m) } func (*UnsignedContractCallTxsResponse) ProtoMessage() {} func (*UnsignedContractCallTxsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{28} + return fileDescriptor_503a4f22a1222790, []int{29} } func (m *UnsignedContractCallTxsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1428,7 +1472,7 @@ func (m *BatchTxFeesRequest) Reset() { *m = BatchTxFeesRequest{} } func (m *BatchTxFeesRequest) String() string { return proto.CompactTextString(m) } func (*BatchTxFeesRequest) ProtoMessage() {} func (*BatchTxFeesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{29} + return fileDescriptor_503a4f22a1222790, []int{30} } func (m *BatchTxFeesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1472,7 +1516,7 @@ func (m *BatchTxFeesResponse) Reset() { *m = BatchTxFeesResponse{} } func (m *BatchTxFeesResponse) String() string { return proto.CompactTextString(m) } func (*BatchTxFeesResponse) ProtoMessage() {} func (*BatchTxFeesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{30} + return fileDescriptor_503a4f22a1222790, []int{31} } func (m *BatchTxFeesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1518,7 +1562,7 @@ func (m *ContractCallTxConfirmationsRequest) Reset() { *m = ContractCall func (m *ContractCallTxConfirmationsRequest) String() string { return proto.CompactTextString(m) } func (*ContractCallTxConfirmationsRequest) ProtoMessage() {} func (*ContractCallTxConfirmationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{31} + return fileDescriptor_503a4f22a1222790, []int{32} } func (m *ContractCallTxConfirmationsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1576,7 +1620,7 @@ func (m *ContractCallTxConfirmationsResponse) Reset() { *m = ContractCal func (m *ContractCallTxConfirmationsResponse) String() string { return proto.CompactTextString(m) } func (*ContractCallTxConfirmationsResponse) ProtoMessage() {} func (*ContractCallTxConfirmationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{32} + return fileDescriptor_503a4f22a1222790, []int{33} } func (m *ContractCallTxConfirmationsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1622,7 +1666,7 @@ func (m *BatchTxConfirmationsRequest) Reset() { *m = BatchTxConfirmation func (m *BatchTxConfirmationsRequest) String() string { return proto.CompactTextString(m) } func (*BatchTxConfirmationsRequest) ProtoMessage() {} func (*BatchTxConfirmationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{33} + return fileDescriptor_503a4f22a1222790, []int{34} } func (m *BatchTxConfirmationsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1680,7 +1724,7 @@ func (m *BatchTxConfirmationsResponse) Reset() { *m = BatchTxConfirmatio func (m *BatchTxConfirmationsResponse) String() string { return proto.CompactTextString(m) } func (*BatchTxConfirmationsResponse) ProtoMessage() {} func (*BatchTxConfirmationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{34} + return fileDescriptor_503a4f22a1222790, []int{35} } func (m *BatchTxConfirmationsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1725,7 +1769,7 @@ func (m *LastSubmittedExternalEventRequest) Reset() { *m = LastSubmitted func (m *LastSubmittedExternalEventRequest) String() string { return proto.CompactTextString(m) } func (*LastSubmittedExternalEventRequest) ProtoMessage() {} func (*LastSubmittedExternalEventRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{35} + return fileDescriptor_503a4f22a1222790, []int{36} } func (m *LastSubmittedExternalEventRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1776,7 +1820,7 @@ func (m *LastSubmittedExternalEventResponse) Reset() { *m = LastSubmitte func (m *LastSubmittedExternalEventResponse) String() string { return proto.CompactTextString(m) } func (*LastSubmittedExternalEventResponse) ProtoMessage() {} func (*LastSubmittedExternalEventResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{36} + return fileDescriptor_503a4f22a1222790, []int{37} } func (m *LastSubmittedExternalEventResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1821,7 +1865,7 @@ func (m *ExternalIdToDenomRequest) Reset() { *m = ExternalIdToDenomReque func (m *ExternalIdToDenomRequest) String() string { return proto.CompactTextString(m) } func (*ExternalIdToDenomRequest) ProtoMessage() {} func (*ExternalIdToDenomRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{37} + return fileDescriptor_503a4f22a1222790, []int{38} } func (m *ExternalIdToDenomRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1872,7 +1916,7 @@ func (m *ExternalIdToDenomResponse) Reset() { *m = ExternalIdToDenomResp func (m *ExternalIdToDenomResponse) String() string { return proto.CompactTextString(m) } func (*ExternalIdToDenomResponse) ProtoMessage() {} func (*ExternalIdToDenomResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{38} + return fileDescriptor_503a4f22a1222790, []int{39} } func (m *ExternalIdToDenomResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1917,7 +1961,7 @@ func (m *DenomToExternalIdRequest) Reset() { *m = DenomToExternalIdReque func (m *DenomToExternalIdRequest) String() string { return proto.CompactTextString(m) } func (*DenomToExternalIdRequest) ProtoMessage() {} func (*DenomToExternalIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{39} + return fileDescriptor_503a4f22a1222790, []int{40} } func (m *DenomToExternalIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1968,7 +2012,7 @@ func (m *DenomToExternalIdResponse) Reset() { *m = DenomToExternalIdResp func (m *DenomToExternalIdResponse) String() string { return proto.CompactTextString(m) } func (*DenomToExternalIdResponse) ProtoMessage() {} func (*DenomToExternalIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{40} + return fileDescriptor_503a4f22a1222790, []int{41} } func (m *DenomToExternalIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2013,7 +2057,7 @@ func (m *DelegateKeysByValidatorRequest) Reset() { *m = DelegateKeysByVa func (m *DelegateKeysByValidatorRequest) String() string { return proto.CompactTextString(m) } func (*DelegateKeysByValidatorRequest) ProtoMessage() {} func (*DelegateKeysByValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{41} + return fileDescriptor_503a4f22a1222790, []int{42} } func (m *DelegateKeysByValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2065,7 +2109,7 @@ func (m *DelegateKeysByValidatorResponse) Reset() { *m = DelegateKeysByV func (m *DelegateKeysByValidatorResponse) String() string { return proto.CompactTextString(m) } func (*DelegateKeysByValidatorResponse) ProtoMessage() {} func (*DelegateKeysByValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{42} + return fileDescriptor_503a4f22a1222790, []int{43} } func (m *DelegateKeysByValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2117,7 +2161,7 @@ func (m *DelegateKeysByExternalSignerRequest) Reset() { *m = DelegateKey func (m *DelegateKeysByExternalSignerRequest) String() string { return proto.CompactTextString(m) } func (*DelegateKeysByExternalSignerRequest) ProtoMessage() {} func (*DelegateKeysByExternalSignerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{43} + return fileDescriptor_503a4f22a1222790, []int{44} } func (m *DelegateKeysByExternalSignerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2169,7 +2213,7 @@ func (m *DelegateKeysByExternalSignerResponse) Reset() { *m = DelegateKe func (m *DelegateKeysByExternalSignerResponse) String() string { return proto.CompactTextString(m) } func (*DelegateKeysByExternalSignerResponse) ProtoMessage() {} func (*DelegateKeysByExternalSignerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{44} + return fileDescriptor_503a4f22a1222790, []int{45} } func (m *DelegateKeysByExternalSignerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2221,7 +2265,7 @@ func (m *DelegateKeysByOrchestratorRequest) Reset() { *m = DelegateKeysB func (m *DelegateKeysByOrchestratorRequest) String() string { return proto.CompactTextString(m) } func (*DelegateKeysByOrchestratorRequest) ProtoMessage() {} func (*DelegateKeysByOrchestratorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{45} + return fileDescriptor_503a4f22a1222790, []int{46} } func (m *DelegateKeysByOrchestratorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2273,7 +2317,7 @@ func (m *DelegateKeysByOrchestratorResponse) Reset() { *m = DelegateKeys func (m *DelegateKeysByOrchestratorResponse) String() string { return proto.CompactTextString(m) } func (*DelegateKeysByOrchestratorResponse) ProtoMessage() {} func (*DelegateKeysByOrchestratorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{46} + return fileDescriptor_503a4f22a1222790, []int{47} } func (m *DelegateKeysByOrchestratorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2324,7 +2368,7 @@ func (m *DelegateKeysRequest) Reset() { *m = DelegateKeysRequest{} } func (m *DelegateKeysRequest) String() string { return proto.CompactTextString(m) } func (*DelegateKeysRequest) ProtoMessage() {} func (*DelegateKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{47} + return fileDescriptor_503a4f22a1222790, []int{48} } func (m *DelegateKeysRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2368,7 +2412,7 @@ func (m *DelegateKeysResponse) Reset() { *m = DelegateKeysResponse{} } func (m *DelegateKeysResponse) String() string { return proto.CompactTextString(m) } func (*DelegateKeysResponse) ProtoMessage() {} func (*DelegateKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{48} + return fileDescriptor_503a4f22a1222790, []int{49} } func (m *DelegateKeysResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2414,7 +2458,7 @@ func (m *BatchedSendToExternalsRequest) Reset() { *m = BatchedSendToExte func (m *BatchedSendToExternalsRequest) String() string { return proto.CompactTextString(m) } func (*BatchedSendToExternalsRequest) ProtoMessage() {} func (*BatchedSendToExternalsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{49} + return fileDescriptor_503a4f22a1222790, []int{50} } func (m *BatchedSendToExternalsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2466,7 +2510,7 @@ func (m *BatchedSendToExternalsResponse) Reset() { *m = BatchedSendToExt func (m *BatchedSendToExternalsResponse) String() string { return proto.CompactTextString(m) } func (*BatchedSendToExternalsResponse) ProtoMessage() {} func (*BatchedSendToExternalsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{50} + return fileDescriptor_503a4f22a1222790, []int{51} } func (m *BatchedSendToExternalsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2519,7 +2563,7 @@ func (m *UnbatchedSendToExternalsRequest) Reset() { *m = UnbatchedSendTo func (m *UnbatchedSendToExternalsRequest) String() string { return proto.CompactTextString(m) } func (*UnbatchedSendToExternalsRequest) ProtoMessage() {} func (*UnbatchedSendToExternalsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{51} + return fileDescriptor_503a4f22a1222790, []int{52} } func (m *UnbatchedSendToExternalsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2579,7 +2623,7 @@ func (m *UnbatchedSendToExternalsResponse) Reset() { *m = UnbatchedSendT func (m *UnbatchedSendToExternalsResponse) String() string { return proto.CompactTextString(m) } func (*UnbatchedSendToExternalsResponse) ProtoMessage() {} func (*UnbatchedSendToExternalsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_503a4f22a1222790, []int{52} + return fileDescriptor_503a4f22a1222790, []int{53} } func (m *UnbatchedSendToExternalsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2640,6 +2684,7 @@ func init() { proto.RegisterType((*ParamsResponse)(nil), "mhub2.v1.ParamsResponse") proto.RegisterType((*SignerSetTxRequest)(nil), "mhub2.v1.SignerSetTxRequest") proto.RegisterType((*LatestSignerSetTxRequest)(nil), "mhub2.v1.LatestSignerSetTxRequest") + proto.RegisterType((*LastObservedSignerSetTxRequest)(nil), "mhub2.v1.LastObservedSignerSetTxRequest") proto.RegisterType((*SignerSetTxResponse)(nil), "mhub2.v1.SignerSetTxResponse") proto.RegisterType((*BatchTxRequest)(nil), "mhub2.v1.BatchTxRequest") proto.RegisterType((*BatchTxResponse)(nil), "mhub2.v1.BatchTxResponse") @@ -2688,152 +2733,155 @@ func init() { func init() { proto.RegisterFile("mhub2/v1/query.proto", fileDescriptor_503a4f22a1222790) } var fileDescriptor_503a4f22a1222790 = []byte{ - // 2320 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xcd, 0x6f, 0x1c, 0x49, - 0x15, 0x4f, 0x39, 0x89, 0x93, 0x3c, 0x3b, 0xfe, 0x28, 0x3b, 0xf1, 0x78, 0x62, 0xcf, 0xd8, 0x95, - 0xac, 0xed, 0x7c, 0x4d, 0xdb, 0x8e, 0x37, 0x2c, 0xcb, 0xee, 0xb2, 0xeb, 0x38, 0xd9, 0x64, 0xb3, - 0x09, 0xc9, 0xd8, 0x89, 0x16, 0x24, 0xd4, 0x6a, 0x4f, 0x97, 0x67, 0x5a, 0x19, 0x77, 0x3b, 0xd3, - 0x3d, 0x66, 0x8c, 0xe5, 0x03, 0x48, 0xac, 0x56, 0x62, 0x91, 0x16, 0x90, 0xe0, 0xc4, 0x01, 0xb8, - 0xb1, 0x02, 0x24, 0x4e, 0xfb, 0x07, 0x20, 0xb1, 0x07, 0x0e, 0x2b, 0x71, 0x41, 0x1c, 0x16, 0x94, - 0xf0, 0x87, 0xa0, 0xae, 0xae, 0xee, 0xae, 0xee, 0xae, 0xea, 0x19, 0xbc, 0x21, 0x9c, 0x92, 0xa9, - 0x7a, 0x1f, 0xbf, 0xf7, 0x5e, 0xbd, 0xaa, 0xf7, 0x9e, 0x1b, 0xc6, 0xb7, 0x1b, 0xed, 0xcd, 0x65,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 0x33, 0xf6, 0xaa, 0x7c, 0x25, 0x00, 0x00, + // 2367 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x9a, 0xcd, 0x6f, 0xdc, 0xc6, + 0x15, 0xc0, 0x3d, 0xb2, 0x2d, 0x3b, 0x4f, 0xb2, 0x3e, 0x46, 0xb2, 0xb5, 0x5a, 0x4b, 0xbb, 0x12, + 0xed, 0x48, 0xf2, 0x87, 0x96, 0x92, 0x2c, 0xbb, 0x69, 0xbe, 0x9a, 0xc8, 0xb2, 0x63, 0xc7, 0xb1, + 0x63, 0xaf, 0x64, 0x23, 0x2d, 0x50, 0x10, 0xd4, 0x72, 0xb4, 0x4b, 0x78, 0x45, 0xca, 0xcb, 0x59, + 0x55, 0xaa, 0xa0, 0x43, 0x0b, 0x34, 0xc8, 0x21, 0x05, 0xd2, 0x16, 0x68, 0xd1, 0x43, 0x0f, 0x6d, + 0x0f, 0x05, 0x1a, 0xb4, 0x05, 0x7a, 0xca, 0x1f, 0x50, 0xa0, 0x39, 0xf4, 0x10, 0xa0, 0x97, 0xa2, + 0x87, 0xb4, 0xb0, 0xfb, 0x87, 0x14, 0x1c, 0x0e, 0xc9, 0x21, 0x39, 0xc3, 0xdd, 0x28, 0xae, 0x7b, + 0xb2, 0x77, 0xe6, 0xbd, 0x79, 0xbf, 0xf7, 0xe6, 0xeb, 0xcd, 0x13, 0x61, 0x74, 0xab, 0xd1, 0xde, + 0x58, 0xd2, 0x77, 0x16, 0xf5, 0x27, 0x6d, 0xd2, 0xda, 0xab, 0x6c, 0xb7, 0x5c, 0xea, 0xe2, 0x93, + 0xac, 0xb5, 0xb2, 0xb3, 0x58, 0xbc, 0x58, 0x73, 0xbd, 0x2d, 0xd7, 0xd3, 0x37, 0x4c, 0x8f, 0x04, + 0x22, 0xfa, 0xce, 0xe2, 0x06, 0xa1, 0xe6, 0xa2, 0xbe, 0x6d, 0xd6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 0xff, 0xff, 0xf0, 0x3e, 0xf6, 0x79, 0x55, 0x26, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2853,6 +2901,7 @@ type QueryClient interface { // get info on individual outgoing data SignerSetTx(ctx context.Context, in *SignerSetTxRequest, opts ...grpc.CallOption) (*SignerSetTxResponse, error) LatestSignerSetTx(ctx context.Context, in *LatestSignerSetTxRequest, opts ...grpc.CallOption) (*SignerSetTxResponse, error) + LastObservedSignerSetTx(ctx context.Context, in *LastObservedSignerSetTxRequest, opts ...grpc.CallOption) (*SignerSetTxResponse, error) BatchTx(ctx context.Context, in *BatchTxRequest, opts ...grpc.CallOption) (*BatchTxResponse, error) ContractCallTx(ctx context.Context, in *ContractCallTxRequest, opts ...grpc.CallOption) (*ContractCallTxResponse, error) // get collections of outgoing traffic from the bridge @@ -2926,6 +2975,15 @@ func (c *queryClient) LatestSignerSetTx(ctx context.Context, in *LatestSignerSet return out, nil } +func (c *queryClient) LastObservedSignerSetTx(ctx context.Context, in *LastObservedSignerSetTxRequest, opts ...grpc.CallOption) (*SignerSetTxResponse, error) { + out := new(SignerSetTxResponse) + err := c.cc.Invoke(ctx, "/mhub2.v1.Query/LastObservedSignerSetTx", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) BatchTx(ctx context.Context, in *BatchTxRequest, opts ...grpc.CallOption) (*BatchTxResponse, error) { out := new(BatchTxResponse) err := c.cc.Invoke(ctx, "/mhub2.v1.Query/BatchTx", in, out, opts...) @@ -3149,6 +3207,7 @@ type QueryServer interface { // get info on individual outgoing data SignerSetTx(context.Context, *SignerSetTxRequest) (*SignerSetTxResponse, error) LatestSignerSetTx(context.Context, *LatestSignerSetTxRequest) (*SignerSetTxResponse, error) + LastObservedSignerSetTx(context.Context, *LastObservedSignerSetTxRequest) (*SignerSetTxResponse, error) BatchTx(context.Context, *BatchTxRequest) (*BatchTxResponse, error) ContractCallTx(context.Context, *ContractCallTxRequest) (*ContractCallTxResponse, error) // get collections of outgoing traffic from the bridge @@ -3200,6 +3259,9 @@ func (*UnimplementedQueryServer) SignerSetTx(ctx context.Context, req *SignerSet func (*UnimplementedQueryServer) LatestSignerSetTx(ctx context.Context, req *LatestSignerSetTxRequest) (*SignerSetTxResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LatestSignerSetTx not implemented") } +func (*UnimplementedQueryServer) LastObservedSignerSetTx(ctx context.Context, req *LastObservedSignerSetTxRequest) (*SignerSetTxResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method LastObservedSignerSetTx not implemented") +} func (*UnimplementedQueryServer) BatchTx(ctx context.Context, req *BatchTxRequest) (*BatchTxResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchTx not implemented") } @@ -3331,6 +3393,24 @@ func _Query_LatestSignerSetTx_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _Query_LastObservedSignerSetTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(LastObservedSignerSetTxRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).LastObservedSignerSetTx(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/mhub2.v1.Query/LastObservedSignerSetTx", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).LastObservedSignerSetTx(ctx, req.(*LastObservedSignerSetTxRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_BatchTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BatchTxRequest) if err := dec(in); err != nil { @@ -3779,6 +3859,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "LatestSignerSetTx", Handler: _Query_LatestSignerSetTx_Handler, }, + { + MethodName: "LastObservedSignerSetTx", + Handler: _Query_LastObservedSignerSetTx_Handler, + }, { MethodName: "BatchTx", Handler: _Query_BatchTx_Handler, @@ -4185,6 +4269,36 @@ func (m *LatestSignerSetTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } +func (m *LastObservedSignerSetTxRequest) 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 *LastObservedSignerSetTxRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LastObservedSignerSetTxRequest) 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 = encodeVarintQuery(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *SignerSetTxResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -5970,6 +6084,19 @@ func (m *LatestSignerSetTxRequest) Size() (n int) { return n } +func (m *LastObservedSignerSetTxRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + func (m *SignerSetTxResponse) Size() (n int) { if m == nil { return 0 @@ -7499,6 +7626,91 @@ func (m *LatestSignerSetTxRequest) Unmarshal(dAtA []byte) error { } return nil } +func (m *LastObservedSignerSetTxRequest) 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 ErrIntOverflowQuery + } + 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: LastObservedSignerSetTxRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LastObservedSignerSetTxRequest: 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 ErrIntOverflowQuery + } + 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 ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *SignerSetTxResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/module/x/mhub2/types/query.pb.gw.go b/module/x/mhub2/types/query.pb.gw.go index 4191551..3482750 100644 --- a/module/x/mhub2/types/query.pb.gw.go +++ b/module/x/mhub2/types/query.pb.gw.go @@ -177,6 +177,60 @@ func local_request_Query_LatestSignerSetTx_0(ctx context.Context, marshaler runt } +func request_Query_LastObservedSignerSetTx_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq LastObservedSignerSetTxRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["chain_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "chain_id") + } + + protoReq.ChainId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "chain_id", err) + } + + msg, err := client.LastObservedSignerSetTx(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_LastObservedSignerSetTx_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq LastObservedSignerSetTxRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["chain_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "chain_id") + } + + protoReq.ChainId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "chain_id", err) + } + + msg, err := server.LastObservedSignerSetTx(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_BatchTx_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq BatchTxRequest var metadata runtime.ServerMetadata @@ -1862,6 +1916,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_LastObservedSignerSetTx_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_LastObservedSignerSetTx_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_LastObservedSignerSetTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_BatchTx_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -2515,6 +2592,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_LastObservedSignerSetTx_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_LastObservedSignerSetTx_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_LastObservedSignerSetTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_BatchTx_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -3005,6 +3102,8 @@ var ( pattern_Query_LatestSignerSetTx_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"mhub2", "v1", "signer_set", "latest", "chain_id"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_LastObservedSignerSetTx_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"mhub2", "v1", "signer_set", "last_observed", "chain_id"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_BatchTx_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"mhub2", "v1", "batch_txs", "chain_id", "external_token_id", "batch_nonce"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_ContractCallTx_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"mhub2", "v1", "contract_call_txs", "chain_id", "invalidation_scope", "invalidation_nonce"}, "", runtime.AssumeColonVerbOpt(true))) @@ -3061,6 +3160,8 @@ var ( forward_Query_LatestSignerSetTx_0 = runtime.ForwardResponseMessage + forward_Query_LastObservedSignerSetTx_0 = runtime.ForwardResponseMessage + forward_Query_BatchTx_0 = runtime.ForwardResponseMessage forward_Query_ContractCallTx_0 = runtime.ForwardResponseMessage diff --git a/orchestrator/cosmos_gravity/src/query.rs b/orchestrator/cosmos_gravity/src/query.rs index 25d4d3e..dc74ead 100644 --- a/orchestrator/cosmos_gravity/src/query.rs +++ b/orchestrator/cosmos_gravity/src/query.rs @@ -64,6 +64,23 @@ pub async fn get_latest_valset( Ok(valset) } +pub async fn get_last_observed_valset( + client: &mut Mhub2QueryClient, + chain_id: String, +) -> Result, GravityError> { + let response = client + .last_observed_signer_set_tx(LastObservedSignerSetTxRequest { + chain_id: chain_id.clone(), + }) + .await?; + let valset = response.into_inner().signer_set; + let valset = match valset { + Some(v) => Some(v.into()), + None => None, + }; + Ok(valset) +} + /// get all valset confirmations for a given nonce pub async fn get_all_valset_confirms( client: &mut Mhub2QueryClient, diff --git a/orchestrator/mhub2_proto/src/prost/mhub2.v1.rs b/orchestrator/mhub2_proto/src/prost/mhub2.v1.rs index b2e2fc2..a46aa39 100644 --- a/orchestrator/mhub2_proto/src/prost/mhub2.v1.rs +++ b/orchestrator/mhub2_proto/src/prost/mhub2.v1.rs @@ -726,6 +726,11 @@ pub struct LatestSignerSetTxRequest { pub chain_id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] +pub struct LastObservedSignerSetTxRequest { + #[prost(string, tag = "1")] + pub chain_id: ::prost::alloc::string::String, +} +#[derive(Clone, PartialEq, ::prost::Message)] pub struct SignerSetTxResponse { #[prost(message, optional, tag = "1")] pub signer_set: ::core::option::Option, @@ -1109,6 +1114,21 @@ pub mod query_client { let path = http::uri::PathAndQuery::from_static("/mhub2.v1.Query/LatestSignerSetTx"); self.inner.unary(request.into_request(), path, codec).await } + pub async fn last_observed_signer_set_tx( + &mut self, + request: impl tonic::IntoRequest, + ) -> Result, tonic::Status> { + self.inner.ready().await.map_err(|e| { + tonic::Status::new( + tonic::Code::Unknown, + format!("Service was not ready: {}", e.into()), + ) + })?; + let codec = tonic::codec::ProstCodec::default(); + let path = + http::uri::PathAndQuery::from_static("/mhub2.v1.Query/LastObservedSignerSetTx"); + self.inner.unary(request.into_request(), path, codec).await + } pub async fn batch_tx( &mut self, request: impl tonic::IntoRequest, diff --git a/orchestrator/relayer/src/find_latest_valset.rs b/orchestrator/relayer/src/find_latest_valset.rs index aee8b34..1619ca0 100644 --- a/orchestrator/relayer/src/find_latest_valset.rs +++ b/orchestrator/relayer/src/find_latest_valset.rs @@ -1,10 +1,6 @@ -use clarity::{Address, Uint256}; -use ethereum_gravity::utils::downcast_uint256; use mhub2_proto::mhub2::query_client::QueryClient as GravityQueryClient; -use mhub2_utils::types::ValsetUpdatedEvent; use mhub2_utils::{error::GravityError, types::Valset}; use tonic::transport::Channel; -use web30::client::Web3; /// This function finds the latest valset on the Gravity contract by looking back through the event /// history and finding the most recent ValsetUpdatedEvent. Most of the time this will be very fast @@ -13,98 +9,10 @@ use web30::client::Web3; /// this will take longer. pub async fn find_latest_valset( grpc_client: &mut GravityQueryClient, - gravity_contract_address: Address, - web3: &Web3, chain_id: String, ) -> Result { - const BLOCKS_TO_SEARCH: u128 = 5_000u128; - let latest_block = web3.eth_block_number().await?; - let mut current_block: Uint256 = latest_block.clone(); + let cosmos_chain_valset = + cosmos_gravity::query::get_last_observed_valset(grpc_client, chain_id.clone()).await?; - while current_block.clone() > 0u8.into() { - trace!( - "About to submit a Valset or Batch looking back into the history to find the last Valset Update, on block {}", - current_block - ); - let end_search = if current_block.clone() < BLOCKS_TO_SEARCH.into() { - 0u8.into() - } else { - current_block.clone() - BLOCKS_TO_SEARCH.into() - }; - let mut all_valset_events = web3 - .check_for_events( - end_search.clone(), - Some(current_block.clone()), - vec![gravity_contract_address], - vec!["ValsetUpdatedEvent(uint256,uint256,address[],uint256[])"], - ) - .await?; - // by default the lowest found valset goes first, we want the highest. - all_valset_events.reverse(); - - trace!("Found events {:?}", all_valset_events); - - // we take only the first event if we find any at all. - if !all_valset_events.is_empty() { - let event = &all_valset_events[0]; - match ValsetUpdatedEvent::from_log(event) { - Ok(event) => { - let latest_eth_valset = Valset { - nonce: downcast_uint256(event.valset_nonce.clone()).unwrap(), - members: event.members, - }; - let cosmos_chain_valset = cosmos_gravity::query::get_valset( - grpc_client, - latest_eth_valset.nonce, - chain_id.clone(), - ) - .await?; - check_if_valsets_differ(cosmos_chain_valset, &&latest_eth_valset); - return Ok(latest_eth_valset); - } - Err(e) => error!("Got valset event that we can't parse {}", e), - } - } - current_block = end_search; - } - - panic!("Could not find the last validator set for contract {}, probably not a valid Gravity contract!", gravity_contract_address) -} - -/// This function exists to provide a warning if Cosmos and Ethereum have different validator sets -/// for a given nonce. In the mundane version of this warning the validator sets disagree on sorting order -/// which can happen if some relayer uses an unstable sort, or in a case of a mild griefing attack. -/// The Gravity contract validates signatures in order of highest to lowest power. That way it can exit -/// the loop early once a vote has enough power, if a relayer where to submit things in the reverse order -/// they could grief users of the contract into paying more in gas. -/// The other (and far worse) way a disagreement here could occur is if validators are colluding to steal -/// funds from the Gravity contract and have submitted a highjacking update. If slashing for off Cosmos chain -/// Ethereum signatures is implemented you would put that handler here. -fn check_if_valsets_differ(cosmos_valset: Option, ethereum_valset: &Valset) { - if cosmos_valset.is_none() && ethereum_valset.nonce == 0 { - // bootstrapping case - return; - } else if cosmos_valset.is_none() { - error!("Cosmos does not have a valset for nonce {} but that is the one on the Ethereum chain! Possible bridge highjacking!", ethereum_valset.nonce); - return; - } - let cosmos_valset = cosmos_valset.unwrap(); - if cosmos_valset != *ethereum_valset { - // if this is not true then we have a logic error on the Cosmos chain - // or with our Ethereum search - assert_eq!(cosmos_valset.nonce, ethereum_valset.nonce); - - let mut c_valset = cosmos_valset.members; - let mut e_valset = ethereum_valset.members.clone(); - c_valset.sort(); - e_valset.sort(); - if c_valset == e_valset { - info!( - "Sorting disagreement between Cosmos and Ethereum on Valset nonce {}", - ethereum_valset.nonce - ); - } else { - info!("Validator sets for nonce {} Cosmos and Ethereum differ. Possible bridge highjacking!", ethereum_valset.nonce) - } - } + Ok(cosmos_chain_valset.unwrap()) } diff --git a/orchestrator/relayer/src/main_loop.rs b/orchestrator/relayer/src/main_loop.rs index 7116964..98f555c 100644 --- a/orchestrator/relayer/src/main_loop.rs +++ b/orchestrator/relayer/src/main_loop.rs @@ -36,13 +36,7 @@ pub async fn relayer_main_loop( let loop_start = Instant::now(); let our_ethereum_address = ethereum_key.to_public_key().unwrap(); - let current_eth_valset = find_latest_valset( - &mut grpc_client, - gravity_contract_address, - &web3, - chain_id.clone(), - ) - .await; + let current_eth_valset = find_latest_valset(&mut grpc_client, chain_id.clone()).await; if current_eth_valset.is_err() { error!("Could not get current valset! {:?}", current_eth_valset); continue;