Skip to content

Commit

Permalink
Regenerate test contract
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Feb 24, 2021
1 parent c5a0427 commit 09534be
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vm/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ mod singlepass_tests {
.unwrap();

let handle_used = gas_before_handle - instance.get_gas_left();
assert_eq!(handle_used, 165757);
assert_eq!(handle_used, 165794);
}

#[test]
Expand Down
2 changes: 1 addition & 1 deletion packages/vm/src/static_analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ mod tests {
false
}
});
assert_eq!(exported_functions.count(), 7); // 6 required export plus "migrate"
assert_eq!(exported_functions.count(), 8); // 6 required export plus "migrate" and "system"

let exported_memories = module
.export_section()
Expand Down
Binary file modified packages/vm/testdata/hackatom_0.14.wasm
Binary file not shown.

0 comments on commit 09534be

Please sign in to comment.