Skip to content

Commit

Permalink
remove isolated markets from sims until the full order flow is implem…
Browse files Browse the repository at this point in the history
…ented

Signed-off-by: Shrenuj Bansal <shrenuj@dydx.exchange>
  • Loading branch information
shrenujb committed Mar 6, 2024
1 parent 4a3d396 commit 4a7d3a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions protocol/x/perpetuals/simulation/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,7 @@ func RandomizedGenState(simState *module.SimulationState) {
marketId := marketsForPerp[i]

marketType := types.PerpetualMarketType_PERPETUAL_MARKET_TYPE_CROSS
if i%2 == 0 {
marketType = types.PerpetualMarketType_PERPETUAL_MARKET_TYPE_ISOLATED
}
// TODO: add isolated markets when order placements for isolated markets are supported

perpetuals[i] = types.Perpetual{
Params: types.PerpetualParams{
Expand Down

0 comments on commit 4a7d3a9

Please sign in to comment.