-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
Description
Description
Clean up outdated or legacy artifacts in app/onchain that still refer to an older pool-based AidEscrow design and outdated method names, so contributors are not confused by conflicting documentation and tests.
Requirements
- Review and update
app/onchain/README.md:- Align method reference and invariants with the current
aid_escrowimplementation incontracts/aid_escrow/src/lib.rs. - Remove or clearly mark legacy concepts such as
fund,disburse,revoke, andrefundif they are not part of the current contract interface.
- Align method reference and invariants with the current
- Review
app/onchain/contracts/aid_escrow/tests/core_flow.rs:- This test file uses the legacy API (
init,fund,claim,revoke,refund) and pool model. - Decide whether to:
- Refactor it to target the current
aid_escrowcontract design, or - Move it to a clearly marked
legacy/orarchive/folder, or remove it if no longer relevant.
- Refactor it to target the current
- This test file uses the legacy API (
- Ensure
app/onchain/CONTRIBUTING.mdexamples and code snippets are consistent with the current contract API (method names, arguments, and error types). - After cleanup, there should be a single, coherent contract model exposed to contributors, with no conflicting docs or tests.
Complexity
- Level: 200
Reactions are currently unavailable