Description
Difficulty: Expert
Type: Test
Summary
Add tests for entering and exiting pause state if pause support exists.
Current Behaviour
Pause transitions can create unsafe or confusing contract behaviour.
Expected Behaviour
The contract should only allow authorised pause changes and should preserve accounting state.
Suggested Implementation
Test authorised pause, unauthorised pause, unpause, and user operation behaviour during pause.
Files or Areas Likely Affected
tests/
src/
Acceptance Criteria
Additional Notes
Only implement if pause is part of the design.
Description
Difficulty: Expert
Type: Test
Summary
Add tests for entering and exiting pause state if pause support exists.
Current Behaviour
Pause transitions can create unsafe or confusing contract behaviour.
Expected Behaviour
The contract should only allow authorised pause changes and should preserve accounting state.
Suggested Implementation
Test authorised pause, unauthorised pause, unpause, and user operation behaviour during pause.
Files or Areas Likely Affected
tests/
src/
Acceptance Criteria
Additional Notes
Only implement if pause is part of the design.