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,7 +420,9 @@ pub fn run() -> Result<()> {
if chain_spec.is_kusama() {
return runner.async_run(|config| {
Ok((
cmd.run::<service::kusama_runtime::Block, service::KusamaExecutor>(config)
cmd.run::<service::kusama_runtime::Block, service::KusamaExecutorDispatch>(
config,
)
.map_err(Error::SubstrateCli),
task_manager,
))
......@@ -431,7 +433,7 @@ pub fn run() -> Result<()> {
if chain_spec.is_westend() {
return runner.async_run(|config| {
Ok((
cmd.run::<service::westend_runtime::Block, service::WestendExecutor>(
cmd.run::<service::westend_runtime::Block, service::WestendExecutorDispatch>(
config,
)
.map_err(Error::SubstrateCli),
......@@ -442,7 +444,9 @@ pub fn run() -> Result<()> {
// else we assume it is polkadot.
runner.async_run(|config| {
Ok((
cmd.run::<service::polkadot_runtime::Block, service::PolkadotExecutor>(config)
cmd.run::<service::polkadot_runtime::Block, service::PolkadotExecutorDispatch>(
config,
)
.map_err(Error::SubstrateCli),
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