Skip to content

Commit

Permalink
refactor: added view to verify solution
Browse files Browse the repository at this point in the history
  • Loading branch information
TokenTitan committed Jul 30, 2024
1 parent e501cca commit fefce58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/FlashLiquidity.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pragma solidity 0.8.26;

import "forge-std/Test.sol";
import "test/solve-lib/FlashLiquidityLib.sol";
import "test/solve-lib/DeFi/FlashLiquidityLib.sol";

contract FlashLiquidityTest is Test, FlashLiquidityLib {
address deployer;
Expand Down
2 changes: 1 addition & 1 deletion test/examples/DeFi/SwapPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ contract SwapPool is SmarterContract {
});

// The call to `exactInputSingle` executes the swap.
uint256 amountOut = router.exactInputSingle(params);
router.exactInputSingle(params);

// check whether or not
CallObject[] memory callObjs = new CallObject[](1);
Expand Down
2 changes: 1 addition & 1 deletion test/examples/MEVOracle/MEVTimeCompute.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ contract MEVTimeCompute is SmarterContract {
assertFutureCallTo(callObj, 1);
}

function verifySolution() external {
function verifySolution() external view {
require(initValue % divisor == 0, "Invalid Solution Provided");
}
}

0 comments on commit fefce58

Please sign in to comment.