Skip to content

Commit

Permalink
test: migrate 08 wasm data
Browse files Browse the repository at this point in the history
  • Loading branch information
kienn6034 committed Apr 2, 2024
1 parent 233636c commit 5575f5e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/tweak-test-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ run_upgrade () {

# Get upgrade height, 12 block after (6s)
STATUS_INFO=($(./_build/old/centaurid status --home $HOME | jq -r '.NodeInfo.network,.SyncInfo.latest_block_height'))
UPGRADE_HEIGHT=$((STATUS_INFO[1] + 22))
UPGRADE_HEIGHT=$((STATUS_INFO[1] + 18))
echo "UPGRADE_HEIGHT = $UPGRADE_HEIGHT"

tar -cf ./_build/new/centaurid.tar -C ./_build/new centaurid
Expand Down
10 changes: 10 additions & 0 deletions scripts/upgrade/v6_to_7/post_08_wasm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
KEY="mykey"
KEYALGO="secp256k1"
KEYRING="test"
HOME_DIR="mytestnet"


sleep 2

./_build/new/centaurid query ibc-wasm checksums --home $HOME_DIR
1 change: 0 additions & 1 deletion scripts/upgrade/v6_to_7/pre_08_wasm.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
echo "---> running pre_08_wasm.sh"
#!/bin/bash
KEY="mykey"
KEYALGO="secp256k1"
Expand Down

0 comments on commit 5575f5e

Please sign in to comment.