paritytech / zombienet

A cli tool to easily spawn ephemeral Polkadot/Substrate networks and perform tests against them.
https://paritytech.github.io/zombienet/
GNU General Public License v3.0
159 stars 91 forks source link

An option to turn off `--insecure-validator-i-know-what-i-do` #1737

Open maksimryndin opened 7 months ago

maksimryndin commented 7 months ago

Is your feature request related to a problem? Please describe.

By default in validator mode --insecure-validator-i-know-what-i-do flag is passed by default. But as far as I know there is no way to turn it off - this flag doesn't support taking a value. So I couldn't test a secure validator mode (or at least I haven't found away and this should be documented somewhere).

Related issue https://github.com/paritytech/zombienet/issues/1551)

Describe the solution you'd like

I would like to have a switch to exclude the flag from the default args

Describe alternatives you've considered

No response

Additional context

No response

pepoviola commented 7 months ago

Hi @maksimryndin, thanks for your feedback. I think we can add an option to disable all the default flags we add and allow users to use args to customize the generated command as they want. This will fix this issue and allow others to use in a more flexible way. @l0r1s this should be also added in v2.

Thx!