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

fix merkle proof conversion #103

Merged
merged 1 commit into from Nov 20, 2022
Merged

Conversation

crisdut
Copy link
Member

@crisdut crisdut commented Nov 20, 2022

Description
The rgb-node produces an incorrect merkle proof anchor when compiled in release mode.

This problem occurs because the conversion of the merkle block into a merkle proof was inside the debug_assert method.

Closes:

Related:

Copy link
Member

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 02167b9

Thank you for this remarkable discovery of the source of the bug!

@dr-orlovsky
Copy link
Member

Released v0.8.1 of commit_verify. You need to do cargo update in the projects using RGB to get the fix in.

@crisdut can you also pls open a PR against the master branch to ensure the next version wouldn't get the same bug again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants