Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kunxian-xia committed Sep 25, 2024
1 parent 0713aba commit 3ef36c0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ceno_zkvm/src/instructions/riscv/ecall/halt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@ impl<E: ExtensionField> Instruction<E> for HaltInstruction<E> {
step.rs1().unwrap().value,
(ECALL_HALT[0] + (ECALL_HALT[1] << 16)) as u32
);
assert_eq!(step.pc().after.0, 0, "pc after ecall/halt {:x}", step.pc().after.0);
assert_eq!(
step.pc().after.0,
0,
"pc after ecall/halt {:x}",
step.pc().after.0
);

set_val!(
instance,
Expand Down

0 comments on commit 3ef36c0

Please sign in to comment.