EVM Circuit: block.table_assignment introduces non fixed entries in fixed columns
AronisAt79 opened this issue · comments
AronisAt79 commented
What command(s) is the bug in?
No response
Describe the bug
Some fixed columns within the evm circuit are not actually fixed. It has been identified that when function
iterates over the history_hashes vector
zkevm-circuits/zkevm-circuits/src/witness/block.rs
Lines 237 to 249 in 3151efd
it results in non fixed pointer sequences.
Concrete steps to reproduce the bug. If it's able reproduce via testool, please share test_id
from jenkins report
- Reproduce and display the mismatched columns with history < 256:
Checkout this branch
and execute:
./run.sh --sudo --steps "setup gendata"; cargo test --profile release --test circuits sub_mock_prover --all-features -- --nocapture
- Reproduce and display the mismatched columns with len_history = 256:
Checkout this branch
and execute:
./run.sh --sudo --steps "cleanup"; sudo docker system prune -af --volumes; ./run.sh --sudo --steps "setup gendata"; cargo test --profile release --test circuits sub_mock_prover --all-features -- --nocapture
Sample outputs for both tests in attached zip file
test_outputs.zip