You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add test_repay_base_fails_non_owner: the owner gate that backstops
withdraw_without_owner_check had no negative test (review #1).
- Strengthen overbuys-short test to a clear overshoot (150 vs 100 debt) and
assert the 50 surplus lands as manager-owned base, not lost/aborted (#7).
- Fix reduce_only_bid_cap doc: the residual over-cover is bounded by one lot
OR one min_size (floor branch can exceed a lot when min_size > lot_size),
not 'always under one lot'; note monotonic/solvency is the real guard (#3/#4).
- Pin the single-debt-side invariant (single margin_pool_id) at the v3 repay
dispatch so has_base_debt-else-quote reads as exhaustive (#6).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments