Summary
Add tests and guardrails ensuring repeated settlement calls for the same payroll batch cannot pay twice.
Why This Matters
Network retries and user double-clicks should not create duplicate payroll settlements.
Suggested Files
contracts/src/settlement.rs
contracts/src/payroll.rs
contracts/src/storage.rs
contracts/tests/settlement_idempotency.rs
Tasks
Acceptance Criteria
Coordination
Join the Telegram channel for proper coordination: https://t.me/zkpayroll
Summary
Add tests and guardrails ensuring repeated settlement calls for the same payroll batch cannot pay twice.
Why This Matters
Network retries and user double-clicks should not create duplicate payroll settlements.
Suggested Files
contracts/src/settlement.rscontracts/src/payroll.rscontracts/src/storage.rscontracts/tests/settlement_idempotency.rsTasks
Acceptance Criteria
Coordination
Join the Telegram channel for proper coordination: https://t.me/zkpayroll