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:
Michal Kucharczyk
2022-09-13 15:38:29 +02:00
committed by GitHub
parent 3bf1a66541
commit 85f9ad25fe
3 changed files with 204 additions and 180 deletions
+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();