Skip to content

Commit

Permalink
imp: add more info to godoc for VerifyMembership rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan committed Feb 15, 2024
1 parent 41b6e5c commit 00f59e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/core/02-client/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ func (k Keeper) UpgradedConsensusState(c context.Context, req *types.QueryUpgrad
}

// VerifyMembership implements the Query/VerifyMembership gRPC method
// NOTE: Any state changes made within this handler are discarded by leveraging a cached context. Gas is consumed for underlying state access.
// This gRPC method is intended to be used within the context of the state machine and delegates to light clients to verify proofs.
func (k Keeper) VerifyMembership(c context.Context, req *types.QueryVerifyMembershipRequest) (*types.QueryVerifyMembershipResponse, error) {
if req == nil {
return nil, status.Error(codes.InvalidArgument, "empty request")
Expand Down

0 comments on commit 00f59e8

Please sign in to comment.