Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 786 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 786 Bytes

Build images

docker build -f sawtooth-docker/sawtooth-validator-optimized -t thanhtu/sawtooth-validator-optimized .
docker build -f sawtooth-docker/sawtooth-dev-python -t thanhtu/sawtooth-dev-python .
docker build -f sawtooth-docker/sawtooth-validator-pypy3 -t thanhtu/sawtooth-validator-pypy3 .
docker build -f sawtooth-docker/sawtooth-processor -t thanhtu/sawtooth-processor .

Start environment

cd sawtooth-test
yarn start
# start env A
yarn startA
# stop env A
yarn stopA
# start env B
yarn startB
# stop env B
yarn stopB

Run test & benchmark

docker exec -it sawtooth-validator bash
tests consensus/poet/common/tests
benchs consensus/poet/common/tests/test_sgx_structs/bench_hello.py --benchmark-json=/result/bench_secp256k1_signer.json