Skip to content

Commit 5b8270c

Browse files
authored
Merge pull request #1276 from opentensor/devnet
backprop devnet => devnet-ready
2 parents 3226ce8 + 4ab30f5 commit 5b8270c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pallets/subtensor/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ pub mod pallet {
798798
#[pallet::type_value]
799799
/// Default value for minimum liquidity in pool
800800
pub fn DefaultMinimumPoolLiquidity<T: Config>() -> I96F32 {
801-
I96F32::saturating_from_num(1_000_000_000)
801+
I96F32::saturating_from_num(10_000_000)
802802
}
803803

804804
#[pallet::storage]

pallets/subtensor/src/migrations/migrate_rao.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub fn migrate_rao<T: Config>() -> Weight {
104104
SubnetAlphaIn::<T>::insert(netuid, pool_initial_tao); // Set initial alpha to pool initial tao.
105105
SubnetAlphaOut::<T>::insert(netuid, 0); // Set zero subnet alpha out.
106106
SubnetMechanism::<T>::insert(netuid, 1); // Convert to dynamic immediately with initialization.
107-
Tempo::<T>::insert(netuid, DefaultTempo::<T>::get());
107+
108108
// Set the token symbol for this subnet using Self instead of Pallet::<T>
109109
TokenSymbol::<T>::insert(netuid, Pallet::<T>::get_symbol_for_subnet(*netuid));
110110
TotalStakeAtDynamic::<T>::insert(netuid, 0);

runtime/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
229229
// `spec_version`, and `authoring_version` are the same between Wasm and native.
230230
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
231231
// the compatible custom types.
232-
spec_version: 232,
232+
spec_version: 233,
233233
impl_version: 1,
234234
apis: RUNTIME_API_VERSIONS,
235235
transaction_version: 1,

0 commit comments

Comments
 (0)