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,