Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
732348c0
Unverified
Commit
732348c0
authored
Aug 26, 2021
by
ferrell-code
Committed by
GitHub
Aug 26, 2021
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
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
cli/src/command.rs
View file @
732348c0
...
...
@@ -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
::
WestendExecutor
Dispatch
>
(
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
,
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment