Skip to content

Releases: RaoFoundation/subtensor

v3.4.5-419

Choose a tag to compare

@sam0x17 sam0x17 released this 17 Jun 14:34
fa83646

Security hotfix — resolves a set of findings from a recent security audit, primarily hardening the proxy permission system along with several hotkey-swap and staking edge cases. Mainnet upgraded to spec_version 419. All findings were reproduced with regression tests before being fixed.

🔒 Security advisories

Advisory Severity Summary
GHSA-m759-m8mv-q3m5 🟠 High Restricted proxies (NonTransfer/NonFungible/NonCritical) can take over an entire coldkey via the announce/swap coldkey-swap lifecycle
GHSA-qh57-vpv2-3fvp 🟠 High NonFungible proxy denylist omits live swap_hotkey_v2 (call 72), letting a scoped delegate reassign a victim's hotkey identity
GHSA-xm63-2wwx-pm6w 🟡 Moderate Owner proxy except sudo_set_sn_owner_hotkey carve-out is bypassable via the duplicate alias sudo_set_subnet_owner_hotkey
GHSA-h98r-p37h-h4mv 🟡 Moderate set_weights/commit_weights family is Pays::No with the per-neuron rate limit enforced only in the dispatch body, enabling fee-free block-fill flooding
GHSA-6c95-q3r3-rgwq 🟢 Low Root cleanliness gate omits RootClaimed, letting a hotkey-swap merge inflate the claimed high-water mark and under-pay future root dividends
GHSA-vpjj-mhgr-cphg 🟢 Low Per-subnet hotkey-swap cooldown (HotkeySwapOnSubnetInterval) is bypassable via the all-subnets swap path
GHSA-rhmm-mqf8-v6gv 🟢 Low StakingColdkeysByIndex / NumStakingColdkeys grow monotonically and are never pruned
GHSA-wc2g-rc74-vgw3 🟢 Low Per-subnet ChildkeyTake is not migrated during hotkey swap, silently resetting it

What's changed

  • Proxy filter hardening — cover the coldkey-swap lifecycle, swap_hotkey_v2, and the sudo_set_subnet_owner_hotkey alias in the restricted-proxy filters (#5, #6, #7)
  • Weight-setting throttle — enforce the per-neuron set_weights/commit_weights rate limit pre-dispatch (#10)
  • Hotkey-swap correctnessRootClaimed watermark accounting (#14), per-subnet swap cooldown on the all-subnets path (#15), per-subnet ChildkeyTake migration (#18), plus review follow-ups merging RootClaimed by sum and extending the cooldown to parent-key subnets (#22)
  • Storage housekeeping — prune the staking-coldkey index when no longer needed (#16)
  • Bump spec_version to 419

Full Changelog: v3.4.4-417...v3.4.5-419

v3.4.4-417

Choose a tag to compare

@sam0x17 sam0x17 released this 10 Jun 21:34
49164bd

Hotfix: adds a check that ensures that during a hotkey swap, the new hotkey already exists globally and is owned by corresponding coldkey

Full Changelog: v3.4.3-416...v3.4.4-417

v3.4.3-416

Choose a tag to compare

@sam0x17 sam0x17 released this 08 Jun 21:19
3c5aff0

What's Changed

Full Changelog: v3.4.2-415...v3.4.3-416

v3.4.2-415

Choose a tag to compare

@sam0x17 sam0x17 released this 03 Jun 16:53
1104f2a

What's Changed

Full Changelog: v3.4.1-413...v3.4.2-415

v3.4.1-413

Choose a tag to compare

@sam0x17 sam0x17 released this 01 Jun 19:52
ec2212c

What's Changed

Full Changelog: v3.4.0-411...v3.4.1-413

v3.4.0-411

Choose a tag to compare

@sam0x17 sam0x17 released this 28 May 15:48
486037b

What's Changed

New Contributors

Full Changelog: v3.3.15-402...v3.4.0-411

v3.3.15-402

Choose a tag to compare

@sam0x17 sam0x17 released this 08 May 16:07
6844ee3

What's Changed

Full Changelog: v3.3.14-401...v3.3.15-402

v3.3.14-401

Choose a tag to compare

@sam0x17 sam0x17 released this 23 Apr 22:03
40a451f

What's Changed

New Contributors

Full Changelog: v3.3.13-393...v3.3.14-401

v3.3.13-393

Choose a tag to compare

@sam0x17 sam0x17 released this 26 Mar 16:22
4a2e4b1

What's Changed

Full Changelog: v3.3.12-391...v3.3.13-392

v3.3.12-391

Choose a tag to compare

@sam0x17 sam0x17 released this 19 Mar 23:34
7a727dd

What's Changed

  • Disable mev shield temporarily by @l0r1s in #2472
  • Rework shielded transactions (with crypto in WASM) by @l0r1s in #2477
  • E2E setup by @l0r1s in #2447
  • Use TaoBalance for pallet balances balance type by @gztensor in #2417
  • Reduce uncessary data copy by @open-junius in #2486
  • E2e update by @shamil-gadelshin in #2481
  • Fix MEV shield timing by @l0r1s in #2488
  • Fix liquidity_abs undefined behavior by @gztensor in #2473
  • Fix the ability to revert hotkey swap by @evgeny-s in #2487
  • Disable MEV shield temporarily (mainnet) by @l0r1s in #2502
  • 10x fees on testnet by @gztensor in #2504
  • Allow clear reannouncement + clear scheduled CK swap by @l0r1s in #2506
  • Backport #2506 to testnet by @l0r1s in #2512
  • mainnet deploy 3/19/2025 (part 2) by @sam0x17 in #2514

New Contributors

Full Changelog: v3.3.11-385...v3.3.12-391