Releases: opentensor/subtensor
v2.0.2
What's Changed
- Use SubnetOwnerHotkey for neuron replace/prune checks in #1305 by @camfairchild
- [Fix] Modify SN creator hotkey immunity in #1302 by @camfairchild
- make set diff only root in #1301 by @camfairchild
- extrinsic to enable disable precompile in #1131 by @open-junius
- Add serve_axon extrinsic validation in #1298 by @gztensor
- fix clean merges script in #1297 by @sam0x17
- stop unneeded on-push CI triggers in #1293 by @sam0x17
- enforce merge compatability between all named branches / clean merges in #1291 by @sam0x17
- fix merge conflicts / bring in last week of PRs in #1290 by @sam0x17
- max the price for EMA calc at 1.0 in #1286 by @camfairchild
- Add M series Mac support to README in #1278 by @qxprakash
- update neuron precompile in #1174 by @open-junius
- remove call from coinbase. already in block_step in #1283 by @camfairchild
- Remove ownership check from transition stake validation in #1284 by @gztensor
- update staking priority in #1281 by @JohnReedV
- Add tao_emission to StakeInfo runtime in #1279 by @ibraheem-opentensor
- Feat/dont let coldkey in swap add stake in #1282 by @camfairchild
- Fix/include pow reg disabled in no tao in check in #1280 by @camfairchild
- Subnet hyperparameter in #1089 by @open-junius
v2.0.1 (hotfix)
What's Changed
- Hotfix/fix ema update #1289
v2.0.0 DTAO
What's Changed
- DefaultMinimumPoolLiquidity and tempos in rao migration in #1274 by @gztensor
- Nonclaim in #1272 by @unconst
- moving price init from emission in #1270 by @unconst
- cargo update 2/7/2025 in #1267 by @sam0x17
- add moving price to metagraph in #1264 by @unconst
- Nonclaim in #1261 by @unconst
- Nonclaim in #1259 by @unconst
- Nonclaim in #1257 by @unconst
- add a global min burn and migration in #1245 by @camfairchild
- nonclaim in #1248 by @sam0x17
- Nonclaim into main in #1250 by @camfairchild
- delete unused workflow file in #1247 by @sam0x17
- Hotfix wrong parse account function in #1246 by @open-junius
- Feat/RPC Upgrades in #1205 by @JohnReedV
- Nonclaim in #1241 by @unconst
- Non scaled (testnet hotfix) in #1237 by @unconst
- Feat/no more weird runtime api encoding in #1227 by @camfairchild
- Remove dynamic fee pallet in #1220 by @ales-otf
- fix RUSTSEC-2025-0004 / update openssl in #1226 by @sam0x17
- Neuron weights set in #1150 by @open-junius
- Feat/slippage safe stake moving in #1219 by @gztensor
- Add subnet volume migration to fix try-runtime in #1222 by @gztensor
- Double-size SubnetVolume to u128 in #1218 by @gztensor
- fix some CI actions not triggering on new pull request, label triggers in #1216 by @sam0x17
- [RAO] add subnet volume to runtimeAPIs in #1210 by @camfairchild
- Stake info from (hk, ck, netuid) in #1209 by @camfairchild
- Raise minimum pool liquidity to 1 TAO in #1212 by @gztensor
- Fix/validate limit txs in #1215 by @gztensor
- Fix TotalIssuance on migration and TotalStake check in #1166 by @ales-otf
- fix cargo audit 🎉 in #1214 by @sam0x17
- add subnets precompile in #1110 by @open-junius
- Add allow_partial parameter for add_stake_limit and remove_stake_limit in #1213 by @gztensor
- Feat/limit staking in #1190 by @gztensor
- Change type for pool k to I110F18 in #1211 by @gztensor
- Replace frontier's RuntimeHelper with manual dispatcher in #1208 by @ales-otf
- [RAO] reg disabled disables TAO-in in #1207 by @camfairchild
- Safety brackets for liquidity pools in #1204 by @gztensor
- use rem root alpha in #1200 by @camfairchild
- Fix/swap pending childkeys on hk swap in #1196 by @camfairchild
- Ban saturating_div, to_num, and from_num in #1198 by @gztensor
- [RAO] use option for identity instead in #1199 by @camfairchild
- [RAO] [Fix] make sure to ensure burn reg before writing in #1195 by @camfairchild
- [RAO] alpha out emission equal to alpha block in #1194 by @camfairchild
- [RAO] dont register owner twice during rao-migration in #1193 by @camfairchild
- [RAO] Refactor emission distribution/drain in #1182 by @camfairchild
- change pool liq init in #1189 by @camfairchild
- Separate defaults for tx fee from min stake + tx validation in #1183 by @gztensor
- Fix gas estimation issues in #1184 by @ales-otf
- Fix/fix clippy on stake into subnet in #1185 by @camfairchild
- fix wrong comments for some storage items in #1179 by @cuteolaf
- [RAO] put owner cut in a pending in #1173 by @camfairchild
- Make commitment pallet rate limit configurable via sudo in #1180 by @gztensor
- Swap Stake Between Subnets in #1181 by @JohnReedV
- Send staking and unstaking fees to SubnetTAO in #1176 by @gztensor
- Transfer Coldkey Stake in #1178 by @JohnReedV
- Migrate to fix IsNetworkMember in #1155 by @camfairchild
- make docker image builds trigger on key branches + ability to manually trigger in #1168 by @sam0x17
- [RAO] calculate owner cut first in #1169 by @camfairchild
- add fix_rust.sh script in #1165 by @sam0x17
- Remove DefaultChildkeysMinStake in #1164 by @gztensor
- Re-add move_stake extrinsic and tests in #1161 by @gztensor
- skip stake info entry if none staked in #1163 by @camfairchild
- Extend staking contract with proxy setting in #1123 by @ales-otf
- get stake interface in solidity in #955 by @open-junius
- Feat/evm rao staking in #1153 by @gztensor
- fix test_dynamic_parent_child_relationships in #1154 by @camfairchild
- clean up devnet-ready in #1148 by @sam0x17
- Fix/rao-fix-pending-emission in #1146 by @camfairchild
- fix hard coded return_per_1000 in #1015 by @open-junius
- Specify rust toolchain version as 1.84.0 in #1143 by @ales-otf
- RAO 2025-01 in #1127 by @gztensor
- Fix hotkey swap alpha in #1142 by @camfairchild
- Fix test_bonds in #1136 by @keithtensor
- Fix set alpha disabled test in #1140 by @ales-otf
- Remove deprecated staking tests in #1139 by @ales-otf
- Define EVM chain ID in localnet genesis in #1128 by @ales-otf
- Feat/use opentensor org fp in #1129 by @camfairchild
- Spiigot/fix commit on exact epoch in #1108 by @JohnReedV
- Remove nakamoto_gen.json in #1113 by @ales-otf
- Fix/pending childkeys in #1109 by @gztensor
v1.2.5
What's Changed
- [RAO] only allow root to close proposals by @camfairchild in #1258
- spec version bumped to 219
Full Changelog: v1.2.4...v1.2.5
v1.2.4
What's Changed
- Spec version bumped to 218
- Feat/use opentensor org fp in #1129 by @camfairchild
- Spiigot/fix commit on exact epoch in #1108 by @JohnReedV
- Remove nakamoto_gen.json in #1113 by @ales-otf
- Fix/pending childkeys in #1109 by @gztensor
Full Changelog: v1.2.3...v1.2.4
v1.2.3
Mainnet Upgrade 12-29-2024
v1.2.2 (CR3)
Overview
This release includes a mandatory node upgrade as part of the kick off of commit-reveal v3.
🚨🚨 IMPORTANT NOTE 🚨🚨
If you are running a node on mainnet you MUST upgrade to the latest release once this deploy is out or your node will not function due to the missing host functions needed by CR3 (commit-reveal v3). To ensure a smooth transition, feel free to build manually using the testnet branch, as this is exactly what we are deploying to mainnet.
Likewise, if you are running a node on testnet, you should already be (and should always be) running node code based on the tip of the testnet branch.
What's Changed
- Metagraph contract in #1043 by @open-junius
- Spiigot/ Try all Drand endpoints in #1087 by @JohnReedV
- set set_children rate limit to 30min in #1085 by @camfairchild
- Fix/network rate limit on zero block in #1083 by @camfairchild
- Fix devnet spec in #1080 by @ales-otf
- Fix devnet chainspecs in #1078 by @ales-otf
- remove unneeded chainspec files in #1074 by @sam0x17
- Fix release notes script in #1073 by @sam0x17
- Feat/batch set weights in #1022 by @camfairchild
- Log Drand Deserializion in #1065 by @JohnReedV
- update devnet chainspec in #1070 by @sam0x17
- Feat/pending childkeys in #1050 by @gztensor
- Feat/admin set evm chain in #1030 by @gztensor
- use correct grandpa addresses for devnet in #1064 by @sam0x17
- fix Dockerfile to re-enable regular pushes to docker in #1063 by @sam0x17
- Crv3 Hotfix 2 in #1061 by @JohnReedV
- Remove dead code in pallet-subtensor in #1036 by @ales-otf
- Fix CRv3 Devnet in #1059 by @JohnReedV
- Fix clippy warnings in #1056 by @gztensor
- Drand + Commit-Reveal-v3 in #951 by @JohnReedV
- Final backpropagation of hotfixes to devnet-ready 12-2-2024 in #1049 by @sam0x17
- backpropagate / main => testnet (ignore CI errors) in #1046 by @sam0x17
- fix remaining escapes in hotfix pr bot message in #1040 by @sam0x17
- Merge devnet to devnet ready with conflicts resolved in #1042 by @gztensor
- Fix pre-evm sync issue with evm-enabled node in #1023 by @gztensor
- Move chainspecs to a dedicated directory in #1025 by @ales-otf
- backpropagate hotfix to testnet in #1028 by @sam0x17
- Commit reveal v3 in #982 by @orriin
- sort the account in spec file for deterministic spec file in #1017 by @open-junius
- Commit-Reveal-3 Tests and Fixes in #1012 by @JohnReedV
- ci: update archive node uri in #1013 by @orriin
- Move unit tests to the right place in #1011 by @ales-otf
Full Changelog: v1.1.10...v1.2.2
v1.1.11 (hotfix)
hotfixes the set_children rate limit of 2 tempos for a specific subnet.
Includes a test for the hotfix.
spec_version bumped to 212
What's Changed
- [hotfix] Fix set children rate limit by @camfairchild in #1037
Full Changelog: v1.1.10...v1.1.11
v1.1.10 (hotfix)
This hotfix addresses a critical issue in the run_coinbase logic of the Subtensor pallet, ensuring that subnet emissions are properly gated by registration permissions. Additionally, a new test has been introduced to verify the behavior of emissions when registration is disabled for a subnet.
spec version bumped to 211
v1.1.9 (EVM)
Permissioned EVM feature
Permissioned deployment: Until further notice, only white-listed parties can deploy a smart contract on subtensor. When you are ready to deploy, make a request in the evm-bittensor channel of Bittensor Discord: **Smart Contract Deployment Req…
Permissionless interaction: However, anyone can call a smart contract that was already deployed on subtensor, and interact with it in a permissionless way.
Documentation: https://docs.bittensor.com/evm-tutorials/.
Note that mainnet/finney nodes will not be upgraded until Bittensor 8.4.0 is released, so EVM features will be largely unavailable until this node upgrade completes. In the mean time we are standing up a finney node that will be upgraded early to the new node code, and this should allow utilizing EVM on finney/mainnet in the interim.
The temporary EVM-enabled node is now available at:
evm.chain.opentensor.ai
We are targeting early next week as the time to upgrade the remaining nodes.
Added Rust Lint ForbidKeysRemoveCall
A new Rust lint ForbidKeysRemoveCall is added. This will ban Keys::::remove() call to prevent accidentally breaking the neuron sequence.
If you need to replace neurons, use SubtensorModule::replace_neuron().
PR: #927.
Fixed Child Hotkey Emission Distribution
Fixed the following child hotkey emission distribution issues:
Miner emission is fixed, so that it is not distributed to the nominators.
Child hotkey take distribution is fixed, so that now it is not distributed to the nominators.
PR: #950.
Simplified Localnet for Development
Running a localnet for development is simplified, by providing the --dev flag. With this flag, localnet will run with a single authority, hence no need for running scripts and multiple nodes to produce blocks. Now you just run cargo run -- --dev.
PR: #956.
Transfer Limit Between EVM and Substrate removed
Previously, the EVM integration imposed a maximum transfer limit of 18.4 TAO to avoid precision loss when converting between EVM (18 decimals) and Substrate (9 decimals).
This fix removes the transfer limit by truncating excess decimals from the least significant end during the conversion.
As a result, large transfers are now allowed.
Infinitesimally small amounts of WEI (less than the precision of TAO) are discarded during this process, and a log entry is generated whenever such precision loss occurs.
PR: #984.
Other Changes
- Chainspec files are updated.
- Spec version is bumped up to 210.
- Various CI enhancements that do not impact the runtime.
Full List of PRs
- Mz/feat/staking precompile by @soring323 in #777
- fix clippy lint issues by @soring323 in #784
- Reapply hotkey swap fix for childkey's parents by @gztensor in #890
- Feat/evm devnet ready by @gztensor in #772
- Commit reveal 2 Improvements by @JohnReedV in #893
- Reduce key swap cost to 0.1 TAO by @camfairchild in #898
- Fix cargo audit in CI by @ales-otf in #901
- alice default port from 9946 to 9944 (for devnet-ready) by @roman-opentensor in #904
- deploy evm to devnet by @sam0x17 in #908
- feat: add evm stake netuid parameter by @orriin in #907
- fix: host functions (devnet-ready) by @orriin in #928
- Duplicate hotfixes to devnet-ready by @keithtensor in #924
- Hotfixes to devnet nov 6 by @keithtensor in #940
- Hotfixes to testnet nov 6 by @keithtensor in #941
- [feat] add SetCode proxy type by @camfairchild in #931
- Re-add removed main changes by @gztensor in #945
- fix: host functions (devnet) by @orriin in #948
- fix: host functions (testnet) by @orriin in #949
- Configure devnet chain spec by @ales-otf in #952
- Add key swaps & set_children to proxies by @JohnReedV in #912
- backpropogate hotfixes by @sam0x17 in #958
- add bot warning when posting a hotfix PR by @sam0x17 in #953
- backpropagate hotfixes to testnet by @sam0x17 in #962
- lower faucet diff to 100 on fast-blocks by @camfairchild in #944
- Fix compilation by @ales-otf in #968
- Merge testnet to devnet by @gztensor in #970
- The last merge conflict by @sam0x17 in #973
- devnet deploy 11-13-2024 by @sam0x17 in #976
- Lint
ForbidKeysRemoveCallby @eagr in #927 - testnet deploy 11-13-2024 (EVM) by @sam0x17 in #978
- Fix dev flag by @ales-otf in #956
- Fix/childkey emission distribution by @gztensor in #950
- Remove unnecessary generics by @ales-otf in #979
- fix EVM <=> TAO balance transfer precision by @sam0x17 in #984
- devnet deploy 11-15-2024 (evm balance hotfix) by @sam0x17 in #987
- testnet deploy 11-18-2024 by @sam0x17 in #989
- Add
fast-blocksfeature to node by @ales-otf in #993 - fix escaping of ` character in hotfix CI bot message by @sam0x17 in #1000
- Fix chainspec upgrade CI action by @sam0x17 in #999
- Fix chainspec update again by @sam0x17 in #1002
- devnet deploy 11-19-2024 by @sam0x17 in #1001
- testnet deploy 11-19-2024 update chainspecs by @sam0x17 in #1004
- finney deploy 11-25-2025 by @sam0x17 in #1016
New Contributors
- @soring323 made their first contribution in #777
Full Changelog: v1.1.8...v1.1.9