Skip to content

ics23: user-defined hashops for proofs - #117

Open
snormore wants to merge 1 commit into
penumbra-zone:mainfrom
snormore:s/ics23-hashop-on-proofs
Open

snormore wants to merge 1 commit into
penumbra-zone:mainfrom
snormore:s/ics23-hashop-on-proofs

Conversation

@snormore

Copy link
Copy Markdown

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

erwanor commented Nov 13, 2024

Copy link
Copy Markdown
Contributor

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!

@erwanor
erwanor requested review from erwanor and removed request for erwanor May 5, 2025 15:00
@erwanor
erwanor force-pushed the s/ics23-hashop-on-proofs branch from 9cc2c24 to 8d8519d Compare January 6, 2026 16:16
@erwanor
erwanor self-requested a review January 6, 2026 16:55

@erwanor erwanor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WIP

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