Skip to content

Commit

Permalink
💅 style forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
GianfrancoBazzani committed Dec 19, 2024
1 parent 96b183b commit d69b1c4
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/libraries/PositionInfoLibrary.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ type PositionInfo is uint256;
using PositionInfoLibrary for PositionInfo global;

library PositionInfoLibrary {

PositionInfo internal constant EMPTY_POSITION_INFO = PositionInfo.wrap(0);

uint256 internal constant MASK_UPPER_200_BITS = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000;
Expand Down
1 change: 0 additions & 1 deletion test/BaseActionsRouter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {Test} from "forge-std/Test.sol";
import {Deployers} from "@uniswap/v4-core/test/utils/Deployers.sol";

contract BaseActionsRouterTest is Test, Deployers {

MockBaseActionsRouter router;

function setUp() public {
Expand Down
1 change: 0 additions & 1 deletion test/DeltaResolver.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {ERC20} from "solmate/src/tokens/ERC20.sol";
import {MockDeltaResolver} from "./mocks/MockDeltaResolver.sol";

contract DeltaResolverTest is Test, Deployers {

MockDeltaResolver resolver;

function setUp() public {
Expand Down
1 change: 0 additions & 1 deletion test/libraries/PositionInfoLibrary.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {PoolKey} from "@uniswap/v4-core/src/types/PoolKey.sol";
import {PositionInfo, PositionInfoLibrary, PoolId} from "../../src/libraries/PositionInfoLibrary.sol";

contract PositionInfoLibraryTest is Test {

function setUp() public {}

function test_fuzz_initialize(PoolKey memory poolKey, int24 tickLower, int24 tickUpper) public pure {
Expand Down
1 change: 0 additions & 1 deletion test/mocks/MockDeltaResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {ERC20} from "solmate/src/tokens/ERC20.sol";
import {Test} from "forge-std/Test.sol";

contract MockDeltaResolver is Test, DeltaResolver, IUnlockCallback {

uint256 public payCallCount;

constructor(IPoolManager _poolManager) ImmutableState(_poolManager) {}
Expand Down
1 change: 0 additions & 1 deletion test/router/Payments.gas.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {Actions} from "../../src/libraries/Actions.sol";
import {ActionConstants} from "../../src/libraries/ActionConstants.sol";

contract PaymentsTests is RoutingTestHelpers {

function setUp() public {
setupRouterCurrenciesAndPoolsWithLiquidity();
plan = Planner.init();
Expand Down
1 change: 0 additions & 1 deletion test/router/Payments.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {ActionConstants} from "../../src/libraries/ActionConstants.sol";
import {BipsLibrary} from "../../src/libraries/BipsLibrary.sol";

contract PaymentsTests is RoutingTestHelpers {

address bob = makeAddr("BOB");

function setUp() public {
Expand Down
1 change: 0 additions & 1 deletion test/router/V4Router.gas.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {Actions} from "../../src/libraries/Actions.sol";
import {ActionConstants} from "../../src/libraries/ActionConstants.sol";

contract V4RouterTest is RoutingTestHelpers {

function setUp() public {
setupRouterCurrenciesAndPoolsWithLiquidity();
plan = Planner.init();
Expand Down
1 change: 0 additions & 1 deletion test/router/V4Router.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {Actions} from "../../src/libraries/Actions.sol";
import {ActionConstants} from "../../src/libraries/ActionConstants.sol";

contract V4RouterTest is RoutingTestHelpers {

address alice = makeAddr("ALICE");

function setUp() public {
Expand Down
1 change: 0 additions & 1 deletion test/shared/Planner.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ struct Plan {
using Planner for Plan global;

library Planner {

function init() internal pure returns (Plan memory plan) {
return Plan({actions: bytes(""), params: new bytes[](0)});
}
Expand Down
1 change: 0 additions & 1 deletion test/shared/RoutingTestHelpers.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {ActionConstants} from "../../src/libraries/ActionConstants.sol";

/// @notice A shared test contract that wraps the v4-core deployers contract and exposes basic helpers for swapping with the router.
contract RoutingTestHelpers is Test, Deployers {

PoolModifyLiquidityTest positionManager;
MockV4Router router;

Expand Down
1 change: 0 additions & 1 deletion test/shared/fuzz/LiquidityFuzzers.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {Actions} from "../../../src/libraries/Actions.sol";
import {Planner, Plan} from "../../shared/Planner.sol";

contract LiquidityFuzzers is Fuzzers {

uint128 constant _MAX_SLIPPAGE_INCREASE = type(uint128).max;

function addFuzzyLiquidity(
Expand Down

0 comments on commit d69b1c4

Please sign in to comment.