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

ics23: user-defined hashops for proofs #117

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snormore
Copy link

The proof returned from get_with_ics23_proof currently has ics23::HashOp::Sha256 hard-coded, as well as the ics23::ProofSpec returned from ics23_spec.

This PR allows a user to define which HashOp those structures are populated with:

  • Update ics23_spec to accept a HashOp as argument, and use it to populate the returned spec.
  • Update get_with_ics23_proof to accept a ics23::ProofSpec as argument, and use it to populate the returned proof HashOp fields.

@erwanor erwanor self-requested a review August 7, 2024 01:47
@erwanor
Copy link
Member

erwanor commented Nov 13, 2024

Sorry for the late feedback on the PR, I was out for a bit. Overall this looks good to me, I plan to give it a proper review by EOW. Thanks for the contribution!

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.

2 participants