Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown preset is silently defaulted to a root command and sends wrong default attributes #233

Closed
2 tasks done
mordamax opened this issue Aug 22, 2023 · 0 comments · Fixed by #234
Closed
2 tasks done
Assignees

Comments

@mordamax
Copy link
Contributor

mordamax commented Aug 22, 2023

Unknown preset is silently defaulted to a root command and sends wrong default attributes.
Not sure how bot try-runtime trappist ended up with this but it sends the default arguments mixed with trappist one
--chain=polkadot --chain_node=polkadot --target_path=. --live_uri=rococo-trappist
while in docs it shows

Default static args:
chain: trappist
chain_node: trappist-node
target_path: .
live_uri: rococo-trappist

In scope of this i identified that you can also

  • run command which is not expected to be run in this repo
  • run command with unexisting preset like bot try-runtime ololo and it will still run it

Tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant