Add test for cli keystore path generation (#4571)

* Add test for cli keystore path generation

* Fix test
This commit is contained in:
Bastian Köcher
2020-01-11 18:47:26 +01:00
committed by GitHub
parent 070148e9fd
commit e8dd1205ee
7 changed files with 218 additions and 149 deletions
+10
View File
@@ -165,6 +165,16 @@ impl BuildStorage for sp_core::storage::Storage {
}
}
#[cfg(feature = "std")]
impl BuildStorage for () {
fn assimilate_storage(
&self,
_: &mut sp_core::storage::Storage,
)-> Result<(), String> {
Err("`assimilate_storage` not implemented for `()`".into())
}
}
/// Consensus engine unique ID.
pub type ConsensusEngineId = [u8; 4];