Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyding committed Jan 15, 2025
1 parent a2cf22c commit ca540a6
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,14 @@ func TestMsgUpgradeIsolatedPerpetualToCross(t *testing.T) {
perpetual, err = perpetualsKeeper.GetPerpetual(ctx, tc.msg.PerpetualId)
require.NoError(t, err)
expectedIndexerEvent := &indexerevents.UpdatePerpetualEventV3{
Id: perpetual.Params.Id,
Ticker: perpetual.Params.Ticker,
MarketId: perpetual.Params.MarketId,
AtomicResolution: perpetual.Params.AtomicResolution,
LiquidityTier: perpetual.Params.LiquidityTier,
MarketType: v1.ConvertToPerpetualMarketType(perpetualtypes.PerpetualMarketType_PERPETUAL_MARKET_TYPE_CROSS),
Id: perpetual.Params.Id,
Ticker: perpetual.Params.Ticker,
MarketId: perpetual.Params.MarketId,
AtomicResolution: perpetual.Params.AtomicResolution,
LiquidityTier: perpetual.Params.LiquidityTier,
MarketType: v1.ConvertToPerpetualMarketType(
perpetualtypes.PerpetualMarketType_PERPETUAL_MARKET_TYPE_CROSS,
),
DefaultFunding8HrPpm: perpetual.Params.DefaultFundingPpm,
}
emittedIndexerEvents := getUpdatePerpetualEventsFromIndexerBlock(ctx, keeper)
Expand Down

0 comments on commit ca540a6

Please sign in to comment.