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

Move prompt to client/v2 #17222

Open
Tracked by #18580
julienrbrt opened this issue Jul 31, 2023 · 0 comments
Open
Tracked by #18580

Move prompt to client/v2 #17222

julienrbrt opened this issue Jul 31, 2023 · 0 comments
Assignees

Comments

@julienrbrt
Copy link
Member

The draft-proposal command introduced a Prompt (https://github.com/cosmos/cosmos-sdk/blob/701aaa8/x/gov/client/cli/prompt.go) helper, that prompts the user of each field.

We should move Prompt to client/v2 and use the scalar annotation instead of simple field matching for validating the fields.
Additionally, the Prompt should work recursively on the whole message.

ref: #15982 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

Successfully merging a pull request may close this issue.

1 participant