Summary
Add behavior for pruning expired audit grants without affecting active grants or historical audit references.
Why This Matters
Expired grants should not keep granting visibility, but pruning must not destroy evidence needed for later verification.
Suggested Files
contracts/src/audit.rs
contracts/src/storage.rs
contracts/src/events.rs
contracts/tests/audit_grant_pruning.rs
Tasks
Acceptance Criteria
Coordination
Join the Telegram channel for proper coordination: https://t.me/zkpayroll
Summary
Add behavior for pruning expired audit grants without affecting active grants or historical audit references.
Why This Matters
Expired grants should not keep granting visibility, but pruning must not destroy evidence needed for later verification.
Suggested Files
contracts/src/audit.rscontracts/src/storage.rscontracts/src/events.rscontracts/tests/audit_grant_pruning.rsTasks
Acceptance Criteria
Coordination
Join the Telegram channel for proper coordination: https://t.me/zkpayroll