File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use frame_support::{traits::Get, weights::Weight};
6
6
use super :: * ;
7
7
8
8
pub fn migrate_set_min_burn < T : Config > ( ) -> Weight {
9
- let migration_name = b"migrate_set_min_burn " . to_vec ( ) ;
9
+ let migration_name = b"migrate_set_min_burn_1 " . to_vec ( ) ;
10
10
11
11
// Initialize the weight with one read operation.
12
12
let mut weight = T :: DbWeight :: get ( ) . reads ( 1 ) ;
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ pub struct DynamicInfo<AccountId: TypeInfo + Encode + Decode> {
29
29
network_registered_at : Compact < u64 > ,
30
30
subnet_identity : Option < SubnetIdentityV2 > ,
31
31
moving_price : I96F32 ,
32
-
33
32
}
34
33
35
34
impl < T : Config > Pallet < T > {
@@ -67,7 +66,7 @@ impl<T: Config> Pallet<T> {
67
66
subnet_volume : SubnetVolume :: < T > :: get ( netuid) . into ( ) ,
68
67
network_registered_at : NetworkRegisteredAt :: < T > :: get ( netuid) . into ( ) ,
69
68
subnet_identity : SubnetIdentitiesV2 :: < T > :: get ( netuid) ,
70
- moving_price : SubnetMovingPrice :: < T > :: get ( netuid ) . into ( ) ,
69
+ moving_price : SubnetMovingPrice :: < T > :: get ( netuid) ,
71
70
} )
72
71
}
73
72
pub fn get_all_dynamic_info ( ) -> Vec < Option < DynamicInfo < T :: AccountId > > > {
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ pub struct Metagraph<AccountId: TypeInfo + Encode + Decode> {
40
40
pending_alpha_emission : Compact < u64 > , // pending alpha to be distributed
41
41
pending_root_emission : Compact < u64 > , // panding tao for root divs to be distributed
42
42
subnet_volume : Compact < u128 > , // volume of the subnet in TAO
43
- moving_price : I96F32 , // subnet moving price.
43
+ moving_price : I96F32 , // subnet moving price.
44
44
45
45
// Hparams for epoch
46
46
rho : Compact < u16 > , // subnet rho param
@@ -183,7 +183,7 @@ impl<T: Config> Pallet<T> {
183
183
pending_alpha_emission : PendingEmission :: < T > :: get ( netuid) . into ( ) , // pending alpha to be distributed
184
184
pending_root_emission : PendingRootDivs :: < T > :: get ( netuid) . into ( ) , // panding tao for root divs to be distributed
185
185
subnet_volume : subnet_volume. into ( ) ,
186
- moving_price : SubnetMovingPrice :: < T > :: get ( netuid) . into ( ) ,
186
+ moving_price : SubnetMovingPrice :: < T > :: get ( netuid) ,
187
187
188
188
// Hparams for epoch
189
189
rho : Self :: get_rho ( netuid) . into ( ) , // subnet rho param
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
229
229
// `spec_version`, and `authoring_version` are the same between Wasm and native.
230
230
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
231
231
// the compatible custom types.
232
- spec_version : 229 ,
232
+ spec_version : 230 ,
233
233
impl_version : 1 ,
234
234
apis : RUNTIME_API_VERSIONS ,
235
235
transaction_version : 1 ,
@@ -1031,7 +1031,7 @@ parameter_types! {
1031
1031
pub const SubtensorInitialMaxDifficulty : u64 = u64 :: MAX / 4 ;
1032
1032
pub const SubtensorInitialServingRateLimit : u64 = 50 ;
1033
1033
pub const SubtensorInitialBurn : u64 = 1_000_000_000 ; // 1 tao
1034
- pub const SubtensorInitialMinBurn : u64 = 1_000_000_000 ; // 1 tao
1034
+ pub const SubtensorInitialMinBurn : u64 = 500_000 ; // 500k RAO
1035
1035
pub const SubtensorInitialMaxBurn : u64 = 100_000_000_000 ; // 100 tao
1036
1036
pub const SubtensorInitialTxRateLimit : u64 = 1000 ;
1037
1037
pub const SubtensorInitialTxDelegateTakeRateLimit : u64 = 216000 ; // 30 days at 12 seconds per block
You can’t perform that action at this time.
0 commit comments