Custom dust collection type in subtensor#2707
Conversation
🛡️ AI Review — Skeptic (security review)VERDICT: SAFE LOW scrutiny: established repo writer with write permission, substantial contribution history, no Gittensor allowlist hit; one non-author merge-from-base commit noted; branch feat/account-dust-collection -> devnet-ready. Static review used only trusted instructions and prefetched local context. The PR diff is limited to runtime/accounting changes: Balances dust removal now adjusts Subtensor FindingsNo findings. ConclusionNo malicious pattern or exploitable security vulnerability found in the static diff. 🔍 AI Review — Auditor (domain review)VERDICT: 👍 Gittensor UNKNOWN: no allowlist hit; author has repo write permission and substantial recent Subtensor contribution history. Duplicate-work check: #2754 is the only topical overlap from the prefetched open-PR list ( Spec version is bumped to FindingsNo findings. Prior-comment reconciliation
ConclusionApprove. The PR now wires dust removal into Subtensor total issuance at the runtime boundary, includes a bounded reset migration path, and adds focused coverage for the balances dust case. 📜 Previous run (superseded)
|
|
🔄 AI review updated — Skeptic: VULNERABLE |
|
🔄 AI review updated — Skeptic: VULNERABLE |
|
🔄 AI review updated — Skeptic: VULNERABLE |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👎 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
Description
This PR adds a subtensor pallet type implementation for dust collection that reflects dust collection in subtensor TotalIssuance. Also, it adds a migration that syncs total issuance of subtensor pallet to the source of truth in balances pallet.
Type of Change
Checklist
./scripts/fix_rust.shto ensure my code is formatted and linted correctly