-
Notifications
You must be signed in to change notification settings - Fork 856
Make EVM circuit work with multi-phase MockProver
#1090
Make EVM circuit work with multi-phase MockProver
#1090
Conversation
another related problem: i guess this line may be wrong. Need to be less than? for example, in evm circuit, the stored_expressions in CachedRegion need to "pick" assigned values to do RLC and assign the results. It seems if we don't assign phase1 columns in phase2/phase3, it picks a zero value, and do incorrect RLC.. |
hmm I kind of forget the reason to be that strict (I thought it's because the But this indeed causes the trouble you said (in later phase we can't get the value from zkevm-circuits/zkevm-circuits/src/evm_circuit/util.rs Lines 148 to 174 in 97491b2
|
thanks! this seems a better solution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR aims to fix EVM circuit to have all advice columns in correct phase to work with multi-phase
MockProver
privacy-scaling-explorations/halo2#129, and should also work with real prover.Base on #1087.