-
Notifications
You must be signed in to change notification settings - Fork 248
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
Send fails: Tree does not contain a root at address #898
Comments
The error recurred after #894, and inspection of the wallet database revealed that this is related to an error in the construction of the scan queue:
The scan queue is missing the unscanned range from the Sapling activation height at 65536 to the end of the first subtree at height 490074. Also, it's unclear why the scan range from 490074..2000000 has EDIT: Something that I realized much later was that this issue is appearing because the wallet birthday is being set to a height that is greater than the height at which the first note was received by the wallet. |
@LukasKorba reports that this error is still occurring in the IOS wallet, which means that even after #903 notes are still being selected in circumstances where either the subtree containing the note or the subtree containing the anchor are incomplete. |
Additional triage: Database state:
Notes:
|
So much has changed that directly affects the conditions of this bug that I'm going to mark it closed for now, and then if it recurs we'll reopen this and figure out how I was wrong. |
In the Android SDK, which is operating upon the new SbS sync and the sync is in progress, we can reproduce
RuntimeException: Error while creating transaction: An error occurred in querying or updating a note commitment tree: Tree does not contain a root at address Address { level: Level(0), index: 127765 }
, which comes from the Rust layer of the SDK.Full log:
Here are a few more hints:
The text was updated successfully, but these errors were encountered: