Remove CanAuthorWith trait (#5986)

* Remove CanAuthorWith trait

CanAuthotWith trait removed. Also all dependencies, parameters, type
paramers were removed. This is related to removal of native runtime.

* update lockfile for {"substrate"}

* Ensure we use unique directories after the recent change to `new_temp_dir`

Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
authored and GitHub committed 2022-09-13 13:38:29 +00:00
1 parent 3bf1a66541
commit 85f9ad25fe
3 files changed
+204 -180

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ pub fn node_config(
is_validator: bool,
) -> Configuration {
let base_path = BasePath::new_temp_dir().expect("could not create temporary directory");
let root = base_path.path();
let root = base_path.path().join(key.to_string());
let role = if is_validator { Role::Authority } else { Role::Full };
let key_seed = key.to_seed();
let mut spec = polkadot_local_testnet_config();