Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shaspitz committed Sep 9, 2023
1 parent b5311b7 commit 3e823c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions x/ccv/provider/keeper/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 {
Expand Down
3 changes: 2 additions & 1 deletion x/ccv/provider/types/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3e823c3

Please sign in to comment.