Summary
The contract should reject any buy submitted after the globally configured deadline ledger to prevent stale orders from executing. An integration test should confirm buys are blocked at and after the deadline and accepted before it.
Scope
- Set the global deadline to the current ledger sequence
- Attempt a buy and assert it panics with
deadline_passed
- Set the deadline to current ledger + 10
- Attempt a buy and assert it succeeds
- Assert supply and state unchanged after the blocked buy
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The contract should reject any buy submitted after the globally configured deadline ledger to prevent stale orders from executing. An integration test should confirm buys are blocked at and after the deadline and accepted before it.
Scope
deadline_passedAcceptance Criteria
deadline_passedwhen current ledger >= deadlineETA: 12 hours
Coordinate on Telegram