diff --git a/go.mod b/go.mod index 072b12a0..10e1af5b 100644 --- a/go.mod +++ b/go.mod @@ -365,7 +365,7 @@ replace ( github.com/CosmWasm/wasmvm => github.com/CosmWasm/wasmvm v1.5.2 github.com/cometbft/cometbft => github.com/notional-labs/cometbft v0.38.6-fixed-len-vote-time-tag - github.com/cosmos/cosmos-sdk => /Users/kien6034/go/pkg/mod/github.com/notional-labs/cosmos-sdk@v0.50.5-patch-validators-trim-tag + github.com/cosmos/cosmos-sdk => github.com/notional-labs/cosmos-sdk v0.50.5-patch-validators-trim-tag github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8 => github.com/notional-labs/ibc-apps/middleware/packet-forward-middleware/v8 v8.0.2-rc2 // use cosmos-compatible protobufs @@ -377,7 +377,7 @@ replace ( github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 - github.com/cosmos/ibc-go/modules/light-clients/08-wasm => /Users/kien6034/go/pkg/mod/github.com/cosmos/ibc-go/modules/light-clients/08-wasm@v0.1.1-0.20231213092650-57fcdb9a9a9d + github.com/cosmos/ibc-go/modules/light-clients/08-wasm => github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.1.1-0.20231213092650-57fcdb9a9a9d // github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8 => github.com/notional-labs/ibc-apps/middleware/packet-forward-middleware/v8 v8.0.0-0.20240327105252-f31a09121d57 ) diff --git a/scripts/50/store-wasm-code.sh b/scripts/50/store-wasm-code.sh index 9aefbe4f..cc4698fc 100755 --- a/scripts/50/store-wasm-code.sh +++ b/scripts/50/store-wasm-code.sh @@ -4,10 +4,10 @@ DENOM="ppica" HOME_DIR="mytestnet" CHAINID="centauri-dev" BINARY=picad +WASM_CONTRACT_PATH="/Users/kien6034/notional/projects/composable-ibc/target/wasm32-unknown-unknown/release/ics10_grandpa_cw.wasm" # Create a proposale to store wasm code -$BINARY tx ibc-wasm store-code "contracts/ics10_grandpa_cw.wasm" --title "test" --summary "none" --from $KEY --keyring-backend test --home $HOME_DIR --deposit 10000000000${DENOM} --gas 20002152622 --fees 20020166${DENOM} -y - +$BINARY tx ibc-wasm store-code $WASM_CONTRACT_PATH --title "migrate new contract" --summary "none" --from $KEY --keyring-backend test --home $HOME_DIR --deposit 10000000000${DENOM} --gas 20002152622 --fees 20020166${DENOM} -y # Fetch proposal id sleep 6