Companion for revert command new API (#11022) (#1089)

* Additional parameter for 'revert' command

* Update substrate

* cargo update -p xcm

* Update Cargo.lock

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Davide Galassi
2022-03-24 21:32:12 +01:00
committed by GitHub
parent f1d3607262
commit 09d2cb9a09
3 changed files with 260 additions and 258 deletions
+258 -256
View File
File diff suppressed because it is too large Load Diff
@@ -184,7 +184,7 @@ pub fn run() -> Result<()> {
},
Some(Subcommand::Revert(cmd)) => {
construct_async_run!(|components, cli, cmd, config| {
Ok(cmd.run(components.client, components.backend))
Ok(cmd.run(components.client, components.backend, None))
})
},
Some(Subcommand::ExportGenesisState(params)) => {
+1 -1
View File
@@ -392,7 +392,7 @@ pub fn run() -> Result<()> {
})
},
Some(Subcommand::Revert(cmd)) => construct_async_run!(|components, cli, cmd, config| {
Ok(cmd.run(components.client, components.backend))
Ok(cmd.run(components.client, components.backend, None))
}),
Some(Subcommand::ExportGenesisState(params)) => {
let mut builder = sc_cli::LoggerBuilder::new("");