From 3e823c3c2bf9fc85a0f0ee8f577e6aad4c3f1627 Mon Sep 17 00:00:00 2001 From: Shawn <44221603+smarshall-spitzbart@users.noreply.github.com> Date: Fri, 8 Sep 2023 17:03:54 -0700 Subject: [PATCH] lint --- x/ccv/provider/keeper/proposal.go | 5 ++--- x/ccv/provider/types/proposal.go | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/x/ccv/provider/keeper/proposal.go b/x/ccv/provider/keeper/proposal.go index 6a157bbc6a..df51768868 100644 --- a/x/ccv/provider/keeper/proposal.go +++ b/x/ccv/provider/keeper/proposal.go @@ -21,7 +21,6 @@ import ( "github.com/cosmos/interchain-security/v3/x/ccv/provider/types" ccv "github.com/cosmos/interchain-security/v3/x/ccv/types" - ccvtypes "github.com/cosmos/interchain-security/v3/x/ccv/types" ) // HandleConsumerAdditionProposal will receive the consumer chain's client state from the proposal. @@ -631,8 +630,8 @@ func (k Keeper) HandleConsumerRewardDenomProposal(ctx sdk.Context, p *types.Chan } k.SetConsumerRewardDenom(ctx, denomToAdd) ctx.EventManager().EmitEvent(sdk.NewEvent( - ccvtypes.EventTypeRegisterConsumerRewardDenom, - sdk.NewAttribute(ccvtypes.AttributeConsumerRewardDenom, denomToAdd), + ccv.EventTypeRegisterConsumerRewardDenom, + sdk.NewAttribute(ccv.AttributeConsumerRewardDenom, denomToAdd), )) } for _, denomToRemove := range p.DenomsToRemove { diff --git a/x/ccv/provider/types/proposal.go b/x/ccv/provider/types/proposal.go index de0209dbca..47020ae696 100644 --- a/x/ccv/provider/types/proposal.go +++ b/x/ccv/provider/types/proposal.go @@ -236,7 +236,8 @@ func (sp *EquivocationProposal) ValidateBasic() error { } func NewChangeRewardDenomsProposal(title, description string, - denomsToAdd, denomsToRemove []string) govv1beta1.Content { + denomsToAdd, denomsToRemove []string, +) govv1beta1.Content { return &ChangeRewardDenomsProposal{ Title: title, Description: description,