@@ -25,7 +25,7 @@ import (
25
25
var _ types.QueryServer = (* Keeper )(nil )
26
26
27
27
// ClientState implements the Query/ClientState gRPC method
28
- func (k Keeper ) ClientState (c context.Context , req * types.QueryClientStateRequest ) (* types.QueryClientStateResponse , error ) {
28
+ func (k * Keeper ) ClientState (c context.Context , req * types.QueryClientStateRequest ) (* types.QueryClientStateResponse , error ) {
29
29
if req == nil {
30
30
return nil , status .Error (codes .InvalidArgument , "empty request" )
31
31
}
@@ -56,7 +56,7 @@ func (k Keeper) ClientState(c context.Context, req *types.QueryClientStateReques
56
56
}
57
57
58
58
// ClientStates implements the Query/ClientStates gRPC method
59
- func (k Keeper ) ClientStates (c context.Context , req * types.QueryClientStatesRequest ) (* types.QueryClientStatesResponse , error ) {
59
+ func (k * Keeper ) ClientStates (c context.Context , req * types.QueryClientStatesRequest ) (* types.QueryClientStatesResponse , error ) {
60
60
if req == nil {
61
61
return nil , status .Error (codes .InvalidArgument , "empty request" )
62
62
}
@@ -100,7 +100,7 @@ func (k Keeper) ClientStates(c context.Context, req *types.QueryClientStatesRequ
100
100
}
101
101
102
102
// ConsensusState implements the Query/ConsensusState gRPC method
103
- func (k Keeper ) ConsensusState (c context.Context , req * types.QueryConsensusStateRequest ) (* types.QueryConsensusStateResponse , error ) {
103
+ func (k * Keeper ) ConsensusState (c context.Context , req * types.QueryConsensusStateRequest ) (* types.QueryConsensusStateResponse , error ) {
104
104
if req == nil {
105
105
return nil , status .Error (codes .InvalidArgument , "empty request" )
106
106
}
@@ -147,7 +147,7 @@ func (k Keeper) ConsensusState(c context.Context, req *types.QueryConsensusState
147
147
}
148
148
149
149
// ConsensusStates implements the Query/ConsensusStates gRPC method
150
- func (k Keeper ) ConsensusStates (c context.Context , req * types.QueryConsensusStatesRequest ) (* types.QueryConsensusStatesResponse , error ) {
150
+ func (k * Keeper ) ConsensusStates (c context.Context , req * types.QueryConsensusStatesRequest ) (* types.QueryConsensusStatesResponse , error ) {
151
151
if req == nil {
152
152
return nil , status .Error (codes .InvalidArgument , "empty request" )
153
153
}
@@ -191,7 +191,7 @@ func (k Keeper) ConsensusStates(c context.Context, req *types.QueryConsensusStat
191
191
}
192
192
193
193
// ConsensusStateHeights implements the Query/ConsensusStateHeights gRPC method
194
- func (k Keeper ) ConsensusStateHeights (c context.Context , req * types.QueryConsensusStateHeightsRequest ) (* types.QueryConsensusStateHeightsResponse , error ) {
194
+ func (k * Keeper ) ConsensusStateHeights (c context.Context , req * types.QueryConsensusStateHeightsRequest ) (* types.QueryConsensusStateHeightsResponse , error ) {
195
195
if req == nil {
196
196
return nil , status .Error (codes .InvalidArgument , "empty request" )
197
197
}
@@ -230,7 +230,7 @@ func (k Keeper) ConsensusStateHeights(c context.Context, req *types.QueryConsens
230
230
}
231
231
232
232
// ClientStatus implements the Query/ClientStatus gRPC method
233
- func (k Keeper ) ClientStatus (c context.Context , req * types.QueryClientStatusRequest ) (* types.QueryClientStatusResponse , error ) {
233
+ func (k * Keeper ) ClientStatus (c context.Context , req * types.QueryClientStatusRequest ) (* types.QueryClientStatusResponse , error ) {
234
234
if req == nil {
235
235
return nil , status .Error (codes .InvalidArgument , "empty request" )
236
236
}
@@ -248,7 +248,7 @@ func (k Keeper) ClientStatus(c context.Context, req *types.QueryClientStatusRequ
248
248
}
249
249
250
250
// ClientParams implements the Query/ClientParams gRPC method
251
- func (k Keeper ) ClientParams (c context.Context , _ * types.QueryClientParamsRequest ) (* types.QueryClientParamsResponse , error ) {
251
+ func (k * Keeper ) ClientParams (c context.Context , _ * types.QueryClientParamsRequest ) (* types.QueryClientParamsResponse , error ) {
252
252
ctx := sdk .UnwrapSDKContext (c )
253
253
params := k .GetParams (ctx )
254
254
@@ -258,7 +258,7 @@ func (k Keeper) ClientParams(c context.Context, _ *types.QueryClientParamsReques
258
258
}
259
259
260
260
// UpgradedClientState implements the Query/UpgradedClientState gRPC method
261
- func (k Keeper ) UpgradedClientState (c context.Context , req * types.QueryUpgradedClientStateRequest ) (* types.QueryUpgradedClientStateResponse , error ) {
261
+ func (k * Keeper ) UpgradedClientState (c context.Context , req * types.QueryUpgradedClientStateRequest ) (* types.QueryUpgradedClientStateResponse , error ) {
262
262
if req == nil {
263
263
return nil , status .Error (codes .InvalidArgument , "empty request" )
264
264
}
@@ -293,7 +293,7 @@ func (k Keeper) UpgradedClientState(c context.Context, req *types.QueryUpgradedC
293
293
}
294
294
295
295
// UpgradedConsensusState implements the Query/UpgradedConsensusState gRPC method
296
- func (k Keeper ) UpgradedConsensusState (c context.Context , req * types.QueryUpgradedConsensusStateRequest ) (* types.QueryUpgradedConsensusStateResponse , error ) {
296
+ func (k * Keeper ) UpgradedConsensusState (c context.Context , req * types.QueryUpgradedConsensusStateRequest ) (* types.QueryUpgradedConsensusStateResponse , error ) {
297
297
if req == nil {
298
298
return nil , status .Error (codes .InvalidArgument , "empty request" )
299
299
}
@@ -325,7 +325,7 @@ func (k Keeper) UpgradedConsensusState(c context.Context, req *types.QueryUpgrad
325
325
// VerifyMembership implements the Query/VerifyMembership gRPC method
326
326
// NOTE: Any state changes made within this handler are discarded by leveraging a cached context. Gas is consumed for underlying state access.
327
327
// This gRPC method is intended to be used within the context of the state machine and delegates to light clients to verify proofs.
328
- func (k Keeper ) VerifyMembership (c context.Context , req * types.QueryVerifyMembershipRequest ) (* types.QueryVerifyMembershipResponse , error ) {
328
+ func (k * Keeper ) VerifyMembership (c context.Context , req * types.QueryVerifyMembershipRequest ) (* types.QueryVerifyMembershipResponse , error ) {
329
329
if req == nil {
330
330
return nil , status .Error (codes .InvalidArgument , "empty request" )
331
331
}
0 commit comments