Parity PoA integration test
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
contract
gateway
mach1
mach2
mach3
mach4
.gitignore
.travis.dockerfile
.travis.yml
LICENSE
README.md
docker-compose-tendermint.yml
docker-compose.yml

README.md

Parity POA

Parity PoA integration test

Initialization

  • build parity docker image (docker.parity is expected)
docker build -t docker.parity -f .travis.dockerfile .
  • build contract docker image (docker.contract is expected)
cd contract
docker build -t docker.contract .

Run test

docker-compose up -d mach1 mach2 mach3 mach4 gateway
docker-compose logs --tail 100
docker-compose run contract node deploy.js
docker-compose run contract node main.js
docker-compose stop mach1 mach2 mach3 mach4 gateway
docker-compose logs --tail 100 mach1
docker-compose logs --tail 100 mach2
docker-compose logs --tail 100 mach3
docker-compose logs --tail 100 mach4
docker-compose logs --tail 100 gateway
docker-compose rm -f