Allow try-runtime for contracts-rococo (#1906)

* Enable try-runtime for contracts-rococo

* Fix typo from merge
This commit is contained in:
Alexander Theißen
2022-11-27 15:28:24 +01:00
committed by GitHub
parent ddbf07e0b6
commit 91a6892459
2 changed files with 21 additions and 0 deletions
@@ -626,6 +626,12 @@ pub fn run() -> Result<()> {
task_manager,
))
}),
Runtime::ContractsRococo => runner.async_run(|config| {
Ok((
cmd.run::<Block, crate::service::ContractsRococoRuntimeExecutor>(config),
task_manager,
))
}),
_ => Err("Chain doesn't support try-runtime".into()),
}
},