sgn

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2020 License: GPL-3.0

README

SGN

CircleCI

Test

Multinode Local Tests
Requirements
Steps
  1. Start Docker daemon

  2. cd to repo's root folder and run the following command (sudo may be required)

    go test -failfast -v -timeout 30m github.com/celer-network/sgn/test/e2e/multinode

Test Logs
  • geth log path: docker-volumes/geth-env/geth.log
  • sgn nodeN log path: docker-volumes/nodeN/sgn/sgn.log
Manual Tests
Steps
  1. cp ./test/config/local_config.json ./config.json
  2. start docker geth container docker-compose up geth
  3. make install-all
  4. sgntest deploy
  5. sgntest osp
  6. sgn start
  7. curl -X POST http://127.0.0.1:1317/requestGuard -d '{ "seqNum": "10" }'
  8. curl -X POST http://127.0.0.1:1317/intendSettle -d '{ "seqNum": "9" }'

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL