From 81cbc415205f336e4896e9b63d37e575c794007f Mon Sep 17 00:00:00 2001 From: sjtucoder Date: Mon, 22 Jul 2024 22:37:47 +0800 Subject: [PATCH] core: fix some comments Signed-off-by: sjtucoder --- proto/oracle/v1/oracle.proto | 4 ++-- x/oracle/types/oracle.pb.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/proto/oracle/v1/oracle.proto b/proto/oracle/v1/oracle.proto index b0c75b3e34..1944005d45 100644 --- a/proto/oracle/v1/oracle.proto +++ b/proto/oracle/v1/oracle.proto @@ -335,7 +335,7 @@ message Params { // PendingResolveList is a list of requests that are waiting to be resolved message PendingResolveList { option (gogoproto.equal) = true; - // RequestIDs is a list of request IDs that are waiting to be resolved + // RequestIds is a list of request IDs that are waiting to be resolved repeated uint64 request_ids = 1; } @@ -344,7 +344,7 @@ message PendingResolveList { message IBCChannel { option (gogoproto.equal) = true; - // PortID is port ID used for sending response packet when request is + // PortId is port ID used for sending response packet when request is // resolved. string port_id = 1; // ChannelID is channel ID used for sending response packet when request is diff --git a/x/oracle/types/oracle.pb.go b/x/oracle/types/oracle.pb.go index 59b60bfd39..a5e962f653 100644 --- a/x/oracle/types/oracle.pb.go +++ b/x/oracle/types/oracle.pb.go @@ -1266,7 +1266,7 @@ func (m *Params) GetIBCRequestEnabled() bool { // PendingResolveList is a list of requests that are waiting to be resolved type PendingResolveList struct { - // RequestIDs is a list of request IDs that are waiting to be resolved + // RequestIds is a list of request IDs that are waiting to be resolved RequestIds []uint64 `protobuf:"varint,1,rep,packed,name=request_ids,json=requestIds,proto3" json:"request_ids,omitempty"` } @@ -1313,7 +1313,7 @@ func (m *PendingResolveList) GetRequestIds() []uint64 { // IBCChannel is information of IBC protocol to allow communicating with other // chain type IBCChannel struct { - // PortID is port ID used for sending response packet when request is + // PortId is port ID used for sending response packet when request is // resolved. PortId string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` // ChannelID is channel ID used for sending response packet when request is