Problem & Goal
Consolidate the storage keys read and written inside the body of admin_accrue_yield so a single invocation touches fewer ledger entries.
Context & Components
- Target Repository:
escrow-contract
- Module/Component:
admin_accrue_yield (Accrues interest into the stored yield total)
Implementation Details
- Review the existing codebase inside the
escrow-contract directory.
- Locate the source files relating to
admin_accrue_yield.
- Implement the feature logic/validation rules step-by-step.
- Ensure code conforms to codebase patterns (lints, formats, types).
Verification & Testing Requirements
- Validation check: Assert every existing test still passes unchanged while the number of distinct storage keys written by the call is reduced.
- Add comprehensive test cases matching these validation requirements.
- Ensure all other existing project tests continue to compile and pass.
Note: This issue is completely self-contained and does not block or require any other issues to be resolved.
Problem & Goal
Consolidate the storage keys read and written inside the body of
admin_accrue_yieldso a single invocation touches fewer ledger entries.Context & Components
escrow-contractadmin_accrue_yield(Accrues interest into the stored yield total)Implementation Details
escrow-contractdirectory.admin_accrue_yield.Verification & Testing Requirements
Note: This issue is completely self-contained and does not block or require any other issues to be resolved.