Unverified Commit 732348c0 authored by ferrell-code's avatar ferrell-code Committed by GitHub
Browse files

Fix Try-Runtime (#3725)

* compile try-runtime

* cargo fmt lol
parent d8d5ce28
Pipeline #154329 passed with stages
in 33 minutes and 46 seconds
...@@ -420,8 +420,10 @@ pub fn run() -> Result<()> { ...@@ -420,8 +420,10 @@ pub fn run() -> Result<()> {
if chain_spec.is_kusama() { if chain_spec.is_kusama() {
return runner.async_run(|config| { return runner.async_run(|config| {
Ok(( Ok((
cmd.run::<service::kusama_runtime::Block, service::KusamaExecutor>(config) cmd.run::<service::kusama_runtime::Block, service::KusamaExecutorDispatch>(
.map_err(Error::SubstrateCli), config,
)
.map_err(Error::SubstrateCli),
task_manager, task_manager,
)) ))
}) })
...@@ -431,7 +433,7 @@ pub fn run() -> Result<()> { ...@@ -431,7 +433,7 @@ pub fn run() -> Result<()> {
if chain_spec.is_westend() { if chain_spec.is_westend() {
return runner.async_run(|config| { return runner.async_run(|config| {
Ok(( Ok((
cmd.run::<service::westend_runtime::Block, service::WestendExecutor>( cmd.run::<service::westend_runtime::Block, service::WestendExecutorDispatch>(
config, config,
) )
.map_err(Error::SubstrateCli), .map_err(Error::SubstrateCli),
...@@ -442,8 +444,10 @@ pub fn run() -> Result<()> { ...@@ -442,8 +444,10 @@ pub fn run() -> Result<()> {
// else we assume it is polkadot. // else we assume it is polkadot.
runner.async_run(|config| { runner.async_run(|config| {
Ok(( Ok((
cmd.run::<service::polkadot_runtime::Block, service::PolkadotExecutor>(config) cmd.run::<service::polkadot_runtime::Block, service::PolkadotExecutorDispatch>(
.map_err(Error::SubstrateCli), config,
)
.map_err(Error::SubstrateCli),
task_manager, task_manager,
)) ))
}) })
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment