From ca540a63eef895038de7bc609de9d722cb7b1462 Mon Sep 17 00:00:00 2001 From: Teddy Ding Date: Wed, 15 Jan 2025 00:26:47 -0500 Subject: [PATCH] fix lint --- ...ver_upgrade_isolated_perpetual_to_cross_test.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/protocol/x/listing/keeper/msg_server_upgrade_isolated_perpetual_to_cross_test.go b/protocol/x/listing/keeper/msg_server_upgrade_isolated_perpetual_to_cross_test.go index 8e3751b3dc..466c5e127c 100644 --- a/protocol/x/listing/keeper/msg_server_upgrade_isolated_perpetual_to_cross_test.go +++ b/protocol/x/listing/keeper/msg_server_upgrade_isolated_perpetual_to_cross_test.go @@ -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)