Releases: opentensor/subtensor
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
ForbidKeysRemoveCall
by @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-blocks
feature 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
v1.1.8 (hotfix)
What's Changed
spec version 206
- fix: host functions (main) by @orriin in #930
- Hotfix Chainspec Build by @JohnReedV in #959
Full Changelog: v1.1.7...v1.1.8
v1.1.7
What's New
Spec version bumped to 205
Reproducible Builds
This build is the first build to use our srtool-based reproducible build workflow. See https://github.com/paritytech/srtool for more information. The deployed wasm binary and srtool digest that can be used to independently verify it are attached to this release 🚀
Cost reduced for schedule coldkey swap
- The cost to schedule coldkey swap is reduced to 0.1 TAO from 1.0 TAO.
- See the PR: #897.
- See the documentation: https://docs.bittensor.com/subnets/schedule-coldkey-swap.
New commit reveal feature
- A revised commit reveal feature.
- See the PR: #895.
- See the updated documentation: https://docs.bittensor.com/subnets/commit-reveal.
New Contributors
- @andreea-popescu-reef made their first contribution in #750
- @eagr made their first contribution in #846
Full Changelog: v1.1.6...v1.1.7
v1.1.6
v1.1.5
What's Changed
- hotfix: dont drain root emisions by @distributedstatemachine in #790
- reorder mul/div by @camfairchild in #808
- Hotfix/Patch new tempo runtime upgrade by @camfairchild in #806
- Hotfix/pending emission migration patch and fix set weights check by @camfairchild in #809
Full Changelog: v1.1.4...v1.1.5