-
Notifications
You must be signed in to change notification settings - Fork 120
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
feat: add gov proposal scripts to localnet to support fronend development #1499
Conversation
Co-authored-by: Hernan Clich <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
In the future, I think it would be better to move the proposal creations in the zeta_tx_server
package in orchestrator
module for more programmability and flexibility. And so we could have a --with-gov-proposals
flag when starting the localnet.
But fine like this if this unblock devs
Thanks this is helpful to know. I was thinking about how it could be part of the smoke test and though about trying to write it in Go but wanted to get something out ASAP to help out the front end devs. |
Description
Creates a localnet_gov_admin on the host system and creates a governance proposals in a variety of states. Rejected, Approved, Pending Deposit, Pending Vote, etc and increases the proposal window to one hour which helps frontend developers who need to consume the proposal data in pending states.
Type of change
How Has This Been Tested?
I have tested this locally and it works. It makes not change changes to the smoke tests themselves besides adding a new genesis account into the localnet environment.
Checklist: