Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
Update Godwoken.ref and adapt the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Flouse committed Apr 7, 2022
1 parent 386cdaa commit 5296f7c
Show file tree
Hide file tree
Showing 25 changed files with 751 additions and 238 deletions.
12 changes: 7 additions & 5 deletions devtools/ci/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ if [ -d "$GODWOKEN_DIR" ]
then
echo "godwoken project already exists"
else
git clone -b develop https://github.com/nervosnetwork/godwoken.git $GODWOKEN_DIR
git clone --depth=1 https://github.com/nervosnetwork/godwoken.git $GODWOKEN_DIR
fi
cd $GODWOKEN_DIR
git checkout 7527776abf53ab069015b66e2569148341425bd8 # https://github.com/nervosnetwork/godwoken/commits/7527776a
# https://github.com/nervosnetwork/godwoken/releases/tag/v0.10.4
git fetch origin v0.10.4
git checkout FETCH_HEAD
git submodule update --init --recursive --depth=1

cd $PROJECT_ROOT
Expand All @@ -25,10 +27,10 @@ make all-via-docker
# fetch godwoken-scripts from godwoken-prebuilds image,
# including meta-contract and sudt-contract
GW_SCRIPTS_DIR=$PROJECT_ROOT/build
docker pull nervos/godwoken-prebuilds:latest
mkdir -p $GW_SCRIPTS_DIR && echo "Create dir"
docker run --rm -v $GW_SCRIPTS_DIR:/build-dir \
nervos/godwoken-prebuilds:latest \
IMAGE=nervos/godwoken-prebuilds:v0.10.3
docker pull $IMAGE
docker run --rm -v $GW_SCRIPTS_DIR:/build-dir $IMAGE \
cp -r /scripts/godwoken-scripts /build-dir \
&& echo "Copy godwoken-scripts"

Expand Down
Loading

0 comments on commit 5296f7c

Please sign in to comment.