-
Notifications
You must be signed in to change notification settings - Fork 33
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
Incompatible Value binary serialization format #105
Comments
(The links in the first line don't work.) |
Seems like #77 introduced this. We definitely could use more tests where all serializations are tested for regressions. |
Oops, sorry, fixed them now. |
To give some more context, this incompatibility resulted in electrs being unable to read db entries that were created with rust-elements v0.16 using the current master. Working around this issue required deleting the old database and running a re-index. |
It's the danger of having all our releases be breaking. 0.15-0.16 is breaking, so both rust-elements, electrs and espora should have had regression tests for data formats.. |
It appears that the bincode value fix resulted in a different serialization format compared to before the regression (v0.16).
With current master (fe3e946), the following code:
Results in the following serialization:
While with v0.16, the following code:
Results in the following serialization:
The text was updated successfully, but these errors were encountered: