Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwschau committed Mar 19, 2024
1 parent bace278 commit 2bbf4df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions indexer/services/ender/__tests__/helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
OrderFillEventV1,
OrderRemovalReason,
PerpetualMarketCreateEventV1,
PerpetualMarketType,
StatefulOrderEventV1,
SubaccountMessage,
SubaccountUpdateEventV1,
Expand Down Expand Up @@ -138,6 +139,7 @@ export const defaultPerpetualMarketCreateEvent: PerpetualMarketCreateEventV1 = {
subticksPerTick: 100,
stepBaseQuantums: Long.fromValue(10, true),
liquidityTier: 0,
marketType: PerpetualMarketType.PERPETUAL_MARKET_TYPE_CROSS,
};

export const defaultLiquidityTierUpsertEvent: LiquidityTierUpsertEventV1 = {
Expand Down
2 changes: 2 additions & 0 deletions protocol/x/clob/abci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ func TestEndBlocker_Success(t *testing.T) {
constants.ClobPair_Btc.SubticksPerTick,
constants.ClobPair_Btc.StepBaseQuantums,
constants.BtcUsd_20PercentInitial_10PercentMaintenance.Params.LiquidityTier,
constants.BtcUsd_20PercentInitial_10PercentMaintenance.Params.MarketType,
),
),
).Once().Return()
Expand Down Expand Up @@ -744,6 +745,7 @@ func TestEndBlocker_Success(t *testing.T) {
constants.ClobPair_Eth.SubticksPerTick,
constants.ClobPair_Eth.StepBaseQuantums,
constants.EthUsd_20PercentInitial_10PercentMaintenance.Params.LiquidityTier,
constants.BtcUsd_20PercentInitial_10PercentMaintenance.Params.MarketType,
),
),
).Once().Return()
Expand Down

0 comments on commit 2bbf4df

Please sign in to comment.