Skip to content

Commit

Permalink
fix(ci): prevent truncating the upgrade proposal with tee
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Jul 9, 2024
1 parent f45a56b commit f53b239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/localnet/scripts/start-upgrade-orchestrator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ cat > upgrade_plan_info.json <<EOF
}
EOF

cat upgrade.json | jq --arg info "$(cat upgrade_plan_info.json)" '.messages[0].plan.info = $info' | tee upgrade.json
cat upgrade.json | jq --arg info "$(cat upgrade_plan_info.json)" '.messages[0].plan.info = $info' | tee upgrade_full.json

echo "Submitting upgrade proposal"

zetacored tx gov submit-proposal upgrade.json --from operator --keyring-backend test --chain-id $CHAINID --yes --fees 2000000000000000azeta -o json | tee proposal.json
zetacored tx gov submit-proposal upgrade_full.json --from operator --keyring-backend test --chain-id $CHAINID --yes --fees 2000000000000000azeta -o json | tee proposal.json
PROPOSAL_TX_HASH=$(jq -r .txhash proposal.json)
PROPOSAL_ID=""
# WARN: this seems to be unstable
Expand Down

0 comments on commit f53b239

Please sign in to comment.