-
Notifications
You must be signed in to change notification settings - Fork 857
bug(super circuit): evm circuit / rw table / mpt table / block table assigned twice #987
Comments
Yes I think this is duplicated and should be removed, but I wonder how current |
oh i find rw_table / mpt_table also assigned twice in super circuit, once in state circuit, once standalone.. Will fix them next PR.. |
Hi, all.
|
It's not a bug, as the EVM test circuit does not include the |
The above seems like will be assigned twice in non-test situation. |
After a quick search, the only place that |
The table is loaded now in the SuperCircuit and the double-assignment is removed by removing the assignment from the StateCircuit `synthesize_sub` method. Resolves: #987
* fix: Remove duplicate assignment of evm circuit * fix: Remove mpt table load from StateCircuit The table is loaded now in the SuperCircuit and the double-assignment is removed by removing the assignment from the StateCircuit `synthesize_sub` method. Resolves: #987 * fix: Add empty row in MPT table to prevent testing panics As pointed by @lispc in #1024 (comment), Halo2 currently has a bug which prevents it to render correctly the errors for an empty region with a `ConstraintError` on it. An issue has been filled for this so that we can fix it in privacy-scaling-explorations/halo2#117. Meanwhile a new tag is not released for Halo2 with a fix, this fix will temporarily be needed and a reminder to remove it has been created in #1032
…sions (privacy-scaling-explorations#987) Co-authored-by: Aurélien Nicolas <[email protected]>
maybe this line should be removed
zkevm-circuits/zkevm-circuits/src/super_circuit.rs
Line 304 in c78c86d
Assigning to same columns in two region, can result the assigned "matrix" repeat twice vertically. At least it costs twice rows without any furthur problems if any
The text was updated successfully, but these errors were encountered: