mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 07:13:08 +00:00
Set exception flag to 1.
This commit is contained in:
parent
b2626fdc71
commit
017e621778
@ -708,6 +708,8 @@ pub(crate) fn generate_exception<F: Field>(
|
||||
return Err(ProgramError::GasLimitError);
|
||||
}
|
||||
|
||||
row.op.exception = F::ONE;
|
||||
|
||||
let disallowed_len = F::from_canonical_usize(MAX_USER_STACK_SIZE + 1);
|
||||
let diff = row.stack_len - disallowed_len;
|
||||
if let Some(inv) = diff.try_inverse() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user