Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
46062d9
get and set all hyperparameters
open-junius Dec 11, 2024
2810551
all get methods
open-junius Dec 12, 2024
3913fba
all get set done
open-junius Dec 12, 2024
8cefb18
fix bugs
open-junius Dec 12, 2024
7ba9fc6
remove wrong comments
open-junius Dec 13, 2024
5f22fda
fix wrong contract address name
open-junius Dec 17, 2024
c427b64
Merge branch 'devnet-ready' into subnet-hyperparameter
open-junius Dec 17, 2024
e450443
Merge branch 'devnet-ready' into subnet-hyperparameter
open-junius Dec 26, 2024
bdbefea
merge with target
open-junius Jan 17, 2025
8144ed0
update neuron precompile
open-junius Jan 21, 2025
cc03f1a
fix bug
open-junius Jan 22, 2025
3fd2c83
commit Cargo.lock
open-junius Jan 22, 2025
ef3af14
commit Cargo.lock
open-junius Jan 22, 2025
959d981
add document for function
open-junius Jan 22, 2025
66e7a0e
commit Cargo.lock
open-junius Jan 31, 2025
564b76d
refactor code
open-junius Jan 31, 2025
e2c5115
reorg import
open-junius Jan 31, 2025
648cd81
fix wrong origin
open-junius Jan 31, 2025
e7575d1
commit Cargo.lock
open-junius Jan 31, 2025
79e121b
add length check
open-junius Jan 31, 2025
c7366eb
fix compile
open-junius Jan 31, 2025
8a73400
Merge branch 'devnet-ready' into subnet-hyperparameter
open-junius Feb 3, 2025
256e7a9
fix clippy
open-junius Feb 3, 2025
7b68b1f
commit Cargo.lock
open-junius Feb 4, 2025
d3b97d3
safe math
open-junius Feb 4, 2025
9c74d60
commit Cargo.lock
open-junius Feb 4, 2025
bf1bcfb
remove duplicated function
open-junius Feb 4, 2025
c5e3912
Merge branch 'devnet-ready' into subnet-hyperparameter
open-junius Feb 5, 2025
e8ffa80
Merge branch 'devnet-ready' into serve-axon-promethoeus
open-junius Feb 7, 2025
74b9f9f
merge with devnet ready
open-junius Feb 7, 2025
20b53f5
fix audit
open-junius Feb 7, 2025
1591e88
fix audit
open-junius Feb 7, 2025
8231c0b
fix contract
open-junius Feb 7, 2025
4ab30f5
Merge pull request #1275 from opentensor/testnet
sam0x17 Feb 7, 2025
5b8270c
Merge pull request #1276 from opentensor/devnet
sam0x17 Feb 7, 2025
19028c4
update readme of support of M series macs
qxprakash Feb 8, 2025
fd96f59
Merge pull request #1089 from opentensor/subnet-hyperparameter
sam0x17 Feb 10, 2025
77f343f
Merge branch 'devnet-ready' into serve-axon-promethoeus
open-junius Feb 11, 2025
795d366
add tao_emission to stakeinfo runtime
ibraheem-abe Feb 12, 2025
70637f2
remove call from coinbase. already in block_step
camfairchild Feb 12, 2025
ef65dc4
add negation for pow-reg-allowed
camfairchild Feb 12, 2025
a7aac95
only root can set min pow diff
camfairchild Feb 12, 2025
4fd4757
oops
camfairchild Feb 12, 2025
e538804
dont let ck-in-swap-sched move any stake/register
camfairchild Feb 12, 2025
8f197a2
add tests for validation filter
camfairchild Feb 12, 2025
5b3d4e6
add transfer stake to call nontransfer proxy filter
camfairchild Feb 12, 2025
45a67fc
also add proxy filters for new calls
camfairchild Feb 12, 2025
bf1933c
update staking priority
JohnReedV Feb 12, 2025
9dce4e7
bump spec
camfairchild Feb 12, 2025
b05e213
use get_priority_staking for all stake operations
JohnReedV Feb 12, 2025
f5d4708
bump spec
JohnReedV Feb 12, 2025
1916e1c
clippy
JohnReedV Feb 12, 2025
185841b
Remove ownership check from transition stake validation
gztensor Feb 12, 2025
3192e31
Merge pull request #1280 from opentensor/fix/include-pow-reg-disabled…
sam0x17 Feb 12, 2025
95f1f00
Merge pull request #1282 from opentensor/feat/dont-let-coldkey-in-swa…
sam0x17 Feb 12, 2025
8356aa9
Merge pull request #1279 from opentensor/feat/add-tao-emissions-to-st…
sam0x17 Feb 13, 2025
85c71ac
Merge pull request #1281 from opentensor/update-staking-priority
sam0x17 Feb 13, 2025
b378719
Merge remote-tracking branch 'origin/devnet-ready' into fix/remove-ex…
sam0x17 Feb 13, 2025
50893bd
Merge pull request #1284 from opentensor/fix/allow-all-hotkeys-to-mov…
sam0x17 Feb 13, 2025
fc49aca
Merge pull request #1283 from opentensor/fix/remove-extra-do-set-pend…
sam0x17 Feb 13, 2025
925dd85
Merge branch 'devnet-ready' into serve-axon-promethoeus
open-junius Feb 13, 2025
3fb3061
Merge pull request #1174 from opentensor/serve-axon-promethoeus
sam0x17 Feb 13, 2025
f45ae30
Merge pull request #1278 from qxprakash/update_readme
sam0x17 Feb 13, 2025
3bcf428
max the price for EMA calc at 1.0
camfairchild Feb 13, 2025
0514da3
Merge pull request #1286 from opentensor/fix/moving-alpha-price-min-one
sam0x17 Feb 13, 2025
ab37ca0
Merge pull request #1285 from opentensor/devnet-ready
sam0x17 Feb 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ This repository contains Bittensor's substrate-chain. Subtensor contains the tru

