Skip to content

Commit 97080d1

Browse files
committed
refacgtor(remappings): update solmate remapping
1 parent a826a08 commit 97080d1

5 files changed

+6
-5
lines changed

remappings.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ ds-test/=lib/forge-std/lib/ds-test/src/
33
forge-std/=lib/forge-std/src/
44
openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/
55
openzeppelin-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/
6-
solmate/=lib/solmate/src/
6+
7+
@solmate/=lib/solmate/src/

src/ERC3156xFlashBorrower.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pragma solidity ^0.8.0;
44
import {IERC3156xFlashLender} from "src/interfaces/IERC3156xFlashLender.sol";
55
import {IERC3156xFlashBorrower} from "src/interfaces/IERC3156xFlashBorrower.sol";
66

7-
import {SafeTransferLib, ERC20} from "solmate/utils/SafeTransferLib.sol";
7+
import {SafeTransferLib, ERC20} from "@solmate/utils/SafeTransferLib.sol";
88

99
import {FLASH_BORROWER_SUCCESS_HASH} from "src/ERC3156xFlashLender.sol";
1010

src/ERC3156xFlashLender.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pragma solidity ^0.8.0;
44
import {IERC3156xFlashLender} from "src/interfaces/IERC3156xFlashLender.sol";
55
import {IERC3156xFlashBorrower} from "src/interfaces/IERC3156xFlashBorrower.sol";
66

7-
import {SafeTransferLib, ERC20} from "solmate/utils/SafeTransferLib.sol";
7+
import {SafeTransferLib, ERC20} from "@solmate/utils/SafeTransferLib.sol";
88

99
/// @dev The expected success hash returned by the FlashBorrower.
1010
bytes32 constant FLASH_BORROWER_SUCCESS_HASH = keccak256("ERC3156xFlashBorrower.onFlashLoan");

test/TestERC3156xFlashLender.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {IERC3156xFlashLender} from "src/interfaces/IERC3156xFlashLender.sol";
55
import {IERC3156xFlashBorrower} from "src/interfaces/IERC3156xFlashBorrower.sol";
66

77
import {FLASH_BORROWER_SUCCESS_HASH} from "src/ERC3156xFlashLender.sol";
8-
import {SafeTransferLib, ERC20} from "solmate/utils/SafeTransferLib.sol";
8+
import {SafeTransferLib, ERC20} from "@solmate/utils/SafeTransferLib.sol";
99

1010
import {ERC20Mock} from "test/mocks/ERC20Mock.sol";
1111
import {ERC3156xFlashLenderMock} from "test/mocks/ERC3156xFlashLenderMock.sol";

test/mocks/ERC20Mock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: AGPL-3.0-only
22
pragma solidity ^0.8.0;
33

4-
import {ERC20} from "solmate/tokens/ERC20.sol";
4+
import {ERC20} from "@solmate/tokens/ERC20.sol";
55

66
contract ERC20Mock is ERC20 {
77
constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol, 18) {}

0 commit comments

Comments
 (0)