diff --git a/ts-relayer-tests/build.sh b/ts-relayer-tests/build.sh index 09ac9dc7..bcef98c7 100755 --- a/ts-relayer-tests/build.sh +++ b/ts-relayer-tests/build.sh @@ -1,7 +1,4 @@ #!/bin/bash -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) # source: https://stackoverflow.com/a/246128/3437868 -ARTIFACTS_DIR="$SCRIPT_DIR/../artifacts" -EXTERNAL_WASMS_DIR="$SCRIPT_DIR/../external-wasms" ## Compiles an optimizes the local contracts for testing with ## ts-relayer. @@ -16,9 +13,9 @@ docker run --rm -v "$(pwd)":/code --platform linux/amd64 \ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ cosmwasm/workspace-optimizer:0.15.0 -mkdir -p "$SCRIPT_DIR/internal" -cp "$ARTIFACTS_DIR/*.wasm $SCRIPT_DIR/internal" -cp "$EXTERNAL_WASMS_DIR/*.wasm $SCRIPT_DIR/internal" +mkdir -p ./ts-relayer-tests/internal +cp ./artifacts/*.wasm ./ts-relayer-tests/internal +cp ./external-wasms/*.wasm ./ts-relayer-tests/internal echo "done. avaliable wasm blobs:" ls ./ts-relayer-tests/internal