Description
Develop and deliver restrict mutating methods when paused with production-grade quality, including implementation, tests, and documentation aligned with ChronoPay architecture.
Requirements and context
- Must be secure, tested, and documented.
- Should be efficient and easy to review.
- Scope is limited to
ChronoPay-Contracts/contracts/chronopay/src.
- Include clear acceptance criteria and failure-mode handling.
Suggested execution
- Fork the repo and create a branch.
git checkout -b feature/sc-031
- Implement changes in the scoped modules.
- Add/expand automated tests.
- Add docs and inline comments for non-obvious logic.
- Validate security assumptions and edge cases.
Test and commit
- Run full test suite and relevant targeted tests.
- Cover edge cases, invalid inputs, and authorization paths.
- Include test output and short security notes in PR/issue updates.
Example commit message
feat(contract): restrict mutating methods when paused
Guidelines
- Minimum 95% test coverage for touched modules.
- Clear documentation for behavior, assumptions, and constraints.
- Target timeframe: 96 hours.
Description
Develop and deliver restrict mutating methods when paused with production-grade quality, including implementation, tests, and documentation aligned with ChronoPay architecture.
Requirements and context
ChronoPay-Contracts/contracts/chronopay/src.Suggested execution
git checkout -b feature/sc-031Test and commit
Example commit message
feat(contract): restrict mutating methods when pausedGuidelines