mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
Fix experimental aura config and comment tests (#3057)
* Fix aura config Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix Cargo.toml files Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Ignore feature-dependant tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Allow dead code Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
bfb8acb5a9
commit
811189174d
@@ -190,3 +190,5 @@ std = [
|
||||
"assets-common/std",
|
||||
"substrate-wasm-builder",
|
||||
]
|
||||
|
||||
experimental = [ "pallet-aura/experimental" ]
|
||||
|
||||
@@ -614,6 +614,8 @@ impl pallet_aura::Config for Runtime {
|
||||
type DisabledValidators = ();
|
||||
type MaxAuthorities = ConstU32<100_000>;
|
||||
type AllowMultipleBlocksPerSlot = ConstBool<false>;
|
||||
#[cfg(feature = "experimental")]
|
||||
type SlotDuration = pallet_aura::MinimumPeriodTimesTwo<Self>;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
|
||||
Reference in New Issue
Block a user