Skip to content

Commit

Permalink
detect malformed env
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurpaulino committed Aug 23, 2023
1 parent b46df88 commit f4a26ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lem/eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ fn reduce() -> Func {
let cont: Cont::Lookup = hash2(env, cont);
return (expr, env_to_use, cont, ret)
}
}
};
return (expr, env, err, errctrl)
}
Expr::Cons => {
// No need for `safe_uncons` since the expression is already a `Cons`
Expand Down Expand Up @@ -1089,8 +1090,8 @@ mod tests {
use blstrs::Scalar as Fr;

const NUM_INPUTS: usize = 1;
const NUM_AUX: usize = 10785;
const NUM_CONSTRAINTS: usize = 13264;
const NUM_AUX: usize = 10787;
const NUM_CONSTRAINTS: usize = 13274;
const NUM_SLOTS: SlotsCounter = SlotsCounter {
hash2: 16,
hash3: 4,
Expand Down

0 comments on commit f4a26ff

Please sign in to comment.