diff --git a/.gitignore b/.gitignore index a90b621..878980d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ node_modules yarn-error.log logs dist -.vscode \ No newline at end of file +.vscode +.DS_Store \ No newline at end of file diff --git a/README.md b/README.md index 05cb18c..e54704c 100644 --- a/README.md +++ b/README.md @@ -97,4 +97,8 @@ For issues not covered in the documentation, please jump into our channel and we This code is provided as is, under [MIT Licence](LICENCE). +## Todo + +- Support ARM binaries for leap version + diff --git a/docker/Makefile b/docker/Makefile index cb7f2b7..644f94a 100755 --- a/docker/Makefile +++ b/docker/Makefile @@ -39,10 +39,10 @@ copy_snapshots: ./copy_snapshot.sh build: - # docker build -f Dockerfile -t genereos/qtest:v1.1.4 . --platform linux/amd64 - # docker build -f Dockerfile -t genereos/qtest:arm64-v1.1.4 . --platform linux/arm64 + # docker build -f Dockerfile -t genereos/qtest:v1.2.0 . --platform linux/amd64 + # docker build -f Dockerfile -t genereos/qtest:arm64-v1.2.0 . --platform linux/arm64 # docker buildx create --use - docker buildx build -f Dockerfile -t genereos/qtest:v1.1.4 --platform linux/amd64,linux/arm64 . --push + docker buildx build -f Dockerfile -t genereos/qtest:v1.2.0 --platform linux/amd64,linux/arm64 . --push start: stop docker run --name qtest --env SYSTEM_TOKEN_SYMBOL="TLOS" -d -p 8888:8888 genereos/qtest:v1.1.4 diff --git a/docker/node/logs/EOS/data/snapshots/snapshot.bin b/docker/node/logs/EOS/data/snapshots/snapshot.bin index 9651b04..6420fc7 100644 Binary files a/docker/node/logs/EOS/data/snapshots/snapshot.bin and b/docker/node/logs/EOS/data/snapshots/snapshot.bin differ diff --git a/docker/node/logs/TLOS/data/snapshots/snapshot.bin b/docker/node/logs/TLOS/data/snapshots/snapshot.bin index 22844aa..0e3ccf4 100644 Binary files a/docker/node/logs/TLOS/data/snapshots/snapshot.bin and b/docker/node/logs/TLOS/data/snapshots/snapshot.bin differ diff --git a/docker/node/logs/WAX/data/snapshots/snapshot.bin b/docker/node/logs/WAX/data/snapshots/snapshot.bin index 4f7ad46..d0d0c88 100644 Binary files a/docker/node/logs/WAX/data/snapshots/snapshot.bin and b/docker/node/logs/WAX/data/snapshots/snapshot.bin differ diff --git a/docker/scripts/health_check.sh b/docker/scripts/health_check.sh index 515c62c..9f7d661 100755 --- a/docker/scripts/health_check.sh +++ b/docker/scripts/health_check.sh @@ -2,7 +2,7 @@ curl -f --request POST \ --url http://127.0.0.1:8888/v1/chain/get_block \ - --data '{"block_num_or_id":"17"}' + --data '{"block_num_or_id":"18"}' if [[ $? -eq 0 ]] then diff --git a/package-lock.json b/package-lock.json index 9e276ee..ceea4a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "@genereos/qtest", - "version": "1.0.0", + "name": "qtest-js", + "version": "0.6.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "@genereos/qtest", - "version": "1.0.0", + "name": "qtest-js", + "version": "0.6.0", "license": "MIT", "dependencies": { "eosjs": "^22.1.0", diff --git a/package.json b/package.json index d2c3d85..4e7aa87 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qtest-js", - "version": "0.5.1", + "version": "0.6.0", "description": "eosio testing library", "main": "dist/index.js", "license": "MIT", diff --git a/src/dockerClient.ts b/src/dockerClient.ts index b591627..0a5f4fa 100644 --- a/src/dockerClient.ts +++ b/src/dockerClient.ts @@ -1,5 +1,5 @@ import { execSync } from "child_process"; -const dockerImageName = "genereos/qtest:v1.1.4"; +const dockerImageName = "genereos/qtest:v1.2.0"; function execute(command, ignoreFail = false) { try {