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; branch feat/account-dust-collection -> devnet-ready. The diff is targeted runtime/accounting work with no FindingsNo findings. Prior-comment reconciliation
ConclusionNo malicious pattern or exploitable security vulnerability found in the static diff. The prior runtime-version issue has been fixed, so the PR is clear from the Skeptic perspective. 📜 Previous run (superseded)
🔍 AI Review — Auditor (domain review)VERDICT: 👍 Gittensor UNKNOWN: no allowlist hit; author is an established repo writer with high recent subtensor contribution volume, so review focused on correctness rather than intent. No blocking domain findings. The dust accounting change moves Subtensor Description discrepancy: the diff also carries an unrelated hotkey-swap ownership-check change in Verification: attempted targeted tests for FindingsNo findings. ConclusionApprove. The runtime-affecting dust-accounting change has a spec bump in the diff, a bounded migration path, and focused test coverage; remaining risk is limited to tests/live spec check that could not be executed in this sandbox. |
|
🔄 AI review updated — Skeptic: VULNERABLE |
|
🔄 AI review updated — Skeptic: VULNERABLE |
|
🔄 AI review updated — Skeptic: VULNERABLE |
|
🔄 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