mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-10 06:27:57 +00:00
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:
Generated
+427
-390
File diff suppressed because it is too large
Load Diff
@@ -18,6 +18,7 @@ futures = "0.3.28"
|
||||
hex-literal = "0.4.1"
|
||||
log = "0.4.17"
|
||||
serde = { version = "1.0.162", features = ["derive"] }
|
||||
serde_json = "1.0.96"
|
||||
|
||||
# Local
|
||||
rococo-parachain-runtime = { path = "../parachains/runtimes/testing/rococo-parachain" }
|
||||
@@ -64,7 +65,6 @@ sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "maste
|
||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-serializer = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
||||
sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user