-
Notifications
You must be signed in to change notification settings - Fork 30
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
Wasm proposal.yml #48
Comments
The osmosisd cli already supports submitting governance proposals using a json file. We should have this just be an extension of the format already used. Base json for text proposals: https://github.com/cosmos/gaia/blob/main/docs/governance/proposals/proposal-template.json Json for Community Pool Spend proposals: https://github.com/cosmos/gaia/blob/main/docs/governance/community-pool-spend/proposal.json |
I'd prefer to use the YML. The proposal.json has persistently been trash UX, with JSON's not supporting newlines in the description. I like the code section! For now, its likely just going get included into the description text per some beaker-defined structure, but we can change the chain code later to use whatever structure we find best |
Looking at the template. I guess another good point is to make the deposit part of this YAML. I think this is low priority, it can be added later. Issue created #49 to that that.
I agree, Beaker is all about making the UX better. Although JSON is faster, YAML provides a much better experience. |
+1 for not json, mainly because of multi-line string problem. Whether it's yaml or toml (toml is an option here to reduce the variety of the format). |
Submitting a proposal is currently done this way:
I think we could simplify this by making a yaml file instead or json. This will be really useful as the description can be quite long.
Example proposal.yml idea
Notes
code
part as a metadata structure in the proposal descriptionThe text was updated successfully, but these errors were encountered: