Skip to content

Commit

Permalink
chore: nolint:golint
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaru Wang committed Aug 7, 2023
1 parent ed67f9f commit a4bd742
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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 @@ -9,9 +9,9 @@ import (
"google.golang.org/grpc/status"

Check failure on line 9 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)
)

var _ types.QueryServer = Keeper{} //nolint
var _ types.QueryServer = Keeper{} //nolint:golint

func (k Keeper) QueryNextFeeDistribution(c context.Context, //nolint
func (k Keeper) QueryNextFeeDistribution(c context.Context, //nolint:golint
req *types.QueryNextFeeDistributionEstimateRequest,
) (*types.QueryNextFeeDistributionEstimateResponse, error) {
ctx := sdk.UnwrapSDKContext(c)
Expand All @@ -25,7 +25,7 @@ func (k Keeper) QueryNextFeeDistribution(c context.Context, //nolint
return &types.QueryNextFeeDistributionEstimateResponse{Data: &nextDist}, nil
}

func (k Keeper) QueryParams(c context.Context, //nolint
func (k Keeper) QueryParams(c context.Context, //nolint:golint
req *types.QueryParamsRequest,
) (*types.QueryParamsResponse, error) {
ctx := sdk.UnwrapSDKContext(c)
Expand All @@ -39,7 +39,7 @@ func (k Keeper) QueryParams(c context.Context, //nolint
return &types.QueryParamsResponse{Params: p}, nil
}

func (k Keeper) QueryProviderChainInfo(c context.Context, //nolint
func (k Keeper) QueryProviderChainInfo(c context.Context, //nolint:golint
req *types.QueryProviderInfoRequest,
) (*types.QueryProviderInfoResponse, error) {
ctx := sdk.UnwrapSDKContext(c)
Expand Down
4 changes: 2 additions & 2 deletions x/ccv/consumer/keeper/provider_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"

Check failure on line 4 in x/ccv/consumer/keeper/provider_info.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)

ibctm "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint" //nolint
ibctm "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint" //nolint:golint

Check failure on line 7 in x/ccv/consumer/keeper/provider_info.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)
"github.com/cosmos/interchain-security/v3/x/ccv/consumer/types"
ccvtypes "github.com/cosmos/interchain-security/v3/x/ccv/types"
)

func (k Keeper) GetProviderChainInfo(ctx sdk.Context) (*types.QueryProviderInfoResponse, error) { //nolint
func (k Keeper) GetProviderChainInfo(ctx sdk.Context) (*types.QueryProviderInfoResponse, error) { //nolint:golint
// get the channelID for the channel to the provider.
consumerChannelID, found := k.GetProviderChannel(ctx)
if !found {
Expand Down

0 comments on commit a4bd742

Please sign in to comment.