From 245ce01b3774e2d9833118e8b571d62aafb8e5c2 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Wed, 24 Jul 2024 12:56:28 +0530 Subject: [PATCH] Fix typos in the proto files --- api/cerc/registry/v1/query.pulsar.go | 4 ++-- proto/cerc/registry/v1/query.proto | 4 ++-- x/registry/query.pb.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/cerc/registry/v1/query.pulsar.go b/api/cerc/registry/v1/query.pulsar.go index 863f7623..56843633 100644 --- a/api/cerc/registry/v1/query.pulsar.go +++ b/api/cerc/registry/v1/query.pulsar.go @@ -13002,7 +13002,7 @@ func (x *QueryWhoisResponse) GetNameAuthority() *NameAuthority { return nil } -// QueryWhoisRequest is request type to get all authorities +// QueryAuthoritiesRequest is request type to get all authorities type QueryAuthoritiesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -13038,7 +13038,7 @@ func (x *QueryAuthoritiesRequest) GetOwner() string { return "" } -// QQueryAuthoritiesResponse is response type for authorities request +// QueryAuthoritiesResponse is response type for authorities request type QueryAuthoritiesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/proto/cerc/registry/v1/query.proto b/proto/cerc/registry/v1/query.proto index fa9292cb..1d3052f8 100644 --- a/proto/cerc/registry/v1/query.proto +++ b/proto/cerc/registry/v1/query.proto @@ -157,10 +157,10 @@ message QueryWhoisResponse { ]; } -// QueryWhoisRequest is request type to get all authorities +// QueryAuthoritiesRequest is request type to get all authorities message QueryAuthoritiesRequest { string owner = 1; } -// QQueryAuthoritiesResponse is response type for authorities request +// QueryAuthoritiesResponse is response type for authorities request message QueryAuthoritiesResponse { repeated AuthorityEntry authorities = 1 [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. diff --git a/x/registry/query.pb.go b/x/registry/query.pb.go index 3e4530a7..1f906afe 100644 --- a/x/registry/query.pb.go +++ b/x/registry/query.pb.go @@ -915,7 +915,7 @@ func (m *QueryWhoisResponse) GetNameAuthority() NameAuthority { return NameAuthority{} } -// QueryWhoisRequest is request type to get all authorities +// QueryAuthoritiesRequest is request type to get all authorities type QueryAuthoritiesRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` } @@ -960,7 +960,7 @@ func (m *QueryAuthoritiesRequest) GetOwner() string { return "" } -// QQueryAuthoritiesResponse is response type for authorities request +// QueryAuthoritiesResponse is response type for authorities request type QueryAuthoritiesResponse struct { Authorities []AuthorityEntry `protobuf:"bytes,1,rep,name=authorities,proto3" json:"authorities"` // pagination defines the pagination in the response.