mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 18:37:59 +00:00
Decouple BABE from session (#3760)
This commit is contained in:
committed by
Hernando Castano
parent
99da0232ee
commit
b8e2f8f2d6
@@ -405,6 +405,10 @@ parameter_types! {
|
||||
impl srml_babe::Trait for Runtime {
|
||||
type EpochDuration = EpochDuration;
|
||||
type ExpectedBlockTime = ExpectedBlockTime;
|
||||
// there is no actual runtime in this test-runtime, so testing crates
|
||||
// are manually adding the digests. normally in this situation you'd use
|
||||
// srml_babe::SameAuthoritiesForever.
|
||||
type EpochChangeTrigger = srml_babe::ExternalTrigger;
|
||||
}
|
||||
|
||||
/// Adds one to the given input and returns the final result.
|
||||
|
||||
Reference in New Issue
Block a user