File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
207
207
// `spec_version`, and `authoring_version` are the same between Wasm and native.
208
208
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
209
209
// the compatible custom types.
210
- spec_version : 254 ,
210
+ spec_version : 255 ,
211
211
impl_version : 1 ,
212
212
apis : RUNTIME_API_VERSIONS ,
213
213
transaction_version : 1 ,
@@ -1044,7 +1044,11 @@ parameter_types! {
1044
1044
pub const InitialDissolveNetworkScheduleDuration : BlockNumber = 5 * 24 * 60 * 60 / 12 ; // 5 days
1045
1045
pub const SubtensorInitialTaoWeight : u64 = 971_718_665_099_567_868 ; // 0.05267697438728329% tao weight.
1046
1046
pub const InitialEmaPriceHalvingPeriod : u64 = 201_600_u64 ; // 4 weeks
1047
- pub const DurationOfStartCall : u64 = 7 * 24 * 60 * 60 / 12 ; // 7 days
1047
+ pub const DurationOfStartCall : u64 = if cfg!( feature = "fast-blocks" ) {
1048
+ 10 // Only 10 blocks for fast blocks
1049
+ } else {
1050
+ 7 * 24 * 60 * 60 / 12 // 7 days
1051
+ } ;
1048
1052
}
1049
1053
1050
1054
impl pallet_subtensor:: Config for Runtime {
You can’t perform that action at this time.
0 commit comments