Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
vminkov committed Apr 5, 2024
1 parent d656953 commit bd4351a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion contracts/test/AccountLiquidityTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ contract AccountLiquidityTest is UpgradesBaseTest {
// liquidated at 5890902
// https://explorer.mode.network/tx/0x424fd0504e7afb00382c6dcd25a2efdefd96c005c2333112be450fc7bd98cc88
}
}
}
3 changes: 2 additions & 1 deletion contracts/test/DevTesting.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,8 @@ contract DevTesting is BaseTest {

ERC20(WETH).allowance(caller, target);

bytes memory data = hex"534da46000000000000000000000000071ef7eda2be775e5a7aa8afd02c45f059833e9d20000000000000000000000002be717340023c9e14c1bb12cb3ecbcfd3c3fb0380000000000000000000000004200000000000000000000000000000000000006000000000000000000000000000000000000000000000000001329713137a5260000000000000000000000000000000000000000000000000000000000000001";
bytes
memory data = hex"534da46000000000000000000000000071ef7eda2be775e5a7aa8afd02c45f059833e9d20000000000000000000000002be717340023c9e14c1bb12cb3ecbcfd3c3fb0380000000000000000000000004200000000000000000000000000000000000006000000000000000000000000000000000000000000000000001329713137a5260000000000000000000000000000000000000000000000000000000000000001";
vm.prank(caller);
_functionCall(target, data, "raw call failed");
}
Expand Down
12 changes: 2 additions & 10 deletions contracts/test/liquidators/UniswapV3LiquidatorTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,11 @@ contract UniswapV3LiquidatorTest is IonicLiquidatorTest {
emit log_named_uint("feeConfig", feeConfig);

if (feeConfig == 0) {
pool = factory.getPool(
wethAddr,
usdcAddr,
uint24(feeConfig)
);
pool = factory.getPool(wethAddr, usdcAddr, uint24(feeConfig));
emit log_named_address("Pool at fee 0", pool);
}

pool = factory.getPool(
wethAddr,
usdcAddr,
500
);
pool = factory.getPool(wethAddr, usdcAddr, 500);
emit log_named_address("Pool at fee 500", pool);
}
}

0 comments on commit bd4351a

Please sign in to comment.