Repository navigation
v0.22.0 - #903
Merged
Merged
v0.22.0#903
Conversation
Signed-off-by: Ivo Kubjas <ivo.kubjas@consensys.com>
Signed-off-by: Ivo Kubjas <ivo.kubjas@consensys.com>
Signed-off-by: Ivo Kubjas <ivo.kubjas@consensys.com>
Signed-off-by: Ivo Kubjas <ivo.kubjas@consensys.com>
Signed-off-by: Ivo Kubjas <ivo.kubjas@consensys.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
ThomasPiellard
approved these changes
Oct 2, 2026
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.
v0.22.0 release preparation
Updates release metadata for v0.22.0 (compare: v0.21.0...v0.22.0):
v0.22.0entry covering everything since v0.21.0.go.mod, CI bumped to Go1.26.x, direct deps bumped (bitset1.25.0,testify1.12.1,x/crypto0.57.0,x/sync0.23.0,x/sys0.48.0) and tool deps (x/tools0.50.0,x/mod0.41.0,x/telemetry),go mod tidy.MamaBearfield support #887: requires the configured codeword length in the Reed–Solomon check and validates proof shape (opening counts, selected-column bounds, opened-column lengths, Merkle path depths) inVerifybefore any indexing. Regression tests ported from fix: reject malformed Vortex opening proofs #896 (oversizedUAlphafalse-claim forgery, plus a malformed-opening matrix). Without this, a proof carrying an uncheckedUAlphasuffix could make a false evaluation claim verify.R_F = 8,R_P = 32for 128-bit security (#900) — digests are incompatible with the inherited schedule.go.mod), CI runs Go 1.26.x.🔒 Security
SetBytes(#889)Vk.G1from the generator inMpcSetup.ReadFrom— a deserialized setup previously carriedVk.G1 = ∞, letting arbitrary nonzero opening proofs verify (#891)BatchVerifyto prevent panics (#892)ReadFromto prevent panic/OOM (#893)AsyncReadFrom(#878)✨ New
p = 2⁴⁹ − 2³⁴ + 1): base field with AVX-512 IFMA kernels (R = 2⁵²Montgomery), degree-3 extension (~147-bit security), FFT (max NTT size 2³⁴), Poseidon2, SIS, IOP, and the experimental Vortex commitment scheme (#887)Committerinterface +OpenWithCommitter/BatchOpenSinglePointWithCommitterfor externally accelerated quotient commitments (e.g. WebGPU/wasm MSM) (#879)⚡ Faster
✅ Test plan
go build ./...go test -short ./...— 210 packages okgo test -tags=purego ./...— 210 packages okgo generate ./...— no unexpected generated-file drift (the MamaBear Vortex files are hand-written by design, per Feat: AddMamaBearfield support #887; their guards mirror fix: reject malformed Vortex opening proofs #896 rather than coming from a template)git diff --check— cleanNote
High Risk
Release bundles multiple breaking cryptographic changes and security fixes; this PR adds MamaBear Vortex verification hardening where malformed proofs could previously accept false claims.
Overview
Prepares v0.22.0 release metadata: new
CHANGELOG.mdentry (breaking curve/Poseidon2 changes, security fixes, MamaBear field, KZGCommitter, Go 1.26), README feature/citation updates (Bandersnatch, MamaBear, Vortex), andCITATION.bibbumped to v0.22.0.Build:
go.modrequires Go 1.26.8; PR and push workflows use Go 1.26.x; direct and tool dependencies refreshed (bitset,testify,x/crypto,x/sync,x/sys,x/tools, etc.).Security (in-tree): Hardens MamaBear Vortex
Verifyto match KoalaBear (#896)—nil proof, exactUAlphalength, selected-column/opening/Merkle shape checks, and claim count bounds before indexing;IsReedSolomonCodewordsrejects wrong-length codewords. Adds regression tests for oversized/forgedUAlphaand malformed openings.Reviewed by Cursor Bugbot for commit d24bd91. Bugbot is set up for automated code reviews on this repo. Configure here.