Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint
Browse files Browse the repository at this point in the history
shaspitz committed Sep 9, 2023

Unverified

This user has not yet uploaded their public signing key.
1 parent b5311b7 commit 3e823c3
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
@@ -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 {
3 changes: 2 additions & 1 deletion x/ccv/provider/types/proposal.go
Original file line number Diff line number Diff line change
@@ -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,

0 comments on commit 3e823c3

Please sign in to comment.