Skip to content

Commit

Permalink
Fix(test): update uniswap wasm fraction; this is needed because optim…
Browse files Browse the repository at this point in the history
…izations from #438 and #439 together lowered the fraction of gas spent on IO
  • Loading branch information
birchmd committed Feb 16, 2022
1 parent 73ddcc7 commit 33a7c91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine-tests/src/tests/uniswap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ fn test_uniswap_exact_output() {
test_utils::assert_gas_bound(profile.all_gas(), 48);
let wasm_fraction = 100 * profile.wasm_gas() / profile.all_gas();
assert!(
20 <= wasm_fraction && wasm_fraction <= 30,
"{}% is not between 20% and 30%",
25 <= wasm_fraction && wasm_fraction <= 35,
"{}% is not between 25% and 35%",
wasm_fraction
);
}
Expand Down

0 comments on commit 33a7c91

Please sign in to comment.