try new external stack
Some checks failed
Test / Run unit tests (pull_request) Successful in 12m1s
Test / Run integration tests (pull_request) Failing after 3m22s
Test / Run compliance tests (pull_request) Successful in 4m7s

This commit is contained in:
Roy Crihfield 2024-06-26 20:05:08 +08:00
parent cbda781300
commit 1abc94b1bd

View File

@ -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