Skip to content

Commit ce06b87

Browse files
committed
remove experimental feature
1 parent 53697ba commit ce06b87

File tree

8 files changed

+5
-21
lines changed

8 files changed

+5
-21
lines changed

runtime/astar/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,6 @@ evm-tracing = [
341341
"moonbeam-rpc-primitives-txpool",
342342
]
343343

344-
experimental = ["pallet-aura/experimental"]
345-
346344
# Enable metadata hash generation at compile time for the `CheckMetadataHash` extension.
347345
metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
348346

runtime/astar/src/lib.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ use frame_support::{
2929
genesis_builder_helper::{build_config, create_default_config},
3030
parameter_types,
3131
traits::{
32-
AsEnsureOriginWithArg, ConstBool, ConstU32, ConstU64, Contains, Currency, FindAuthor, Get,
33-
Imbalance, InstanceFilter, Nothing, OnFinalize, OnUnbalanced, Randomness, WithdrawReasons,
32+
AsEnsureOriginWithArg, ConstBool, ConstU32, Contains, Currency, FindAuthor, Get, Imbalance,
33+
InstanceFilter, Nothing, OnFinalize, OnUnbalanced, Randomness, WithdrawReasons,
3434
},
3535
weights::{
3636
constants::{
@@ -490,8 +490,6 @@ impl pallet_aura::Config for Runtime {
490490
type DisabledValidators = ();
491491
type MaxAuthorities = ConstU32<250>;
492492
type AllowMultipleBlocksPerSlot = ConstBool<false>;
493-
#[cfg(feature = "experimental")]
494-
type SlotDuration = ConstU64<SLOT_DURATION>;
495493
}
496494

497495
impl cumulus_pallet_aura_ext::Config for Runtime {}

runtime/local/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,6 @@ evm-tracing = [
276276
"moonbeam-rpc-primitives-txpool",
277277
]
278278

279-
experimental = ["pallet-aura/experimental"]
280-
281279
# Enable metadata hash generation at compile time for the `CheckMetadataHash` extension.
282280
metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
283281

runtime/local/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,6 @@ impl pallet_aura::Config for Runtime {
270270
type DisabledValidators = ();
271271
type MaxAuthorities = ConstU32<50>;
272272
type AllowMultipleBlocksPerSlot = ConstBool<false>;
273-
#[cfg(feature = "experimental")]
274-
type SlotDuration = ConstU64<SLOT_DURATION>;
275273
}
276274

277275
impl pallet_grandpa::Config for Runtime {

runtime/shibuya/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,6 @@ evm-tracing = [
388388
"moonbeam-rpc-primitives-txpool",
389389
]
390390

391-
experimental = ["pallet-aura/experimental"]
392-
393391
# Enable metadata hash generation at compile time for the `CheckMetadataHash` extension.
394392
metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
395393

runtime/shibuya/src/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ use frame_support::{
3131
traits::{
3232
fungible::HoldConsideration,
3333
tokens::{PayFromAccount, UnityAssetBalanceConversion},
34-
AsEnsureOriginWithArg, ConstBool, ConstU128, ConstU32, ConstU64, Contains, Currency,
34+
AsEnsureOriginWithArg, ConstBool, ConstU128, ConstU32, Contains, Currency,
3535
EqualPrivilegeOnly, FindAuthor, Get, Imbalance, InstanceFilter, LinearStoragePrice,
3636
Nothing, OnFinalize, OnUnbalanced, WithdrawReasons,
3737
},
@@ -566,8 +566,6 @@ impl pallet_aura::Config for Runtime {
566566
type DisabledValidators = ();
567567
type MaxAuthorities = ConstU32<250>;
568568
type AllowMultipleBlocksPerSlot = ConstBool<false>;
569-
#[cfg(feature = "experimental")]
570-
type SlotDuration = ConstU64<SLOT_DURATION>;
571569
}
572570

573571
impl cumulus_pallet_aura_ext::Config for Runtime {}

runtime/shiden/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,6 @@ evm-tracing = [
346346
"moonbeam-rpc-primitives-txpool",
347347
]
348348

349-
experimental = ["pallet-aura/experimental"]
350-
351349
# Enable metadata hash generation at compile time for the `CheckMetadataHash` extension.
352350
metadata-hash = ["substrate-wasm-builder?/metadata-hash"]
353351

runtime/shiden/src/lib.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ use frame_support::{
2929
genesis_builder_helper::{build_config, create_default_config},
3030
parameter_types,
3131
traits::{
32-
AsEnsureOriginWithArg, ConstBool, ConstU32, ConstU64, Contains, Currency, FindAuthor, Get,
33-
Imbalance, InstanceFilter, Nothing, OnFinalize, OnUnbalanced, WithdrawReasons,
32+
AsEnsureOriginWithArg, ConstBool, ConstU32, Contains, Currency, FindAuthor, Get, Imbalance,
33+
InstanceFilter, Nothing, OnFinalize, OnUnbalanced, WithdrawReasons,
3434
},
3535
weights::{
3636
constants::{
@@ -529,8 +529,6 @@ impl pallet_aura::Config for Runtime {
529529
type DisabledValidators = ();
530530
type MaxAuthorities = ConstU32<250>;
531531
type AllowMultipleBlocksPerSlot = ConstBool<false>;
532-
#[cfg(feature = "experimental")]
533-
type SlotDuration = ConstU64<SLOT_DURATION>;
534532
}
535533

536534
impl cumulus_pallet_aura_ext::Config for Runtime {}

0 commit comments

Comments
 (0)