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

Circuit struct serialization #5565

Merged
merged 3 commits into from
Oct 24, 2024
Merged

Circuit struct serialization #5565

merged 3 commits into from
Oct 24, 2024

Conversation

jowparks
Copy link
Contributor

@jowparks jowparks commented Oct 18, 2024

Summary

Adds circuit struct ser/de so that downstream consumers (ie oreowallet) can interact with these primitives directly.

ser/de used here currently for external proving service:
https://github.com/oreoslabs/oreowallet-mono/blob/developer/crates/prover/src/handlers.rs

Seemed reasonable to move this into ironfish-zkp

Testing Plan

tests pass

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

@jowparks jowparks force-pushed the circuit-struct-serialization branch 4 times, most recently from bb76735 to 08b6536 Compare October 18, 2024 21:08
@jowparks jowparks marked this pull request as ready for review October 18, 2024 21:48
@jowparks jowparks requested a review from a team as a code owner October 18, 2024 21:48
ironfish-zkp/src/circuits/mint_asset.rs Outdated Show resolved Hide resolved
ironfish-zkp/src/circuits/mint_asset.rs Outdated Show resolved Hide resolved
ironfish-zkp/src/circuits/mint_asset.rs Outdated Show resolved Hide resolved
ironfish-zkp/src/circuits/output.rs Outdated Show resolved Hide resolved
ironfish-zkp/src/circuits/output.rs Outdated Show resolved Hide resolved
ironfish-zkp/src/circuits/util.rs Outdated Show resolved Hide resolved
ironfish-zkp/src/circuits/util.rs Outdated Show resolved Hide resolved
ironfish-zkp/src/primitives/proof_generation_key.rs Outdated Show resolved Hide resolved
ironfish-zkp/src/primitives/value_commitment.rs Outdated Show resolved Hide resolved
ironfish-zkp/src/primitives/value_commitment.rs Outdated Show resolved Hide resolved
@jowparks jowparks force-pushed the circuit-struct-serialization branch 3 times, most recently from de26437 to b7aa626 Compare October 23, 2024 19:14
@jowparks jowparks force-pushed the circuit-struct-serialization branch 2 times, most recently from c72a34d to 7cb1410 Compare October 23, 2024 21:32
@jowparks jowparks merged commit 4229f77 into staging Oct 24, 2024
16 checks passed
@jowparks jowparks deleted the circuit-struct-serialization branch October 24, 2024 20:01
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