Skip to content

Commit

Permalink
Update trade_debug.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Sep 9, 2024
1 parent 2c81964 commit 9be40c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tauri-app/src-tauri/src/commands/trade_debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ mod tests {
"T1",
"T1",
18,
parse_units("100", 18).unwrap().into(),
parse_units("100000", 18).unwrap().into(),
token1_holder,
)
.await;
Expand All @@ -51,7 +51,7 @@ mod tests {
"T2",
"T2",
18,
parse_units("100", 18).unwrap().into(),
parse_units("100000", 18).unwrap().into(),
token2_holder,
)
.await;
Expand Down Expand Up @@ -128,7 +128,7 @@ amount price: 7 4;
&calldata,
token1_holder,
*token1.address(),
parse_ether("1000").unwrap(),
parse_ether("100").unwrap(),
U256::from(1),
)
.await
Expand All @@ -137,7 +137,7 @@ amount price: 7 4;

// approve T2 spending for token2 holder for orderbook
token2
.approve(*orderbook.address(), parse_ether("1000").unwrap())
.approve(*orderbook.address(), parse_ether("100").unwrap())
.from(token2_holder)
.do_send(&local_evm)
.await
Expand Down

0 comments on commit 9be40c2

Please sign in to comment.