Skip to content

Commit

Permalink
Assert that no block machine is called twice
Browse files Browse the repository at this point in the history
  • Loading branch information
georgwiese committed Jul 3, 2024
1 parent 58d23b2 commit 9b042b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion executor/src/witgen/machines/block_machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ impl<'a, T: FieldElement> BlockMachine<'a, T> {
"End processing block machine '{}' (already solved)",
self.name()
);
return Ok(result);
panic!("This should not happen anymore!");
}
}
}
Expand Down
2 changes: 0 additions & 2 deletions pipeline/tests/asm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,7 @@ fn permutation_to_vm() {
}

#[test]
#[should_panic = "Verifier did not say 'PIL OK'."]
fn permutation_to_block_to_block() {
// TODO: witgen issue (https://github.com/powdr-labs/powdr/issues/1385)
let f = "asm/permutations/block_to_block.asm";
verify_asm(f, Default::default());
test_halo2(f, Default::default());
Expand Down

0 comments on commit 9b042b2

Please sign in to comment.