Skip to content

Commit

Permalink
fix another driver test
Browse files Browse the repository at this point in the history
  • Loading branch information
sunce86 committed Mar 28, 2024
1 parent ec129e2 commit 79617b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/driver/src/tests/cases/protocol_fees.rs
Original file line number Diff line number Diff line change
Expand Up @@ -687,9 +687,9 @@ async fn price_improvement_fee_sell_in_market_order_not_capped() {
// high enough so we don't get capped by volume fee
max_volume_factor: 0.9,
quote: Quote {
sell: 49.ether().into_wei(),
sell: 50.ether().into_wei(),
buy: 50.ether().into_wei(),
network_fee: 1.ether().into_wei(),
network_fee: 4.ether().into_wei(), // 50 sell for 46 buy
},
};
let test_case = TestCase {
Expand All @@ -701,14 +701,14 @@ async fn price_improvement_fee_sell_in_market_order_not_capped() {
side: order::Side::Sell,
},
execution: Execution {
// Receive 10 ETH more than quoted, half of which gets captured by the protocol
// Receive 14 ETH more than quoted, half of which gets captured by the protocol
solver: Amounts {
sell: 50.ether().into_wei(),
buy: 60.ether().into_wei(),
},
driver: Amounts {
sell: 50.ether().into_wei(),
buy: 55.ether().into_wei(),
buy: 53.ether().into_wei(),
},
},
expected_score: 20.ether().into_wei(),
Expand Down

0 comments on commit 79617b9

Please sign in to comment.