-
Notifications
You must be signed in to change notification settings - Fork 79
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
"Failed to deserialize bytes into message using CBOR" #1184
Comments
@delta1 Any idea what could be causing this? Could it be related to the bdk update? It's preventing me from working on the GUI :/ |
Hey @binarybaron I do suspect it's the bdk change because of this error message:
Because the bump in rust-bitcoin that accompanied this changed the type of bitcoin witness scripts Can you please try with swap/asb compiled from the same commit and specify what it is? I will try reproduce and get on fixing it. |
Will do. I'm compiling the new version on my server at this very moment. If it's the reason this is happening, would you be okay with just reversing the upgrade from bdk 0.16 to 0.23? If there aren't any critical security fixes in the upgrade and if there is no need for the new features, I don't see a reason to upgrade if breaks backwards compatability. |
Not really, I'd much rather make a new release for 0.12. What changes do you have to 0.11? Can they be upstreamed here? Then we can do a backport release of that into 0.11.1 for you.
I can't answer without an investigation and is a very good reason to stay current with their releases |
I'll take a look at making a 0.11.1 release with everything except the bdk changes |
I understand your point but I think we have to consider the costs-benefits. The upgrade changes the internal data structures therefore a database created by the old version is not compatible with the latest version. We are essentially forcing users to delete their whole database just to be able to use the cli again. |
I hear you, but what I’m saying is that we can make a release that excludes it - using the master branch can never guarantee non-breaking changes. |
@binarybaron here's a branch with everything from that bdk upgrade removed https://github.com/comit-network/xmr-btc-swap/tree/0.11.x Want to give it a shot? I'm waiting on CI then I'll do a release from that branch of |
@binarybaron please try this branch - there's a CI/test failure that I'm only going to fix if this works for you |
Sorry, forgot to reply. Running asb on https://github.com/comit-network/xmr-btc-swap/releases/tag/0.11.0 and CLI on the branch you provided fixes the issue |
No worries, happy to hear that. Let me take a quick look at this broken test and make a release for you. |
if this is ready and tests passed can we close this? |
Well, it's not an issue with 0.11.x but is likely to remain incompatible with master/the next major release 0.12 |
Actually want to keep this open so I can remember to try fix it |
perfect no problem |
Describe the bug
Initiating a swap fails. This might be due to the asb and cli using different versions of the software. CLI uses latest preview release. ASB is self-compiled and a few weeks old. I'll compile to use the latest asb version and try again.
Debug logs
CLI:
ASB:
Lost/trapped Funds
No
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: