Skip to content

Commit

Permalink
chore: update queryProviderChainInfo to queryProviderInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaru Wang committed Aug 8, 2023
1 parent 4b6fdbe commit 02b0338
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 72 deletions.
2 changes: 1 addition & 1 deletion proto/interchain_security/ccv/consumer/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ service Query {
option (google.api.http).get = "/interchain_security/ccv/consumer/params";
}

rpc QueryProviderChainInfo(QueryProviderInfoRequest) returns (QueryProviderInfoResponse) {
rpc QueryProviderInfo(QueryProviderInfoRequest) returns (QueryProviderInfoResponse) {
option (google.api.http).get = "/interchain_security/ccv/consumer/provider-info";
}
}
Expand Down
8 changes: 4 additions & 4 deletions x/ccv/consumer/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
var _ types.QueryServer = Keeper{} //nolint:golint

func (k Keeper) QueryNextFeeDistribution(c context.Context, //nolint:golint
req *types.QueryNextFeeDistributionEstimateRequest,
req *types.QueryNextFeeDistributionEstimateRequest,

Check failure on line 17 in x/ccv/consumer/keeper/grpc_query.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gci`-ed with --skip-generated -s standard,default,blank,dot,prefix(cosmossdk.io),prefix(github.com/cosmos/cosmos-sdk),prefix(github.com/cometbft/cometbft),prefix(github.com/cosmos/interchain-security) (gci)
) (*types.QueryNextFeeDistributionEstimateResponse, error) {
ctx := sdk.UnwrapSDKContext(c)

Expand All @@ -28,7 +28,7 @@ func (k Keeper) QueryNextFeeDistribution(c context.Context, //nolint:golint
}

func (k Keeper) QueryParams(c context.Context, //nolint:golint
req *types.QueryParamsRequest,
req *types.QueryParamsRequest,

Check failure on line 31 in x/ccv/consumer/keeper/grpc_query.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gci`-ed with --skip-generated -s standard,default,blank,dot,prefix(cosmossdk.io),prefix(github.com/cosmos/cosmos-sdk),prefix(github.com/cometbft/cometbft),prefix(github.com/cosmos/interchain-security) (gci)
) (*types.QueryParamsResponse, error) {
ctx := sdk.UnwrapSDKContext(c)

Expand All @@ -41,8 +41,8 @@ func (k Keeper) QueryParams(c context.Context, //nolint:golint
return &types.QueryParamsResponse{Params: p}, nil
}

func (k Keeper) QueryProviderChainInfo(c context.Context, //nolint:golint
req *types.QueryProviderInfoRequest,
func (k Keeper) QueryProviderInfo(c context.Context, //nolint:golint
req *types.QueryProviderInfoRequest,

Check failure on line 45 in x/ccv/consumer/keeper/grpc_query.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gci`-ed with --skip-generated -s standard,default,blank,dot,prefix(cosmossdk.io),prefix(github.com/cosmos/cosmos-sdk),prefix(github.com/cometbft/cometbft),prefix(github.com/cosmos/interchain-security) (gci)
) (*types.QueryProviderInfoResponse, error) {
ctx := sdk.UnwrapSDKContext(c)
if req == nil {
Expand Down
110 changes: 55 additions & 55 deletions x/ccv/consumer/types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions x/ccv/consumer/types/query.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 02b0338

Please sign in to comment.