Skip to content

Commit 1c275ef

Browse files
author
unconst
committed
fix tao weight
1 parent e95783a commit 1c275ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pallets/subtensor/src/migrations/migrate_rao.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub fn migrate_rao<T: Config>() -> Weight {
5757

5858
// Convert subnets and give them lock.
5959
// Set global weight to 18% from the start
60-
TaoWeight::<T>::set(320_413_933_267_719_290);
60+
TaoWeight::<T>::set(332_041_393_326_771_929);
6161
for netuid in netuids.iter().clone() {
6262
if *netuid == 0 {
6363
// Give root a single RAO in pool to avoid any catestrophic division by zero.

runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ parameter_types! {
10421042
pub const SubtensorInitialNetworkMaxStake: u64 = u64::MAX; // Maximum possible value for u64, this make the make stake infinity
10431043
pub const InitialColdkeySwapScheduleDuration: BlockNumber = 5 * 24 * 60 * 60 / 12; // 5 days
10441044
pub const InitialDissolveNetworkScheduleDuration: BlockNumber = 5 * 24 * 60 * 60 / 12; // 5 days
1045-
pub const SubtensorInitialTaoWeight: u64 = 3_320_413_933_267_719_290; // 18% global weigh.
1045+
pub const SubtensorInitialTaoWeight: u64 = 332_041_393_326_771_929; // 18% global weigh.
10461046
}
10471047

10481048
impl pallet_subtensor::Config for Runtime {

0 commit comments

Comments
 (0)