Switch subnet emissions to price-based shares#2779
Conversation
…ection cap - get_shares now uses the subnet price EMA (SubnetMovingPrice) so emission is proportional to normalized price over emit-enabled subnets. - Alpha injection cap is now root_proportion * alpha_emission, so older subnets (lower root proportion) transition from liquidity injection to chain buys. - Update/repair affected emission tests; drop obsolete TAO-flow share tests. Co-authored-by: Cursor <cursoragent@cursor.com>
🛡️ AI Review — Skeptic (security review)VERDICT: VULNERABLE BASELINE scrutiny: gztensor has repo write permission and substantial prior subtensor activity; PR is No malicious code pattern found in the runtime diff itself: no new dependencies, no Findings
Other findings
Prior-comment reconciliation
ConclusionThis appears to be a legitimate economic runtime change, but it still targets 📜 Previous run (superseded)
# 🔍 AI Review — Auditor (domain review) has not yet run on this PR. |
|
🔄 AI review updated — Skeptic: VULNERABLE |
|
🔄 AI review updated — Skeptic: VULNERABLE |
Description
Switch subnet emissions to price-based shares and root-proportion injection cap
Type of Change
Checklist
./scripts/fix_rust.shto ensure my code is formatted and linted correctly