refactor: x/consensus audit changes (#16695)

This commit is contained in:
Likhita Polavarapu
2023-06-27 12:01:35 +00:00
committed by GitHub
parent ab77fe20d3
commit 1c091aab0b
8 changed files with 17 additions and 24 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ const (
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type QueryClient interface {
// Params queries the parameters of x/consensus_param module.
// Params queries the parameters of x/consensus module.
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
}
@@ -53,7 +53,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts .
// All implementations must embed UnimplementedQueryServer
// for forward compatibility
type QueryServer interface {
// Params queries the parameters of x/consensus_param module.
// Params queries the parameters of x/consensus module.
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
mustEmbedUnimplementedQueryServer()
}
+2 -2
View File
@@ -28,7 +28,7 @@ const (
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type MsgClient interface {
// UpdateParams defines a governance operation for updating the x/consensus_param module parameters.
// UpdateParams defines a governance operation for updating the x/consensus module parameters.
// The authority is defined in the keeper.
//
// Since: cosmos-sdk 0.47
@@ -56,7 +56,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts
// All implementations must embed UnimplementedMsgServer
// for forward compatibility
type MsgServer interface {
// UpdateParams defines a governance operation for updating the x/consensus_param module parameters.
// UpdateParams defines a governance operation for updating the x/consensus module parameters.
// The authority is defined in the keeper.
//
// Since: cosmos-sdk 0.47