Commit 1e5b898
committed
fix: suppress debug assertions during mock IVC VK generation
The nightly barretenberg debug build fails in test_chonk_standalone_vks_havent_changed.sh
because BB_ASSERT_DEBUG(kernel_return_data_match) fires in chonk.cpp when using mock IVC
data for VK generation. The mock data has intentionally mismatched dummy calldata
commitments ({1, 2}) that don't match the kernel_return_data from proof public inputs.
Fix: use BB_DISABLE_ASSERTS() guard when processing HN recursion constraints with mock IVC
(ivc_base == nullptr), which is the VK generation path. These databus consistency checks
are only meaningful with real witness data, not the dummy values used during VK derivation.1 parent 18a3a7e commit 1e5b898
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
254 | 258 | | |
255 | 259 | | |
256 | 260 | | |
| |||
0 commit comments