From 5e293e51d4d998dfcf66c4884199775277804742 Mon Sep 17 00:00:00 2001 From: Alexgao001 Date: Fri, 27 Oct 2023 21:33:54 +0800 Subject: [PATCH] fix ci --- api/cosmos/oracle/v1/query.pulsar.go | 6 +++++- proto/cosmos/oracle/v1/query.proto | 4 ++++ x/oracle/types/query.pb.go | 6 +++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/api/cosmos/oracle/v1/query.pulsar.go b/api/cosmos/oracle/v1/query.pulsar.go index 8d4857b1bb..101a9ad151 100644 --- a/api/cosmos/oracle/v1/query.pulsar.go +++ b/api/cosmos/oracle/v1/query.pulsar.go @@ -1721,10 +1721,13 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) +// ClaimSrcChain defines the src chain of a claim type ClaimSrcChain int32 const ( - ClaimSrcChain_BSC ClaimSrcChain = 0 + // BSC defines BSC source chain + ClaimSrcChain_BSC ClaimSrcChain = 0 + // OP_BNB defines OPBNB source chain ClaimSrcChain_OP_BNB ClaimSrcChain = 1 ) @@ -1837,6 +1840,7 @@ type QueryInturnRelayerRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + // ClaimSrcChain defines the src chain of a claim ClaimSrcChain ClaimSrcChain `protobuf:"varint,1,opt,name=claim_src_chain,json=claimSrcChain,proto3,enum=cosmos.oracle.v1.ClaimSrcChain" json:"claim_src_chain,omitempty"` } diff --git a/proto/cosmos/oracle/v1/query.proto b/proto/cosmos/oracle/v1/query.proto index 0c69cc33dd..bcd21ee72d 100644 --- a/proto/cosmos/oracle/v1/query.proto +++ b/proto/cosmos/oracle/v1/query.proto @@ -29,14 +29,18 @@ message QueryParamsResponse { Params params = 1 [(gogoproto.nullable) = false]; } +// ClaimSrcChain defines the src chain of a claim enum ClaimSrcChain { option (gogoproto.goproto_enum_prefix) = false; + // BSC defines BSC source chain BSC = 0; + // OP_BNB defines OPBNB source chain OP_BNB = 1; } // QueryInturnRelayerRequest is the request type for the Query In-turn relayer RPC method. message QueryInturnRelayerRequest { + // ClaimSrcChain defines the src chain of a claim ClaimSrcChain claim_src_chain = 1; } diff --git a/x/oracle/types/query.pb.go b/x/oracle/types/query.pb.go index 2a650efeb5..7b4d0dc3ab 100644 --- a/x/oracle/types/query.pb.go +++ b/x/oracle/types/query.pb.go @@ -29,10 +29,13 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// ClaimSrcChain defines the src chain of a claim type ClaimSrcChain int32 const ( - BSC ClaimSrcChain = 0 + // BSC defines BSC source chain + BSC ClaimSrcChain = 0 + // OP_BNB defines OPBNB source chain OP_BNB ClaimSrcChain = 1 ) @@ -139,6 +142,7 @@ func (m *QueryParamsResponse) GetParams() Params { // QueryInturnRelayerRequest is the request type for the Query In-turn relayer RPC method. type QueryInturnRelayerRequest struct { + // ClaimSrcChain defines the src chain of a claim ClaimSrcChain ClaimSrcChain `protobuf:"varint,1,opt,name=claim_src_chain,json=claimSrcChain,proto3,enum=cosmos.oracle.v1.ClaimSrcChain" json:"claim_src_chain,omitempty"` }