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

chore: let IndexedTreeLeafPreimage have LeafPreimage as a parent trait #10913

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

asterite
Copy link
Contributor

@asterite asterite commented Dec 20, 2024

Soon Noir will require traits to be imported in order to use their methods.

It turns out that IndexedTreeLeafPreimage and LeafPreimage share two methods, and so a future version of Noir won't know which one to use. However, I noticed that maybe LeafPreimage was meant to be a "pre-condition" of IndexedTreeLeafPreimage, so that's what I did in this PR.

Similarly, Ordered is now a parent trait of OrderedValue.

@asterite asterite requested a review from sirasistant December 20, 2024 18:57
@AztecProtocol AztecProtocol deleted a comment from intls Dec 23, 2024
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.

1 participant