There was an error while loading. Please reload this page.
1 parent 1dd2090 commit 01c8884Copy full SHA for 01c8884
1 file changed
halo2_proofs/src/plonk/prover.rs
@@ -238,8 +238,10 @@ where
238
A: FnOnce() -> AR,
239
AR: Into<String>,
240
{
241
- // Ignore assignment of advice column in different phase than current one.
242
- if self.current_phase != column.column_type().phase {
+ // Ignore assignment of advice column in later phase than current one.
+ // Okay: Assigning Phase 1 value to Phase 2 column
243
+ // Not okay: Assigning Phase 2 value to Phase 1 column
244
+ if self.current_phase < column.column_type().phase {
245
return Ok(());
246
}
247
0 commit comments