Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to leap version #58

Merged
merged 2 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
yarn-error.log
logs
dist
.vscode
.vscode
.DS_Store
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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


6 changes: 3 additions & 3 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified docker/node/logs/EOS/data/snapshots/snapshot.bin
Binary file not shown.
Binary file modified docker/node/logs/TLOS/data/snapshots/snapshot.bin
Binary file not shown.
Binary file modified docker/node/logs/WAX/data/snapshots/snapshot.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion docker/scripts/health_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/dockerClient.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down