Skip to content

block amm fills when paused_operations set#2108

Merged
crispheaney merged 3 commits intomasterfrom
ahzam/fix-paused-ops-amm-fill
Feb 9, 2026
Merged

block amm fills when paused_operations set#2108
crispheaney merged 3 commits intomasterfrom
ahzam/fix-paused-ops-amm-fill

Conversation

@0xahzam
Copy link
Contributor

@0xahzam 0xahzam commented Feb 9, 2026

Issue

  • Users with paused_operations=4 (AmmAtomicRiskIncreasingFill) could still fill against AMM

Changes

  • Added user_can_skip_auction_duration check in high-risk path before jit logic
  • Added tests for both paths with delay=0 edge case

@0xahzam 0xahzam requested a review from crispheaney February 9, 2026 18:36
@crispheaney crispheaney merged commit 22574d0 into master Feb 9, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants