mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
Update Substrate/Polkadot/Cumulus references (#1364)
cumulus: b468d0c33e
polkadot: 827792ca833396c82c726eda0bc2ad32ecddba73
substrate: 666f39b8a22108f57732215de006518738034ba2
bump serde_json to 1.0.79
sync changes from https://github.com/paritytech/substrate/pull/11022
fixed clippy warnings
Signed-off-by: acatangiu <adrian@parity.io>
This commit is contained in:
committed by
Bastian Köcher
parent
d04b018630
commit
14b27a0209
@@ -12,7 +12,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
[dependencies]
|
||||
clap = { version = "3.1", features = ["derive"] }
|
||||
jsonrpc-core = "18.0"
|
||||
serde_json = "1.0.59"
|
||||
serde_json = "1.0.79"
|
||||
|
||||
# Bridge dependencies
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ pub fn run() -> sc_cli::Result<()> {
|
||||
let runner = cli.create_runner(cmd)?;
|
||||
runner.async_run(|config| {
|
||||
let PartialComponents { client, task_manager, backend, .. } = new_partial(&config)?;
|
||||
Ok((cmd.run(client, backend), task_manager))
|
||||
Ok((cmd.run(client, backend, None), task_manager))
|
||||
})
|
||||
},
|
||||
Some(Subcommand::Inspect(cmd)) => {
|
||||
|
||||
@@ -202,9 +202,11 @@ pub fn run() -> Result<()> {
|
||||
})
|
||||
},
|
||||
Some(Subcommand::Revert(cmd)) => {
|
||||
construct_async_run!(|components, cli, cmd, config| Ok(
|
||||
cmd.run(components.client, components.backend)
|
||||
))
|
||||
construct_async_run!(|components, cli, cmd, config| Ok(cmd.run(
|
||||
components.client,
|
||||
components.backend,
|
||||
None
|
||||
)))
|
||||
},
|
||||
Some(Subcommand::ExportGenesisState(params)) => {
|
||||
let mut builder = sc_cli::LoggerBuilder::new("");
|
||||
|
||||
@@ -16,7 +16,7 @@ jsonrpc-core = "18.0"
|
||||
kvdb = "0.11"
|
||||
kvdb-rocksdb = "0.15"
|
||||
lru = "0.7"
|
||||
serde_json = "1.0.59"
|
||||
serde_json = "1.0.79"
|
||||
thiserror = "1.0"
|
||||
|
||||
# Bridge dependencies
|
||||
|
||||
@@ -147,7 +147,7 @@ pub fn run() -> sc_cli::Result<()> {
|
||||
runner.async_run(|mut config| {
|
||||
let (client, backend, _, task_manager) =
|
||||
polkadot_service::new_chain_ops(&mut config, None).map_err(service_error)?;
|
||||
Ok((cmd.run(client, backend), task_manager))
|
||||
Ok((cmd.run(client, backend, None), task_manager))
|
||||
})
|
||||
},
|
||||
Some(Subcommand::Inspect(cmd)) => {
|
||||
|
||||
Reference in New Issue
Block a user