Skip to content

Conversation

@lydiagarms
Copy link
Collaborator

@lydiagarms lydiagarms commented Nov 28, 2025

This PR fixes several errors:

  1. An error when it is detected that a variable is set to zero i.e. burned. Previously, it was checking that the owner binding was set to zero, which wasn't always giving the correct result.
  2. An error for a function where there are no new nullifiers but we do use checkNullifiers, i.e. we access secret variables and so need to make sure we are using the most up to date commitment by a nullifier doesn't exist in the nullifier list. The length of the inputs during proof verification in the Shield Contract were wrong in this case.
  3. In orchestration, we do a check to make sure the new leaves have been successfully added on chain at the end. However, if there are no new commitments, we should not include this check or an error will be returned incorrectly. Previously things were being marked as not burned only, i.e. the check included, even when there were no new commitments.

@lydiagarms lydiagarms requested review from SwatiEY and jtcoolen January 5, 2026 15:45
@lydiagarms lydiagarms marked this pull request as ready for review January 5, 2026 16:13
SwatiEY
SwatiEY previously approved these changes Jan 5, 2026
@jtcoolen
Copy link
Contributor

jtcoolen commented Jan 5, 2026

Thanks!

jtcoolen
jtcoolen previously approved these changes Jan 5, 2026
…or functions where there are no new commitments
@lydiagarms lydiagarms dismissed stale reviews from jtcoolen and SwatiEY via e884c86 January 7, 2026 11:16
@SwatiEY SwatiEY requested review from SwatiEY and jtcoolen January 7, 2026 11:18
@lydiagarms lydiagarms merged commit deae97a into master Jan 7, 2026
2 checks passed
@github-actions
Copy link

github-actions bot commented Jan 7, 2026

🎉 This PR is included in version 1.10.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants