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
Version pins: version.properties, gradle/usecase-versions.gradle fallbacks, account-ownership/cli/build.gradle defaults and the CLAUDE.md table. JuLC pre22's julc-cardano-client-lib needs CCL pre8 (RawTx). JuLC pre22 (JULC0012) rejects switch expressions whose arms have different types. The inlineDatum helpers in 8 validators returned PlutusData from one arm and PlutusData.IntData from the others; they now share one PlutusData local. Script behaviour is unchanged. ZeroJ pre14's typed Inputs builders range-check values up front and throw IllegalArgumentException before witness generation. Four negative tests (DPP ClaimCircuitTest, pedersen NoteCircuitTest and SolvencyCircuitTest, voting BallotCircuitTest) now assert that, and still check that the circuit itself refuses the value when the builder is bypassed through the raw witness map. proof-of-reserves customer-check-fixtures.json regenerated: CCL pre8 encodes big integers in PlutusData as tag 2 + a definite-length bytestring instead of an indefinite-length one. Both decode to the same value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Moves every usecase to the next release set: ZeroJ
0.1.0-pre14, JuLC0.1.0-pre22and cardano-client-lib0.8.0-pre8.Merge after ZeroJ 0.1.0-pre14 is published. CI resolves ZeroJ from published repos. Until pre14 is out, the ZeroJ dependency won't resolve, and the four updated negative tests rely on pre14's builder range checks.
Includes #11 (commit f5ccbea, cherry-picked unchanged). It replaces blst-java with
Bls12381Codecs, which is required because ZeroJ ADR-0062 removed blst-java. #11 can be closed once this PR merges.Changes
ProofCompressorclasses in identity-kyc, nft-ownership, personhood-airdrop and selective-disclosure now useBls12381Codecs. The account-ownershipProofCompressorTestnow checks py_ecc known answers.PlutusDatavsPlutusData.IntData). TheinlineDatumhelpers in 8 validators now return a sharedPlutusDatalocal, and script behaviour is unchanged. Affected validators:Inputsbuilders now throwIllegalArgumentExceptionbefore witness generation.ClaimCircuitTest, pedersenNoteCircuitTestandSolvencyCircuitTest, and votingBallotCircuitTest.proof-of-reserves/src/test/resources/customer-check-fixtures.jsonwas regenerated withRESERVES_REGENERATE_FIXTURES=true, and only theinlineDatumhex changed.version.propertiesgradle/usecase-versions.gradle(fallbacks)account-ownership/cli/build.gradle(defaults)CLAUDE.mdversion tableVerification (local, Yaci DevKit running)
The run used ZeroJ main 362744e, published to mavenLocal as
0.1.0-pre14-362744e-SNAPSHOT. It was run with--rerun-tasks -Dkyc.e2e=trueplus frontend builds where present, the same as CI.usecase-ci.py check-e2e).0.1.0-pre14-362744e-SNAPSHOT, julc-stdlib0.1.0-pre22, cardano-client-core0.8.0-pre8.FlowsE2ETest(opt-in,-Daor.e2e=true): passes. It produces 9,951,996 constraints, with the same circuit fingerprint as the November benchmark.pedersen-commitments takes about 20 minutes locally. On #11, its CI job hit the 60-minute job timeout. If that happens again here, the timeout needs raising.
🤖 Generated with Claude Code