Skip to content

fast-forward command #12

Closed
Closed
@liamaharon

Description

@liamaharon

Original issue: paritytech/substrate#13887


Partial paritytech/polkadot-sdk#178

Restore the fast-forward in a way to support any chain without adding additional cli complexity.

  • Support arbitrary inherents required by the runtime. idea:
    • Create a file inherents_configurations.rs containing inherent configurations similar to https://github.com/paritytech/substrate/blob/master/utils/frame/try-runtime/cli/src/block_building_info.rs
    • When a command like fast-forward that requires inherents is used, the CLI will attempt to build blocks using each of these inherent options until it finds one that works
    • If it finds one that works, it will memoize it for the rest of the run
    • If it cannot find one that works it exits with a helpful message to the user linking to documentation explaining how to add their inherent configuration to inherents_configurations.rs

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions