Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

try-runtime: proper flag to disable spec-name/version checks. #12211

@kianenigma

Description

@kianenigma

The flags to check this are a little bit messed up now.

Currently, we allow both spec-name and version to be relaxed via this misleading flag name:

https://paritytech.github.io/substrate/master/try_runtime_cli/struct.SharedParams.html#structfield.no_spec_name_check

We should rename this flag to no_spec_check.

Possible we should also prevent spec names from EVER not matching, because it is almost certainly a footgun, at least in some commands such as on-runtime-upgrade. But something to be discussed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Z0-trivialWriting the issue is of the same difficulty as patching the code.Z6-mentorAn easy task where a mentor is available. Please indicate in the issue who the mentor could be.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions