From e4ceb44f8ce4d24ce7864042e1cc7f826f49bd84 Mon Sep 17 00:00:00 2001 From: nfel Date: Sun, 30 Aug 2026 20:33:04 +0330 Subject: [PATCH] docs: record IPG amount shim cleanup --- REFACTORING-AUDIT.md | 1 + REFACTORING-TODO.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/REFACTORING-AUDIT.md b/REFACTORING-AUDIT.md index ac53a41..7e81c10 100644 --- a/REFACTORING-AUDIT.md +++ b/REFACTORING-AUDIT.md @@ -472,3 +472,4 @@ Migration order implied by the map: isolate shared infrastructure constructors ( - Removed the now-redundant `core/marketImp/amount.go` shim and routed market settlement directly to `application/market.RawAmount`; focused market tests pass in `085140c`. - Removed the redundant `agreementAmountMatches` wrapper and routed ICO agreement checks/tests directly to `application/market.AgreementAmountMatches`; focused market tests pass in `261c6a1`. +- Removed the redundant `core/walletImp/ipg_amount.go` shim and routed IPG Toman/Rial conversion callers/tests directly to `application/deposit`; focused Wallet tests pass in `1493486`. diff --git a/REFACTORING-TODO.md b/REFACTORING-TODO.md index e5b16be..5894fab 100644 --- a/REFACTORING-TODO.md +++ b/REFACTORING-TODO.md @@ -331,4 +331,4 @@ Append one row whenever a task changes status. Existing rows are never rewritten | 2026-08-30 | W010 | `TODO` | `STARTED` | Added `application/cron.Retry`, `application/stream.IsNew`, stream external-deposit transaction policy, and dedicated `SetupCronRepository`/`SetupStreamRepository` paths. Focused Wallet tests pass in `db52f89`. Remaining process composition work remains. | | 2026-08-30 | W009 | `TODO` | `STARTED` | Added `application/walletlock` lock/release mutation policies with frozen/available balance tests; internal RPC retains transaction scope, ledger journaling, persistence, and error mapping. Focused Wallet tests pass in `382fd79`. Remaining internal-wallet operations stay at the service boundary. | | 2026-08-30 | W011 | `TODO` | `STARTED` | Added dedicated alert, market, internal-wallet, stream, cron, and wallet repository setup entry points; each mode now declares its bootstrap profile. Command/core tests pass in `cf13a58`. Dependency internals and superseded bootstrap cleanup remain. | -| 2026-08-30 | W012 | `TODO` | `STARTED` | Removed redundant market amount and agreement-tolerance delegation shims; market callers/tests now use `application/market` policies directly. Focused market tests pass in `261c6a1`. Remaining core implementation cleanup is pending. | +| 2026-08-30 | W012 | `TODO` | `STARTED` | Removed redundant market amount/agreement and IPG amount delegation shims; callers/tests now use application policies directly. Focused Wallet tests pass in `1493486`. Remaining core implementation cleanup is pending. |