Decouple BABE from session (#3760)

This commit is contained in:
Robert Habermeier
2019-10-04 14:56:41 +02:00
committed by Hernando Castano
parent 99da0232ee
commit b8e2f8f2d6
5 changed files with 125 additions and 55 deletions
+1
View File
@@ -98,6 +98,7 @@ impl timestamp::Trait for Test {
impl Trait for Test {
type EpochDuration = EpochDuration;
type ExpectedBlockTime = ExpectedBlockTime;
type EpochChangeTrigger = crate::ExternalTrigger;
}
pub fn new_test_ext(authorities: Vec<DummyValidatorId>) -> runtime_io::TestExternalities<Blake2Hasher> {