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

Check the results of test-zeekoe.py on chain #325

Open
DariusParvin opened this issue Nov 15, 2021 · 0 comments
Open

Check the results of test-zeekoe.py on chain #325

DariusParvin opened this issue Nov 15, 2021 · 0 comments

Comments

@DariusParvin
Copy link
Contributor

Currently test-zeekoe.py only makes sure that an error doesn't occur when initiating the different flows that are tested. This ensures that the operations broadcasted in the test were valid and successful.

However, the tests don't verify that the customer or merchant daemons respond appropriately. What is missing from the test is making sure that zeekoe responds appropriately, e.g. that custClaim gets broadcasted after custClose, or that the merchant calls merchDispute on a revoked state. Currently you'd have to manually check the contract on chain to verify that the channel closed successfully.

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