hyperledger-labs / perun-node

State channel node of the blockchain-agnostic state channels framework Perun.
https://labs.hyperledger.org/perun-doc/
Apache License 2.0
18 stars 12 forks source link

Add session.Close & rename GetPayChsInfo in grpc #118

Closed manoranjith closed 4 years ago

manoranjith commented 4 years ago

Description

Category

Implementation Task

Relevant issue

Closes #111.

Testing

Added tests (as sub tests) to Test_Integ_Role test in session package and api/grpc package. Also added tests in payment package to cover session close.

Steps to run the tests
  1. Start the ganache cli-node: ganache-cli -b 1 --account="0x1fedd636dbc7e8d41a0622a2040b86fea8842cef9d4aa4c582aad00465b7acff,100000000000000000000" \ --account="0xb0309c60b4622d3071fad3e16c2ce4d0b1e7758316c187754f4dd0cfb44ceb33,100000000000000000000"
  2. Run all tests, including integration tests: go test -tags=integration -count=1 -cover ./...

Checklist

manoranjith commented 4 years ago

Rebased onto develop.

manoranjith commented 4 years ago

Rebased onto develop after another PR was merged.

manoranjith commented 4 years ago

Squashed the review commits, as they were failing DCO check.