Prepare v0.0.7-rc.5 release - #193
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2623a3abd1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| The in-memory ArcSet materializer now supports deterministic detached state | ||
| export and strict restoration. Restore rejects duplicate scopes, roots, paths, | ||
| conflicting targets, invalid CIDs, and missing or multiply owned node paths. |
There was a problem hiding this comment.
Validate malformed CIDs during state restoration
For a caller restoring corrupted or hand-constructed State, this overstates the validation performed: NewFromState only calls Defined() for roots and entry targets, so a malformed but nonempty cid.Cid is accepted. Either parse/cast every restored CID before installing it or narrow the release claim to undefined CIDs; otherwise invalid identifiers can enter the materializer despite the documented strict-validation guarantee.
AGENTS.md reference: AGENTS.md:L19-L20
Useful? React with 👍 / 👎.
Summary
Compatibility
The checkpoint is a trusted-client local execution cache. It is not a portable transition, publication, freshness, or trust proof. This release does not change roots, CIDs, commitment parameters, commitments, proofs, transcripts, ProofLists, receipts, schemas, or wire encodings.
Validation
git diff --check v0.0.7-rc.4...HEADgofmtcheckgo test -p=7 -parallel=7 ./...GOARCH=386 go test -p=6 -parallel=6 ./auth/commitment/kzg ./auth/commitment/ipash scripts/test-verifier-wasm-vectors.shscripts/test-writer-wasm.shgo vet -p=7 ./...go build -p=7 -buildvcs=false ./...scripts/build-wasm-release.sh v0.0.7-rc.5builds under different ambient settings and umasks; byte-identical outputscripts/check-wasm-release.shand adversarial ustar validation