Skip to content

Commit

Permalink
better err for mv lookup failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed May 30, 2024
1 parent 6c5e9ee commit e5ddf67
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions halo2_proofs/src/plonk/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ where
.lookups
.iter()
.map(|lookup| {
lookup.prepare(
let r = lookup.prepare(
pk,
params,
domain,
Expand All @@ -580,7 +580,11 @@ where
&challenges,
&mut rng,
transcript,
)
);
if r.is_err() {
log::error!("lookup {} prepare failed {:?}", lookup.name, r);
}
r
})
.collect();
end_timer!(lookup_get_mx_time);
Expand Down

0 comments on commit e5ddf67

Please sign in to comment.