diff --git a/scripts/integration-setup.sh b/scripts/integration-setup.sh index c5677f5..f370a6e 100755 --- a/scripts/integration-setup.sh +++ b/scripts/integration-setup.sh @@ -4,14 +4,18 @@ set -e -# Note: stack path should be absolute, otherwise SO looks for it in packaged stacks -laconic_so="${LACONIC_SO:-laconic-so} --stack $(readlink -f test) --verbose" +STACK_URL="git.vdb.to/cerc-io/fixturenet-eth-stacks" CONFIG_DIR=$(readlink -f "${CONFIG_DIR:-$(mktemp -d)}") - -# Point stack-orchestrator to the multi-project root export CERC_REPO_BASE_DIR="${CERC_REPO_BASE_DIR:-$(git rev-parse --show-toplevel)/..}" +laconic-so --verbose fetch-stack "$STACK_URL" +stack_dir=$CERC_REPO_BASE_DIR/fixturenet-eth-stacks/stack-orchestrator/stacks/fixturenet-plugeth +git -C $stack_dir checkout origin/plugeth-stack + +# Note: stack path should be absolute, otherwise SO looks for it in packaged stacks +laconic_so="laconic-so --stack $stack_dir --verbose" + echo CERC_STATEDIFF_DB_GOOSE_MIN_VER=21 >> $CONFIG_DIR/stack.env # don't run plugeth in the debugger echo CERC_REMOTE_DEBUG=false >> $CONFIG_DIR/stack.env