feat: add gov proposal scripts to localnet to support fronend development #1499
feat: add gov proposal scripts to localnet to support fronend development #1499
Conversation
Co-authored-by: Hernan Clich <62221379+hernan-clich@users.noreply.github.com>
lumtis
left a comment
There was a problem hiding this comment.
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: