Uh oh!
There was an error while loading. Please reload this page.
feat(staking): non-interactive wizard mode - #384
Conversation
Add a fully non-interactive path to `staking wizard` so every prompt can be supplied by a flag, making it scriptable and e2e-testable. New flags: --non-interactive/--yes, --funding-source, --vesting-contract, --operator, --create-operator, --operator-same, --operator-password, --operator-keystore-out, --amount, and identity flags (--moniker, --logo-uri, --website, --description, --email, --twitter, --telegram, --github). When --non-interactive (or --yes) is set the wizard runs end-to-end with zero prompts, erroring clearly and naming the missing flag when a required choice is absent. The interactive path is unchanged (additive branches only). The browser-wallet owner path works non-interactively too.
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Uh oh!
There was an error while loading. Please reload this page.
What
Adds a fully non-interactive path to `genlayer staking wizard` so every prompt can be supplied by a flag — making the wizard scriptable and e2e-testable (today it is prompt-only).
Flags added
Owner selection (keystore vs browser) reuses the existing `--account` / `--wallet browser` flags.
Non-interactive gate
Mode activates only when `--non-interactive` or `--yes` is passed (explicit, so interactive behavior is untouched). In that mode:
Each missing/invalid required flag fails with a clear message naming the flag.
Left interactive (by design)
Notes
Testing