Repository navigation
Conversation
ZeroJ ADR-0062 drops the transitive foundation.icon:blst-java dependency in favour of an FFM binding, so code that imports supranational.blst no longer compiles against the next ZeroJ release. - identity-kyc, nft-ownership, personhood-airdrop, selective-disclosure: ProofCompressor compresses through Bls12381Codecs instead of P1_Affine/P2_Affine. Output bytes are identical; the decode also checks subgroup membership. - account-ownership: ProofCompressorTest compared against blst-java's compress(); it now checks independent py_ecc 8.0.0 known answers for [k]G (k = 1, 2, 3, 7, 42, 12345, 987654321) and infinity on G1 and G2. Bls12381Codecs is in ZeroJ 0.1.0-pre13, so this works on the current pin and on the post-ADR-0062 snapshot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MJrQUCDE5qGWa2qBzneFXL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepares the usecases for ZeroJ PR #108 (ADR-0062). That PR removes the transitive
foundation.icon:blst-javadependency (D3: a full move to an FFM binding of a source-built, checksum-pinnedlibblst). Code that importssupranational.blst.*will no longer compile against the next ZeroJ release.Stacked on #10 (
fix/demo-privacy-hardening), the top of the open #8 → #9 → #10 stack.Changes
identity-kyc,nft-ownership,personhood-airdrop,selective-disclosure:ProofCompressorcompresses throughBls12381Codecs.g{1,2}ToCompressed(g{1,2}FromUncompressed(..))instead ofnew P{1,2}_Affine(..).compress().account-ownership: production code already usedBls12381Codecs, butProofCompressorTestused blst-java as its reference.[k]G(k = 1, 2, 3, 7, 42, 12345, 987654321) and infinity on G1 and G2.k = 1values match the published generator encodings.Bls12381Codecsis already in ZeroJ0.1.0-pre13, so this merges on the current pin and doesn't wait for a ZeroJ release.Verification (local, Yaci DevKit running)
-Dkyc.e2e=trueUnchanged builds: the other eight builds (DPP, private-voting, pedersen-commitments, proof-of-reserves, the four minimal examples) pass unchanged on the ZeroJ #108 snapshot with DevKit E2E.
Opt-in tests not run (CI doesn't run them either):
account-ownership's screenshot capture, the circuit measurement, and the full 19M-constraint key generation and proof.🤖 Generated with Claude Code
https://claude.ai/code/session_01MJrQUCDE5qGWa2qBzneFXL