Skip to content

Commit a47488c

Browse files
committed
Fix gas prices in vm tests
1 parent e61e759 commit a47488c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/vm/src/instance.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ mod tests {
606606

607607
let report2 = instance.create_gas_report();
608608
assert_eq!(report2.used_externally, 73);
609-
assert_eq!(report2.used_internally, 38804);
609+
assert_eq!(report2.used_internally, 38550);
610610
assert_eq!(report2.limit, LIMIT);
611611
assert_eq!(
612612
report2.remaining,
@@ -805,7 +805,7 @@ mod singlepass_tests {
805805
.unwrap();
806806

807807
let init_used = orig_gas - instance.get_gas_left();
808-
assert_eq!(init_used, 38877);
808+
assert_eq!(init_used, 38623);
809809
}
810810

811811
#[test]
@@ -828,7 +828,7 @@ mod singlepass_tests {
828828
.unwrap();
829829

830830
let execute_used = gas_before_execute - instance.get_gas_left();
831-
assert_eq!(execute_used, 157981);
831+
assert_eq!(execute_used, 159380);
832832
}
833833

834834
#[test]

0 commit comments

Comments
 (0)