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