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

Tracking Issue: Combine with Sovereign-Labs/jmt #74

Open
6 of 10 tasks
preston-evans98 opened this issue Feb 13, 2023 · 5 comments
Open
6 of 10 tasks

Tracking Issue: Combine with Sovereign-Labs/jmt #74

preston-evans98 opened this issue Feb 13, 2023 · 5 comments

Comments

@preston-evans98
Copy link
Collaborator

preston-evans98 commented Feb 13, 2023

Overview

Sovereign Labs and Penumbra are combining efforts to make one JMT to rule them all. This is a tracking issue for all of the changes from the Sovereign Labs JMT that we want to port over to this repo:

@hdevalence
Copy link
Member

Consider changing TreeReader::get_value to use Key instead of KeyHash

What if we made it take K: Into<KeyHash>?

@preston-evans98
Copy link
Collaborator Author

preston-evans98 commented Feb 24, 2023

What if we made it take K: Into<KeyHash>?

This is a good suggestion. I'll open a PR this afternoon.

The underlying motivation for this item is to allow apps to efficiently retrieve a sequential keys using an iterator though, so just switching to Into<KeyHash> won't be sufficient. I'll open a separate issue where we can explore the tradeoffs. #81

@preston-evans98
Copy link
Collaborator Author

Hmm, on further thought I think this change will prevent TreeReader from being object safe

@zbuc zbuc added this to Testnets Mar 31, 2023
@zbuc zbuc moved this to Tracking Issues in Testnets Mar 31, 2023
@zbuc
Copy link
Contributor

zbuc commented Mar 31, 2023

In our weekly sprint planning, we pulled in all outstanding JMT issues and are wondering what the status of this one is. @preston-evans98 is there anything that needs to be done on our end?

@preston-evans98
Copy link
Collaborator Author

@zbuc Nothing immediate. I'll be trying to add no_std support this weekend, but the diff should be minimal and will just need review. I don't think we have any AIs here for the very short term

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Tracking Issues
Development

No branches or pull requests

3 participants