-
Notifications
You must be signed in to change notification settings - Fork 5
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
Issue with Committing Updated Data: "wrong merkle root" Error #113
Comments
I am investigating an issue where commits for data updates in zkRollup are failing. Upon checking the data with Test code
Output
Based on my observations, the
After updating the data, the
The value of I suspect this might be a bug in the implementation of |
Hello,
I encountered an issue while working with the provided tutorial code for updating data in the zkDB using zkRollup. After successfully committing initial data, attempting to update a record (specifically changing "Bob's" age from 10 to 15) results in a "wrong merkle root" error during the commit phase.
Steps to Reproduce:
Expected Result: The updated data is committed without errors, and querying "Bob's" age should return the updated value (15).
Actual Result: The commit fails with an error: "VM Exception while processing transaction: reverted with reason string 'wrong merkle root'".
I followed the documentation closely and ensured the setup for SMT levels and configurations were as recommended. Is there a specific procedure for updating data that I might have missed, or could this be a bug in the commit logic?
Thank you for looking into this issue.
The text was updated successfully, but these errors were encountered: