Description
Difficulty: Expert
Type: Test
Summary
Add tests for authorisation failure cases across Savings Vault operations.
Current Behaviour
Authorisation failures may not be covered consistently for all mutating contract methods.
Expected Behaviour
The test suite should verify that unauthorised callers cannot deposit for restricted accounts, lock funds, withdraw funds, or mutate protected state where applicable.
Suggested Implementation
Create wrong-caller tests, state consistency assertions, and documentation notes.
Files or Areas Likely Affected
- contracts/
- src/
- tests/
- docs/
Acceptance Criteria
Additional Notes
This is a GrantFox-standard contract issue requiring tests.
Description
Difficulty: Expert
Type: Test
Summary
Add tests for authorisation failure cases across Savings Vault operations.
Current Behaviour
Authorisation failures may not be covered consistently for all mutating contract methods.
Expected Behaviour
The test suite should verify that unauthorised callers cannot deposit for restricted accounts, lock funds, withdraw funds, or mutate protected state where applicable.
Suggested Implementation
Create wrong-caller tests, state consistency assertions, and documentation notes.
Files or Areas Likely Affected
Acceptance Criteria
Additional Notes
This is a GrantFox-standard contract issue requiring tests.