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

Add expiry integration tests #358

Open
5 tasks
marsella opened this issue Feb 4, 2022 · 0 comments
Open
5 tasks

Add expiry integration tests #358

marsella opened this issue Feb 4, 2022 · 0 comments

Comments

@marsella
Copy link
Contributor

marsella commented Feb 4, 2022

Add the following happy tests:

  • close on a channel with all balance owed the customer
  • close on a channel with all balance owed the merchant
  • close on a channel with balance for each party

and the following tests, which should error:

  • close on a channel after a store/pay/restore series. All funds should go to the merchant.
  • close on a channel that was not established. Active op should error.

...and any others you think of.

In all of these, "close" is, of course, an expiry-initialized close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant