Skip to content

Commit

Permalink
use 18%
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Jan 10, 2025
1 parent 12a0f71 commit fe419f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pallets/subtensor/src/migrations/migrate_rao.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub fn migrate_rao<T: Config>() -> Weight {

// Convert subnets and give them lock.
// Set global weight to 18% from the start
TaoWeight::<T>::set(332_041_393_326_771_929);
TaoWeight::<T>::set(3_320_413_933_267_719_290);
for netuid in netuids.iter().clone() {
if *netuid == 0 {
// Give root a single RAO in pool to avoid any catestrophic division by zero.
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ parameter_types! {
pub const SubtensorInitialNetworkMaxStake: u64 = u64::MAX; // Maximum possible value for u64, this make the make stake infinity
pub const InitialColdkeySwapScheduleDuration: BlockNumber = 5 * 24 * 60 * 60 / 12; // 5 days
pub const InitialDissolveNetworkScheduleDuration: BlockNumber = 5 * 24 * 60 * 60 / 12; // 5 days
pub const SubtensorInitialTaoWeight: u64 = 332_041_393_326_771_929; // 18% global weigh.
pub const SubtensorInitialTaoWeight: u64 = 3_320_413_933_267_719_290; // 18% global weigh.
}

impl pallet_subtensor::Config for Runtime {
Expand Down

0 comments on commit fe419f3

Please sign in to comment.