Skip to content

Commit cb87557

Browse files
committed
remove print
1 parent 84f84d0 commit cb87557

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

packages/vm/src/lib.rs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,6 @@ where
301301
owasm_env.set_wasmer_instance(Some(instance_ptr));
302302
owasm_env.set_gas_left(gas);
303303

304-
match get_remaining_points(&instance) {
305-
MeteringPoints::Remaining(count) => {
306-
println!("gas {:?}, count {:?}, gas_used {:?}", gas, count, gas.saturating_sub(count));
307-
}
308-
MeteringPoints::Exhausted => {}
309-
}
310-
311304
// get function and exec
312305
let entry = if is_prepare { "prepare" } else { "execute" };
313306
let function = instance
@@ -329,10 +322,7 @@ where
329322
})?;
330323

331324
match get_remaining_points(&instance) {
332-
MeteringPoints::Remaining(count) => {
333-
println!("gas {:?}, count {:?}, gas_used {:?}", gas, count, gas.saturating_sub(count));
334-
Ok(gas.saturating_sub(count))
335-
}
325+
MeteringPoints::Remaining(count) => Ok(gas.saturating_sub(count)),
336326
MeteringPoints::Exhausted => Err(Error::OutOfGasError),
337327
}
338328
}

0 commit comments

Comments
 (0)