Description
Difficulty: Expert
Type: Test
Summary
Add invariant-style tests proving minting only succeeds for compliant assets, authorised issuers, and whitelisted recipients.
Current Behaviour
Minting paths may have basic tests but not enough coverage for compliance and authorisation interactions.
Expected Behaviour
The test suite should prove non-compliant recipients, unauthorised issuers, invalid assets, and paused states cannot mint.
Suggested Implementation
Create deterministic scenario matrix tests for minting success, rejected recipient, wrong issuer, invalid asset, revoked compliance, and repeated actions.
Files or Areas Likely Affected
Acceptance Criteria
Additional Notes
This supports audit readiness.
Description
Difficulty: Expert
Type: Test
Summary
Add invariant-style tests proving minting only succeeds for compliant assets, authorised issuers, and whitelisted recipients.
Current Behaviour
Minting paths may have basic tests but not enough coverage for compliance and authorisation interactions.
Expected Behaviour
The test suite should prove non-compliant recipients, unauthorised issuers, invalid assets, and paused states cannot mint.
Suggested Implementation
Create deterministic scenario matrix tests for minting success, rejected recipient, wrong issuer, invalid asset, revoked compliance, and repeated actions.
Files or Areas Likely Affected
Acceptance Criteria
Additional Notes
This supports audit readiness.