Fix silent cap on transferred alpha amount by lock-available#2829
Conversation
🚨🚨🚨 HOTFIX DETECTED 🚨🚨🚨It looks like you are trying to merge a hotfix PR into If you are trying to merge a hotfix PR, please complete the following essential steps:
If you do not complete these steps, your hotfix may be inadvertently removed in the future when branches are promoted to |
18cfe63 to
f14085b
Compare
🛡️ AI Review — Skeptic (security review)VERDICT: VULNERABLE Baseline scrutiny: l0r1s is an established write-permission contributor with substantial prior subtensor activity; no Gittensor allowlist match found. Branch is I found no malicious code, supply-chain changes, Findings
Other findings
ConclusionVerdict is # 🔍 AI Review — Auditor (domain review) has not yet run on this PR. |
|
🔄 AI review updated — Skeptic: VULNERABLE |
Description
Note: This is a good PR for the community to discuss and possibly vote.
When transferring alpha between subnets, the extrinsics currently silently cap transfer amount by available alpha: If more alpha is requested to transfer, the extrinsic transfers only what's available and succeeds. There are two concurrent and conflicting issues:
Type of Change
Breaking Change
Some clients may be broken if they request transfer amounts above the unlocked alpha.
Checklist
./scripts/fix_rust.shto ensure my code is formatted and linted correctly