José Molina Colmenero
|
2ca30ed10a
|
fix: export-genesis-state command (#1521)
# Description
Currently the `ExportGenesisState` command in polkadot parachain uses an
asynchronous context to run, which seems to display some warnings. See
the screenshot below:

After the changes in this PR, which essentially runs the command in a
synchronous context, the command works properly without any warning.

The remaining runtimes were added to `construct_benchmark_partials`
macro in order not to fail if the runtime was not included in the
non-exhaustive initial list, similarly to the `construct_async_run` one.
For completeness: tests were made following this
[tutorial](https://docs.substrate.io/tutorials/build-a-parachain/connect-a-local-parachain/).
|
2023-09-17 23:27:38 +01:00 |
|