-
Notifications
You must be signed in to change notification settings - Fork 857
Investigate error log on ci light-test padding_len overflow #1507
Comments
Hi @davidnevadoc do you think is it related to the recent change #1445 ? |
also + @ed255 maybe have any quick answer :) |
Yes, I think this comes directly related to this discussion #1445 (comment) My guess is that there's a check that is too "overprotective" and logs an error even though the parameters are safe. The other option is that we're skipping enabling some necessary rows (and thus skipping their constraints), which could mean a soundness issue. So I believe this needs some investigation. I would also suggest to avoid logging errors without panicking in such situations; if the circuit parameters not enough to hold the full witness, we should panic. |
Yes, this was introduced in #1445 .
the error will go away. But I could not logically explain such a magic number so I left the +1 which is what I think makes sense according to the specs.
|
Thanks for the hint. After I applied the However agree that we should investigate what's the root cause for why magic number + 2 |
### Description This pr is to complete milestone `word-lo-hi` back to main branch. Since `word-lo-hi` branch is out-of-sync with main branch due to few features merged to main recently, in order to save review effort to review 1 pr instead of 2 pr, a new branch `word-lo-hi-merge-main` is created which covers - [x] based on latest word-lo-hi branch - [x] remove `_word` suffix and remove deprecated table field - [x] also sync main and resolve conflict - [x] Fix problem on main branch: applied a workaround `max_rwc + 1 + 2` magic number mention in another issue #1507 - [x] ~~investigate super circuit degree 9 -> 12~~ #1499 After fixed, degree 9 -> 10 With this pr, reviewer just need to review once. ### Issue Link #1509 ### Type of change - [x] Breaking change (fix or feature that would cause existing functionality to not work as expected) ### Contents to complete milestone `word-lo-hi` --------- Co-authored-by: Chih Cheng Liang <[email protected]> Co-authored-by: adria0.eth <[email protected]> Co-authored-by: adria0 <adria0@nowhere> Co-authored-by: Eduard S <[email protected]> Co-authored-by: Han <[email protected]> Co-authored-by: Paul <[email protected]> Co-authored-by: Steven <[email protected]> Co-authored-by: Rohit Narurkar <[email protected]> Co-authored-by: KimiWu <[email protected]> Co-authored-by: Raphael <[email protected]> Co-authored-by: Zhang Zhuo <[email protected]> Co-authored-by: naure <[email protected]> Co-authored-by: Aurélien Nicolas <[email protected]> Co-authored-by: Enrico Bottazzi <[email protected]> Co-authored-by: Raphael <[email protected]> Co-authored-by: Wu Sung-Ming <[email protected]> Co-authored-by: Leo Lara <[email protected]>
Hi @davidnevadoc , after L377, there is |
Tried to fixed in PR #1515 |
Oh there it is!! You are right, I missed those and that is why I left the |
Actually +1 + 1 (overall +2) work in this case, 😄 the pr should fixed it generally 👆 |
### Description Fixed rws padding logic and padding error handling. ### Issue Link #1507 ### Type of change - [x] Bug fix (non-breaking change which fixes an issue) ### Contents - more documentation on padding logic - fix max_rws calculation - de-duplicated startop in end_block.tx by skip second one. - panic instead of confused error log in padding calculation function.
What command(s) is the bug in?
on ci light test of all the exiting pull requests.
Describe the bug
Can find this error log in all the existing pull request ci light test.
For example https://github.com/privacy-scaling-explorations/zkevm-circuits/actions/runs/5413925634/jobs/9840226199?pr=1500
Light test is pass, however this error shows a concern.
It seems only happened when one command matching more > 1 tests. Maybe related to recent modification of evm circuit cache.Concrete steps to reproduce the bug. If it's able reproduce via testool, please share
test_id
from jenkins reportCan reproduce this error locally on main branch
This error not dedicated to
create
.Any command matching > 1 tests can reproduceThe text was updated successfully, but these errors were encountered: