Skip to content

Commit

Permalink
fix prop script
Browse files Browse the repository at this point in the history
  • Loading branch information
jhernandezb committed Apr 29, 2024
1 parent a7beae7 commit 992fb71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/ci/upgrade/proposal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ starsd config keyring-backend test --home $STARGAZE_HOME
echo "fund community pool"
starsd tx distribution fund-community-pool 20000000000000ustars \
--gas-prices 1ustars --gas auto --gas-adjustment 1.5 --from funder \
--chain-id stargaze -b block --yes --node http://stargaze:26657 --home $STARGAZE_HOME --keyring-backend test
--chain-id stargaze -b sync --yes --node http://stargaze:26657 --home $STARGAZE_HOME --keyring-backend test

sleep 5
starsd q distribution community-pool --node http://stargaze:26657

HEIGHT=$(starsd status --node http://stargaze:26657 --home $STARGAZE_HOME | jq .SyncInfo.latest_block_height -r)
HEIGHT=$(starsd status --node http://stargaze:26657 --home $STARGAZE_HOME | jq .SyncInfo.latest_sync_height -r)

echo "current height $HEIGHT"
HEIGHT=$(expr $HEIGHT + 100)
Expand All @@ -27,13 +27,13 @@ starsd tx gov submit-proposal software-upgrade v14 --upgrade-height $HEIGHT \
--description "v14 Upgrade" \
--title "v14 Upgrade" \
--gas-prices 1ustars --gas auto --gas-adjustment 1.5 --from validator \
--chain-id stargaze -b block --yes --node http://stargaze:26657 --home $STARGAZE_HOME --keyring-backend test
--chain-id stargaze -b sync --yes --node http://stargaze:26657 --home $STARGAZE_HOME --keyring-backend test

starsd q gov proposals --node http://stargaze:26657 --home $STARGAZE_HOME


starsd tx gov vote 1 "yes" --gas-prices 1ustars --gas auto --gas-adjustment 1.5 --from validator \
--chain-id stargaze -b block --yes --node http://stargaze:26657 --home $STARGAZE_HOME --keyring-backend test
--chain-id stargaze -b sync --yes --node http://stargaze:26657 --home $STARGAZE_HOME --keyring-backend test
sleep 30
starsd q gov proposals --node http://stargaze:26657 --home $STARGAZE_HOME
sleep 30

0 comments on commit 992fb71

Please sign in to comment.