Backport hotfixes 29-06-2026#2814
Conversation
…ensor into fix/balancer-performance
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…g back the initial stake when the recycle or burn leg fails.
Fix balancer performance
Apply tx & dispatch extensions conditionally
|
|
||
| // Temporarily allow the destination coldkey to receive this stake even if some of it is | ||
| // locked; swap_coldkey_locks will copy the source AccountFlags over afterward. | ||
| Self::set_accept_locked_alpha(new_coldkey, true); |
There was a problem hiding this comment.
[MEDIUM] Coldkey swap now writes AccountFlags without a weight update
This call mutates AccountFlags before every coldkey swap, and swap_coldkey_locks now also removes/inserts AccountFlags when moving the source flags to the destination. The generated weights still list AccountFlags as r:1 w:0 for both swap_coldkey_announced and swap_coldkey, and weights.rs is unchanged in this PR, so these runtime extrinsics are undercharged for the new storage writes. Regenerate the benchmarks/weights, or manually update the swap weights to include the additional AccountFlags read/write operations.
🛡️ AI Review — Skeptic (security review)VERDICT: VULNERABLE BASELINE scrutiny: l0r1s has repo write permission, an established account, and many prior subtensor PRs; branch hotfixes-29-06-2026 -> devnet-ready; no Gittensor allowlist match found. The diff does not modify Findings
ConclusionThe PR appears legitimate, but the new # 🔍 AI Review — Auditor (domain review) has not yet run on this PR. |
|
🔄 AI review updated — Skeptic: VULNERABLE |
Backports the following hotfixes to devnet-ready: