Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use 18% #1147

Closed
wants to merge 1 commit into from
Closed

use 18% #1147

Show file tree
Hide file tree
Changes from all commits
Commits
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
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
Loading