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:
authored and GitHub committed 2022-03-24 16:32:12 -04:00
1 parent f1d3607262
commit 09d2cb9a09
3 files changed
+260 -258

No files matched your search

+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("");