feat: add committed bytecode foundation#18
Open
RadNi wants to merge 4 commits into
Open
Conversation
|
Warning This PR has more than 500 changed lines and does not include a spec. Large features and architectural changes benefit from a spec-driven workflow. If this PR is a bug fix, refactor, or doesn't warrant a spec, feel free to ignore this message. |
5386e59 to
4b2423f
Compare
e4cdbb5 to
744ada7
Compare
4b2423f to
3de7f26
Compare
744ada7 to
d8d5384
Compare
3de7f26 to
5217190
Compare
d8d5384 to
0b06125
Compare
5217190 to
9e4300e
Compare
0b06125 to
f33facb
Compare
9e4300e to
e2c9276
Compare
f33facb to
77801f2
Compare
moodlezoup
reviewed
May 22, 2026
| pub eta_powers: [F; NUM_VAL_STAGES], | ||
| /// Eq weights over high bytecode address bits (one per committed chunk). | ||
| pub chunk_rbc_weights: Vec<F>, | ||
| pub bytecode_T: usize, |
There was a problem hiding this comment.
log_chunk_size or something would be more accurate
Comment on lines
+425
to
+433
| accumulator.append_virtual( | ||
| VirtualPolynomial::BytecodeClaimReductionIntermediate, | ||
| SumcheckId::BytecodeClaimReductionCyclePhase, | ||
| opening_point.clone(), | ||
| ); | ||
| let opening_point_le: OpeningPoint<LITTLE_ENDIAN, F> = opening_point.match_endianness(); | ||
| params | ||
| .precommitted | ||
| .set_cycle_var_challenges(opening_point_le.r); |
There was a problem hiding this comment.
why do we need set_cycle_var_challenges if we're already appending the point to the accumulator? If we don't need it, we can get avoid wrapping params in RefCell and therefore avoid the unsafe block in get_params
Comment on lines
+427
to
+429
| params | ||
| .precommitted | ||
| .set_cycle_var_challenges(opening_point_le.r); |
77801f2 to
d1eb7e0
Compare
e2c9276 to
c3153f9
Compare
78c82ba to
9d5b82e
Compare
d340832 to
6c29ef5
Compare
9d5b82e to
e587e65
Compare
a5ed82a to
a6bfc73
Compare
36378dd to
850790c
Compare
0f357e1 to
5ca9b21
Compare
850790c to
268b434
Compare
Co-authored-by: Amirhossein Khajehpour <khajepour.amirhossein@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Preserve the intended cycle-phase opening data for bytecode and program-image claim reductions across verifier transitions. Made-with: Cursor Co-authored-by: Cursor <cursoragent@cursor.com>
e0ed5d6 to
c41f679
Compare
268b434 to
bf067dd
Compare
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.
Generated stack PR from
amir/bytecode-commitment-merged.Depends on spec PR: a16z#1565
Stack position:
03Base branch:
amir/bytecode-stack/02-precommittedOwned paths:
This PR is expected to be updated manually when
amir/bytecode-commitment-mergedis resliced.