Skip to content

feat: Goblin flush with Mega arithmetisation#22465

Open
federicobarbacovi wants to merge 47 commits intomerge-train/barretenbergfrom
fb/goblin_flush_mega_impl
Open

feat: Goblin flush with Mega arithmetisation#22465
federicobarbacovi wants to merge 47 commits intomerge-train/barretenbergfrom
fb/goblin_flush_mega_impl

Conversation

@federicobarbacovi
Copy link
Copy Markdown
Contributor

.

federicobarbacovi and others added 30 commits April 8, 2026 09:41
- transcript_builder: gate hiding op handling on is_zk so index 0 goes
through the normal main loop when is_zk=false (root bug: sentinel
x-coordinate was written to ECCVM Px without infinity flag, causing
ECCVM/Translator accumulated_result mismatch)
- ecc_op_queue: add get_is_zk() getter; remove (0,0) coordinate override
in eq_and_reset that destroyed the infinity flag (the transcript builder
already zeros coords for infinity points)
- eccvm_flavor: pass is_zk to compute_rows
- goblin.hpp: add set_op_queue_zk() setter
- mock_circuits: restructure for non-ZK — only last-prepended circuit
gets 4 leading no-ops (translator padding), every circuit gets
eq_and_reset, end random ops gated on is_zk
- goblin_verifier.test: set op_queue_zk(false), add BB_DISABLE_ASSERTS
- goblin.cpp: remove debug trace checker

Please read [contributing guidelines](CONTRIBUTING.md) and remove this
line.

For audit-related pull requests, please use the [audit PR
template](?expand=1&template=audit.md).

---------

Co-authored-by: federicobarbacovi <171914500+federicobarbacovi@users.noreply.github.com>
@federicobarbacovi federicobarbacovi self-assigned this Apr 10, 2026
@federicobarbacovi federicobarbacovi added ci-full Run all master checks. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure labels Apr 10, 2026
@federicobarbacovi federicobarbacovi marked this pull request as ready for review April 10, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run all master checks. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants