Skip to content

Commit

Permalink
feat: scripts to migrate contract
Browse files Browse the repository at this point in the history
  • Loading branch information
duvbell committed May 20, 2024
1 parent 67a786e commit 727d9d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/50/migrate-wasm-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ WASM_CONTRACT_PATH="bin/ics10_grandpa_cw.wasm"
WASM_CLIENT_ID="08-wasm-0"

HEX_CHECKSUM="3e743bf804a60e5fd1dfab6c61bba0f2e76cda260edc66d6b7b10691fb5096c1"
$BINARY tx ibc-wasm migrate-contract $WASM_CLIENT_ID $HEX_CHECKSUM '{}' --title "store new wasm code" --summary "none" --from $KEY --keyring-backend test --chain-id $CHAINID --deposit 10000000000${DENOM} --home $HOME_DIR --gas 20002152622 --fees 20020166${DENOM} -y
$BINARY tx ibc-wasm migrate-contract $WASM_CLIENT_ID $HEX_CHECKSUM {} --title "store new wasm code" --summary "none" --from $KEY --keyring-backend test --chain-id $CHAINID --deposit 10000000000${DENOM} --home $HOME_DIR --gas 20002152622 --fees 20020166${DENOM} -y

sleep 6
# $BINARY query gov proposals -o json > /tmp/proposals.json
PROPOSAL_ID=5
PROPOSAL_ID=6
echo "Proposal ID is: $PROPOSAL_ID"

# Validator vote yes
Expand Down

0 comments on commit 727d9d9

Please sign in to comment.