Description
Difficulty: Expert
Type: Test
Summary
Add tests for operations using invalid or missing lock IDs.
Current Behaviour
Invalid lock references should fail safely without mutating state.
Expected Behaviour
The contract should reject unknown, malformed, or wrong-owner lock IDs.
Suggested Implementation
Create tests for read, withdraw, and status checks using invalid lock IDs.
Files or Areas Likely Affected
tests/
src/
Acceptance Criteria
Additional Notes
This protects lock operations.
Description
Difficulty: Expert
Type: Test
Summary
Add tests for operations using invalid or missing lock IDs.
Current Behaviour
Invalid lock references should fail safely without mutating state.
Expected Behaviour
The contract should reject unknown, malformed, or wrong-owner lock IDs.
Suggested Implementation
Create tests for read, withdraw, and status checks using invalid lock IDs.
Files or Areas Likely Affected
tests/
src/
Acceptance Criteria
Additional Notes
This protects lock operations.