Skip to content

itest: refactor, add more assertions #784

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

Merged
merged 7 commits into from
Jul 3, 2024
Merged

Conversation

guggero
Copy link
Member

@guggero guggero commented Jun 28, 2024

This PR adds more assertions after refactoring out some common code.

The new assertions discovered the following bugs:

@Roasbeef
Copy link
Member

Roasbeef commented Jul 2, 2024

Made this PR to fix the import issue: lightninglabs/taproot-assets#987

Will update this with the latest commit to rerun the itests.

@Roasbeef Roasbeef marked this pull request as ready for review July 2, 2024 18:40
guggero and others added 7 commits July 2, 2024 17:59
This commit extracts the creation of the asset test channel network into
its own function. At the same time we also move all helper functions to
a new file.
This makes sure that a recipient of a channel can also initiate the
co-op closing procedure and everything works the same still.
We should only have 2 outputs, the test asserted 3 before as the co-op
close transaction couldn't properly spend the funding input. We
also assert the normal balance now as now that we import the funding
outputs as proofs, this no longer incorrectly shows up as the balance.
@Roasbeef Roasbeef merged commit 587a35c into 0-19-staging Jul 3, 2024
12 checks passed
@guggero guggero deleted the itest-additions branch July 8, 2024 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

[bug]: responder of taproot assets channel doesn't have proof for commitment transaction
2 participants