-
Notifications
You must be signed in to change notification settings - Fork 857
[Integration Tests] Evm & Super circuit test (ERC20 Transfer) fail for sub_mock_prover #1703
Comments
Further error description: for example: ROW 2: cells fixed[2][10-14] ps. error does not occur when test_variadic runs on witness input from the same block in sequence |
I assume you swapped "Column" by "Row" in your description, so I will assume the following:
So first we need to figure out what column 1 and 2 are, and then what those rows in those columns contain. A straight forward way to do that would be to use a patched version of halo2 that adds the following code to if column.index == 1 && offset = 10 {
panic!("Assignment to [1][10]");
} Then we run the test with the Nevertheless I didn't go to that route, instead I did the following: zkevm-circuits/zkevm-circuits/src/evm_circuit.rs Lines 378 to 385 in 3151efd
Now we check each table, who many fixed columns it has to see which are columns 1 and 2.
zkevm-circuits/zkevm-circuits/src/table/block_table.rs Lines 33 to 37 in 3151efd
So now we now that the affected columns are Next we check the code that assigns the values to the BlockTable:
zkevm-circuits/zkevm-circuits/src/table/block_table.rs Lines 61 to 62 in 3151efd
Row 0 has zeros, and the next ones have the output of:
Now we count up to row 10 and find this: zkevm-circuits/zkevm-circuits/src/witness/block.rs Lines 237 to 249 in 3151efd
And there we find the assignment at row 10 and onwards on columns index , value (which are columns 1 and 2)
We observe that on We see that this assignment loops over zkevm-circuits/zkevm-circuits/src/witness/block.rs Lines 238 to 241 in 3151efd
So we found the root of the problem. The vector The solution is to make sure that the |
What command(s) is the bug in?
No response
Describe the bug
Concrete steps to reproduce the bug. If it's able reproduce via testool, please share
test_id
from jenkins reportManually trigger the integration tests GH Action worfklow on main with option: sub_mock_prover
The text was updated successfully, but these errors were encountered: