diff --git a/scripts/upgrade/bin/centaurid-old b/scripts/upgrade/bin/centaurid-old deleted file mode 100644 index 0ce85379..00000000 Binary files a/scripts/upgrade/bin/centaurid-old and /dev/null differ diff --git a/scripts/upgrade/bin/mykey b/scripts/upgrade/bin/mykey deleted file mode 100644 index 778fcb20..00000000 --- a/scripts/upgrade/bin/mykey +++ /dev/null @@ -1 +0,0 @@ -decorate bright ozone fork gallery riot bus exhaust worth way bone indoor calm squirrel merry zero scheme cotton until shop any excess stage laundry \ No newline at end of file diff --git a/scripts/upgrade/v6_to_7/post_08_wasm.sh b/scripts/upgrade/v6_to_7/post_08_wasm.sh index 0c3dab72..a813cf85 100644 --- a/scripts/upgrade/v6_to_7/post_08_wasm.sh +++ b/scripts/upgrade/v6_to_7/post_08_wasm.sh @@ -7,4 +7,12 @@ HOME_DIR="mytestnet" sleep 2 -./_build/new/centaurid query ibc-wasm checksums --home $HOME_DIR \ No newline at end of file +checksum=$(./_build/new/centaurid query ibc-wasm checksums --home $HOME_DIR -o json | jq -r '.checksums[0]') + +if ./_build/new/centaurid query ibc-wasm code $checksum --home $HOME_DIR -o json &> /dev/null; then + echo "Code with checksum $checksum exists." +else + echo "Code with checksum $checksum does not exist." +fi + +