Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rumata888 committed Feb 7, 2025
1 parent 7c685d7 commit d5ff3e3
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions compiler/noirc_evaluator/src/brillig/brillig_ir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,15 +353,8 @@ pub(crate) mod tests {
bytecode: &[BrilligOpcode<FieldElement>],
) -> (VM<'_, FieldElement, DummyBlackBoxSolver>, usize, usize) {
let profiling_active = false;
let fuzzing_active = false;
let mut vm = VM::new(
calldata,
bytecode,
vec![],
&DummyBlackBoxSolver,
profiling_active,
fuzzing_active,
);
let mut vm =
VM::new(calldata, bytecode, vec![], &DummyBlackBoxSolver, profiling_active, None);

let status = vm.process_opcodes();
if let VMStatus::Finished { return_data_offset, return_data_size } = status {
Expand Down Expand Up @@ -443,7 +436,7 @@ pub(crate) mod tests {
vec![ForeignCallResult { values: vec![ForeignCallParam::Array(number_sequence)] }],
&DummyBlackBoxSolver,
false,
false,
None,
);
let status = vm.process_opcodes();
assert_eq!(status, VMStatus::Finished { return_data_offset: 0, return_data_size: 0 });
Expand Down

0 comments on commit d5ff3e3

Please sign in to comment.