Skip to content

Commit

Permalink
fix: lint error (#4781)
Browse files Browse the repository at this point in the history
* lint

* lint
  • Loading branch information
czarcas7ic authored Mar 29, 2023
1 parent 1fb9da8 commit 17f4cd5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions x/concentrated-liquidity/fees.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package concentrated_liquidity

import (
"fmt"
"strconv"

sdk "github.com/cosmos/cosmos-sdk/types"

Expand Down Expand Up @@ -244,10 +245,10 @@ func (k Keeper) collectFees(ctx sdk.Context, owner sdk.AccAddress, positionId ui
// Emit an event for the fees collected.
ctx.EventManager().EmitEvents(sdk.Events{
sdk.NewEvent(
cltypes.TypeEvtCollectFees,
sdk.NewAttribute(sdk.AttributeKeyModule, cltypes.AttributeValueCategory),
sdk.NewAttribute(cltypes.AttributeKeyPositionId, strconv.FormatUint(positionId, 10)),
sdk.NewAttribute(cltypes.AttributeKeyTokensOut, feesClaimed.String()),
types.TypeEvtCollectFees,
sdk.NewAttribute(sdk.AttributeKeyModule, types.AttributeValueCategory),
sdk.NewAttribute(types.AttributeKeyPositionId, strconv.FormatUint(positionId, 10)),
sdk.NewAttribute(types.AttributeKeyTokensOut, feesClaimed.String()),
),
})

Expand Down
1 change: 1 addition & 0 deletions x/concentrated-liquidity/incentives.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package concentrated_liquidity

import (
"fmt"
"strconv"
"time"

sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down

0 comments on commit 17f4cd5

Please sign in to comment.