-
Notifications
You must be signed in to change notification settings - Fork 6
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
Recover funds test #29
Recover funds test #29
Conversation
Signed-off-by: Matthias Geihs <matthias@perun.network>
5535f52
to
e12abd8
Compare
Signed-off-by: Matthias Geihs <matthias@perun.network>
Signed-off-by: Matthias Geihs <matthias@perun.network>
Signed-off-by: Matthias Geihs <matthias@perun.network>
Signed-off-by: Matthias Geihs <matthias@perun.network>
Signed-off-by: Matthias Geihs <matthias@perun.network>
Before, we filtered assets based on their ledger ID. However, this made the funder silently discard fundings if not configured correctly. Now we require to include placeholder depositors to be registered. Signed-off-by: Matthias Geihs <matthias@perun.network>
Signed-off-by: Matthias Geihs <matthias@perun.network>
Signed-off-by: Matthias Geihs <matthias@perun.network>
46dec3c
to
1b83141
Compare
// Count how often we don't expect an event because we have a zero balance or | ||
// the asset is on a different ledger. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Count how often we don't expect an event because we have a zero balance or | |
// the asset is on a different ledger. | |
// Count how often we don't expect an event because the asset is on a different ledger or we have a zero | |
// balance for this asset. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's debatable which order is better :D
Honestly, I would just leave it as it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but I just meant that the comment is consistent with the code because you're first checking the chains and then the zero balances. (I was first a little confused because I thought the method countDifferentLedger does both).
Signed-off-by: Matthias Geihs <matthias@perun.network>
32ae2f5
to
73da36f
Compare
We integrate the tests for fund recovery.
Depends on hyperledger-labs/go-perun#370.