mango-v4/programs/mango-v4/tests/cases
Christian Kamm a151ebcf11
Account size: restict more, but only increases (#688)
* Account size: Don't fail on unrelated resize

If the account was previously resized to larger than is allowed now,
don't fail unrelated resizes.

* Further reduce account size limits

Out of caution and future-proofing. Can always raise again.

Perp settle pnl needs 6 accounts plus 2 health account lists that could
be nearly fully disjoint.
2023-08-21 14:34:52 +02:00
..
mod.rs Allow token withdraws/deposits even with stale oracles (#646) 2023-08-07 16:15:45 +02:00
test_alt.rs Create a single rust test binary (#425) 2023-01-30 21:09:47 +01:00
test_bankrupt_tokens.rs Restrict account growth (#686) 2023-08-19 08:20:40 +02:00
test_basic.rs Account size: restict more, but only increases (#688) 2023-08-21 14:34:52 +02:00
test_benchmark.rs Create a single rust test binary (#425) 2023-01-30 21:09:47 +01:00
test_borrow_limits.rs Net borrow limit: Separate out tracking and checking (#534) 2023-04-13 08:56:33 +02:00
test_delegate.rs Create a single rust test binary (#425) 2023-01-30 21:09:47 +01:00
test_fees_buyback_with_mngo.rs Enable self-trading protection (#533) 2023-05-15 10:40:41 +02:00
test_force_close.rs Enable self-trading protection (#533) 2023-05-15 10:40:41 +02:00
test_health_compute.rs Account size: restict more, but only increases (#688) 2023-08-21 14:34:52 +02:00
test_health_region.rs Perp: Exit matching loop when no more base lots can be filled (#576) 2023-05-08 06:40:38 +02:00
test_ix_gate_set.rs Compile and test fix (#645) 2023-07-14 16:27:52 +02:00
test_liq_perps_bankruptcy.rs Restrict account growth (#686) 2023-08-19 08:20:40 +02:00
test_liq_perps_base_and_bankruptcy.rs Configurable perp settle token (#550) 2023-05-17 15:50:05 +02:00
test_liq_perps_force_cancel.rs Enable self-trading protection (#533) 2023-05-15 10:40:41 +02:00
test_liq_perps_positive_pnl.rs Configurable perp settle token (#550) 2023-05-17 15:50:05 +02:00
test_liq_tokens.rs Restrict account growth (#686) 2023-08-19 08:20:40 +02:00
test_margin_trade.rs Restrict account growth (#686) 2023-08-19 08:20:40 +02:00
test_perp.rs Health: Allow actions while init health does not decrease (#592) 2023-06-15 10:44:11 +02:00
test_perp_settle.rs Configurable perp settle token (#550) 2023-05-17 15:50:05 +02:00
test_perp_settle_fees.rs Configurable perp settle token (#550) 2023-05-17 15:50:05 +02:00
test_position_lifetime.rs Restrict account growth (#686) 2023-08-19 08:20:40 +02:00
test_reduce_only.rs Enable self-trading protection (#533) 2023-05-15 10:40:41 +02:00
test_serum.rs Allow token withdraws/deposits even with stale oracles (#646) 2023-08-07 16:15:45 +02:00
test_stale_oracles.rs Allow token withdraws/deposits even with stale oracles (#646) 2023-08-07 16:15:45 +02:00
test_token_conditional_swap.rs Account size: restict more, but only increases (#688) 2023-08-21 14:34:52 +02:00
test_token_update_index_and_rate.rs Create a single rust test binary (#425) 2023-01-30 21:09:47 +01:00