Skip to content

Commit

Permalink
Merge branch 'develop' into stateful-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinssgh authored Sep 25, 2023
2 parents 4de9489 + 7d44ea9 commit f5216fe
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/actions/upgrade-testing/scripts/raise_gov_proposal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit f5216fe

Please sign in to comment.