From 0b8d016f35896b9ad0b931b918ee8e40b5fa021d Mon Sep 17 00:00:00 2001 From: Grant Zukel Date: Fri, 22 Sep 2023 11:58:49 -0600 Subject: [PATCH] reverted back to legacy proposal type until we change the way we're doing mainnet --- .../scripts/raise_gov_proposal.py | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/actions/upgrade-testing/scripts/raise_gov_proposal.py b/.github/actions/upgrade-testing/scripts/raise_gov_proposal.py index 8cb876e71f..4a49c2f6f2 100644 --- a/.github/actions/upgrade-testing/scripts/raise_gov_proposal.py +++ b/.github/actions/upgrade-testing/scripts/raise_gov_proposal.py @@ -33,31 +33,31 @@ write_gov_json.write(proposal_json) write_gov_json.close() -GOV_PROPOSAL = f"""zetacored tx gov submit-proposal gov.json \ ---from {os.environ['MONIKER']} \ ---chain-id "{os.environ['CHAINID']}" \ ---keyring-backend test \ ---node "{os.environ['NODE']}" \ ---gas=auto \ ---gas-adjustment=2 \ ---gas-prices={os.environ['GAS_PRICES']} \ --y -""" +# GOV_PROPOSAL = f"""zetacored tx gov submit-proposal gov.json \ +# --from {os.environ['MONIKER']} \ +# --chain-id "{os.environ['CHAINID']}" \ +# --keyring-backend test \ +# --node "{os.environ['NODE']}" \ +# --gas=auto \ +# --gas-adjustment=2 \ +# --gas-prices={os.environ['GAS_PRICES']} \ +# -y +# """ -# GOV_PROPOSAL = f"""zetacored tx gov submit-legacy-proposal software-upgrade "{os.environ['VERSION']}" \ -# --from "{os.environ['MONIKER']}" \ -# --deposit {os.environ["DEPOSIT"]} \ -# --upgrade-height "{str(UPGRADE_HEIGHT).split('.')[0]}" \ -# --upgrade-info '{os.environ["UPGRADE_INFO"]}' \ -# --title "{os.environ['VERSION']}" \ -# --description "Zeta Release {os.environ['VERSION']}" \ -# --chain-id "{os.environ['CHAINID']}" \ -# --node "{os.environ['NODE']}" \ -# --keyring-backend test \ -# --gas=auto \ -# --gas-adjustment=2 \ -# --gas-prices={os.environ['GAS_PRICES']} \ -# -y \ -# --no-validate""" +GOV_PROPOSAL = f"""zetacored tx gov submit-legacy-proposal software-upgrade "{os.environ['VERSION']}" \ + --from "{os.environ['MONIKER']}" \ + --deposit {os.environ["DEPOSIT"]} \ + --upgrade-height "{str(UPGRADE_HEIGHT).split('.')[0]}" \ + --upgrade-info '{os.environ["UPGRADE_INFO"]}' \ + --title "{os.environ['VERSION']}" \ + --description "Zeta Release {os.environ['VERSION']}" \ + --chain-id "{os.environ['CHAINID']}" \ + --node "{os.environ['NODE']}" \ + --keyring-backend test \ + --gas=auto \ + --gas-adjustment=2 \ + --gas-prices={os.environ['GAS_PRICES']} \ + -y \ + --no-validate""" print(GOV_PROPOSAL)