Skip to content

Commit

Permalink
Remove unnecessary declaration of abicoder v2
Browse files Browse the repository at this point in the history
As per Solidity 0.8.0, ABI coder v2 is activated by default and as such it does not need to be specified in the code. Disregard this commit if wanting to be explicit in using ABI coder v2  instead of experimental ABIEncoderV2 or abicoder V1.
  • Loading branch information
Tranquil-Flow committed Mar 8, 2024
1 parent efbf474 commit 61b7fac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/interfaces/uniswap/ISwapRouter.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity 0.8.21;
pragma abicoder v2;

import { IUniswapV3SwapCallback } from "src/interfaces/uniswap/IUniswapV3SwapCallback.sol";

Expand Down
2 changes: 0 additions & 2 deletions src/services/SwapService.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;

pragma abicoder v2;

// Local imports
import { TransferHelper } from "src/dependencies/uniswap/TransferHelper.sol";
import { ISwapRouter } from "src/interfaces/uniswap/ISwapRouter.sol";
Expand Down

0 comments on commit 61b7fac

Please sign in to comment.