remove sp-serializer (#2574)

* remove sp-serializer

* improve

* update lockfile for {"polkadot", "substrate"}

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
yjh
2023-05-15 19:09:10 +08:00
committed by GitHub
parent 0f06804f22
commit d8f249958b
3 changed files with 429 additions and 392 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ impl RuntimeResolver for PathBuf {
let file = std::fs::File::open(self).expect("Failed to open file");
let reader = std::io::BufReader::new(file);
let chain_spec: EmptyChainSpecWithId = sp_serializer::from_reader(reader)
let chain_spec: EmptyChainSpecWithId = serde_json::from_reader(reader)
.expect("Failed to read 'json' file with ChainSpec configuration");
runtime(&chain_spec.id)