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

Diverging opret/tapret assignments are skipped for an outpoint #290

Closed
dr-orlovsky opened this issue Jan 6, 2025 · 0 comments · Fixed by #291 · May be fixed by RGB-WG/rgb-tests#27
Closed

Diverging opret/tapret assignments are skipped for an outpoint #290

dr-orlovsky opened this issue Jan 6, 2025 · 0 comments · Fixed by #291 · May be fixed by RGB-WG/rgb-tests#27
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dr-orlovsky
Copy link
Member

dr-orlovsky commented Jan 6, 2025

The existing API which allows to list contracts and specific assignments to a given bitcoin tx outpoint works only withing a scope of given single-use seal method, since it uses XOutputSeal (which includes closing method information) instead of XOutpoint (which doesn't). Thus, when you have diverging tapret/opret assignments to the same outpoint, one type of them is always ignored, which leads to a loss of assets.

Test demonstrating the issue: RGB-WG/rgb-tests#24 (NoInput variant of the failure is caused by this problem)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
1 participant