* The binaries in ./bin/release are x86_64 binaries to be used with the Linux kernel.
* Subtensor needs ~286 MiB to run.
* Architectures other than x86_64 are currently not supported.
* Supported Architectures:
- Linux: x86_64
- MacOS: x86_64 and ARM64 (M series Macs)
* OSs other than Linux and MacOS are currently not supported.


## Architectures
Subtensor support the following architectures:

Expand All @@ -34,9 +37,10 @@ Requirements:
* glibc 2.11+
A fresh FRAME-based [Substrate](https://www.substrate.io/) node, ready for hacking :rocket:

## MacOS x86_64
## MacOS x86_64 & arm64 (Apple Silicon)
Requirements:
* MacOS 10.7+ (Lion+)
* macOS 10.7+ (Lion+) for x86_64
* macOS 11+ (Big Sur+) for Apple Silicon (M1, M2, and later) with arm64 architecture support.

## Network requirements
* Subtensor needs access to the public internet
Expand All @@ -49,7 +53,7 @@ Requirements:

---

## For Subnet Development
## For Subnet Development

If you are developing and testing subnet incentive mechanism, you will need to run a local subtensor node. Follow the detailed step-by-step instructions provided in the [**Subtensor Nodes** section in Bittensor Developer Documentation](https://docs.bittensor.com/subtensor-nodes).

Expand Down Expand Up @@ -216,7 +220,7 @@ If you want to see the multi-node consensus algorithm in action, refer to our
A Substrate project such as this consists of a number of components that are spread across a few
directories.

### Node Capabilities
### Node Capabilities

A blockchain node is an application that allows users to participate in a blockchain network.
Substrate-based blockchain nodes expose a number of capabilities:
Expand All @@ -232,7 +236,7 @@ Substrate-based blockchain nodes expose a number of capabilities:

**Directory structure**

There are several files in the [`node`](./node/) directory. Make a note of the following important files:
There are several files in the [`node`](./node/) directory. Make a note of the following important files:

- [`chain_spec.rs`](./node/src/chain_spec.rs): A
[chain specification](https://docs.substrate.io/main-docs/build/chain-spec/) is a
Expand Down
2 changes: 1 addition & 1 deletion pallets/admin-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ pub mod pallet {
netuid: u16,
min_difficulty: u64,
) -> DispatchResult {
pallet_subtensor::Pallet::<T>::ensure_subnet_owner_or_root(origin, netuid)?;
ensure_root(origin)?;

ensure!(
pallet_subtensor::Pallet::<T>::if_subnet_exist(netuid),
Expand Down
7 changes: 1 addition & 6 deletions pallets/subtensor/src/coinbase/run_coinbase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl<T: Config> Pallet<T> {
let alpha_out_i = alpha_emission_i;
// Only emit TAO if the subnetwork allows registration.
if !Self::get_network_registration_allowed(*netuid_i)
&& Self::get_network_pow_registration_allowed(*netuid_i)
&& !Self::get_network_pow_registration_allowed(*netuid_i)
{
tao_in_i = asfloat!(0.0);
}
Expand Down Expand Up @@ -249,11 +249,6 @@ impl<T: Config> Pallet<T> {
BlocksSinceLastStep::<T>::mutate(netuid, |total| *total = total.saturating_add(1));
}
}

// --- 8. Apply pending childkeys of this subnet for the next epoch
for netuid in subnets.iter() {
Self::do_set_pending_children(*netuid);
}
}

pub fn drain_pending_emission(
Expand Down
Loading
Loading