The V493 Upgrade
Hotkey gamma spends, Yuma commit limits and release announcements
Gamma spent by the deposit's hotkey
A gamma deposit is now spent by its own hotkey. The hotkey signs spend_gamma(service, netuid, amount) at a service listed on the subnet and pays no fee. The amount is burned and added to GammaSpent(netuid, service, hotkey). A service credits the hotkey with what that total has grown by, read at a finalized block, so it sends no transaction and holds no spending authority over its customers' deposits. The deposit's coldkey keeps control of the balance, the daily spend cap, and closing the deposit.
A spend takes at least 0.1 gamma unless it empties the deposit, and stays within the balance and what the daily spend cap allows. A daily spend cap is 0, which pauses the deposit, or at least 0.1 gamma; the upgrade pauses existing caps below that. A move takes the whole balance, or at least 0.1 gamma leaving at least as much. A hotkey swap moves the coldkey's deposit at the old hotkey to the new hotkey, so the old hotkey can no longer spend it. Gamma emission opens the subnet owner hotkey's deposit with a cap of 0, so the owner coldkey sets a cap before that hotkey can spend it.
This breaks existing gamma integrations:
spend_gammais signed by the deposit's hotkey and takes a service, a netuid, and an amount. The batched spender call is gone.mint_gamma,mint_gamma_with_stake, andset_serviceno longer take a spender and move to call indices 166, 167, and 169;spend_gammais 168. Indices 158, 159, 162, 164, and 165 are retired, andset_gamma_deposit_spenderis removed.GammaDeposit,ServiceInfo, and theGammaMinted,GammaEmissionMinted, andServiceSetevents no longer carry a spender. TheGammaSpentevent is{ netuid, hotkey, service, amount }.- The
GammaSpendproxy type is deprecated and denies all calls. Only anAnyproxy can spend for a hotkey. GammaRuntimeApiis version 2.GammaDepositInfodrops the spender, andspendableis what a spend can burn now under the 0.1 gamma minimum.- In the Python SDK,
SpendGammatakes a netuid, a service hotkey, and an amount and is signed by the deposit's hotkey, as inbtcli gamma spend --service-hotkey SERVICE_HOTKEY -H API_KEY. The newgamma_spentread returns a hotkey's total at a service.SetGammaDepositSpender,btcli gamma set-spender, and the mint--spenderand--service-hotkeyoptions are removed. These changes ship inbittensor11.3.5 andbittensor-core0.1.12; earlier SDKs cannot mint, spend, or read gamma deposits once 493 is live.
Services that spent their customers' deposits as spenders now credit customers from GammaSpent instead. See Gamma, Subnet services, and PR #3343.
Configurable Yuma commit limits
Sudo can set MaxTimelockedCommitsPerHotkey for each subnet through sudo_set_max_timelocked_commits_per_hotkey. The limit applies to each hotkey, mechanism, and commit epoch on Yuma subnets. The default remains 10. Setting the limit to zero pauses new timelocked commits; commitments already queued remain eligible to reveal. Legacy hash commits retain their fixed limit of 10, and Null consensus keeps its existing queue limits.
Existing subnets use the default without a storage migration. See commit and reveal timing and PR #3340.
Release announcements and Python publication
Release workflows announce proposed and live mainnet upgrades and stable Python releases on Discord. Successful posts are recorded as commit statuses so retries can skip them. A separate workflow publishes stable Python packages without a runtime upgrade. Future runtime and Python version bumps require structured notes linked to a release page. See PR #3342.
Build the release
Once the release train creates the v493 tag, run these commands from an existing Subtensor checkout to build that revision. The GitHub release identifies whether the upgrade is proposed or final.
git fetch https://github.com/RaoFoundation/subtensor.git tag v493
git checkout --detach v493
cargo build --release --locked -p node-subtensor