Skip to content

Commit 2e632c5

Browse files
reorganize folders (#62)
* reorganize folders * chore: run forge fmt --------- Co-authored-by: vnavascues <[email protected]>
1 parent 1ca1256 commit 2e632c5

File tree

15 files changed

+17
-17
lines changed

15 files changed

+17
-17
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ catch them.
151151
152152
4. **(Optional) Automate with a Script**
153153

154-
For more complex or repeated runs, you can create a JS script in `scripts/`,
154+
For more complex or repeated runs, you can create a JS script in `test/scripts/`,
155155
e.g.
156-
[`scripts/runEnsoCheckoutMutationTests.mjs`](./scripts/runEnsoCheckoutMutationTests.mjs).
156+
[`test/scripts/runEnsoCheckoutMutationTests.mjs`](./scripts/runEnsoCheckoutMutationTests.mjs).
157157

158158
#### **Script Options and Advanced Usage**
159159

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"format:fix:sol": "forge fmt",
1212
"test:enso_checkout:fork": "forge test --match-path 'test/fork/enso-checkout/*.t.sol'",
1313
"test:enso_checkout:unit": "forge test --match-path 'test/unit/concrete/{delegate/ensoReceiver,factory/erc4337CloneFactory,paymaster/signaturePaymaster}/*.t.sol'",
14-
"test:enso_checkout:mutation": "node scripts/runEnsoCheckoutMutationTests.mjs",
14+
"test:enso_checkout:mutation": "node test/scripts/runEnsoCheckoutMutationTests.mjs",
1515
"test:enso_wallet_v2:unit": "forge test --match-path 'test/unit/concrete/wallet/{ensoWalletV2,ensoWalletV2Factory}/*.t.sol'"
1616
},
1717
"keywords": [],

src/wallet/EnsoWalletV2Factory.sol renamed to src/factory/EnsoWalletV2Factory.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
pragma solidity ^0.8.28;
33

44
import { Token, TokenType } from "../interfaces/IEnsoRouter.sol";
5-
import { IEnsoWalletV2 } from "./interfaces/IEnsoWalletV2.sol";
6-
import { IEnsoWalletV2Factory } from "./interfaces/IEnsoWalletV2Factory.sol";
5+
import { IEnsoWalletV2 } from "../interfaces/IEnsoWalletV2.sol";
6+
import { IEnsoWalletV2Factory } from "../interfaces/IEnsoWalletV2Factory.sol";
77
import { IERC1155 } from "openzeppelin-contracts/token/ERC1155/IERC1155.sol";
88
import { IERC20, SafeERC20 } from "openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol";
99
import { IERC721 } from "openzeppelin-contracts/token/ERC721/IERC721.sol";
File renamed without changes.

src/wallet/interfaces/IEnsoWalletV2Factory.sol renamed to src/interfaces/IEnsoWalletV2Factory.sol

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

4-
import { Token, TokenType } from "../../interfaces/IEnsoRouter.sol";
4+
import { Token, TokenType } from "./IEnsoRouter.sol";
55

66
/// @title IEnsoWalletV2Factory
77
/// @author Enso

src/wallet/EnsoWalletV2.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ pragma solidity ^0.8.28;
33

44
import { AbstractEnsoShortcuts } from "../AbstractEnsoShortcuts.sol";
55
import { AbstractMultiSend } from "../AbstractMultiSend.sol";
6+
import { IEnsoWalletV2 } from "../interfaces/IEnsoWalletV2.sol";
67
import { Withdrawable } from "../utils/Withdrawable.sol";
7-
import { IEnsoWalletV2 } from "./interfaces/IEnsoWalletV2.sol";
88
import { Initializable } from "openzeppelin-contracts/proxy/utils/Initializable.sol";
99

1010
/// @title EnsoWalletV2

test/MaverickV2Helpers.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ contract MaverickV2HelpersTest is Test {
1414
address public lens = 0xBf0D89E67351f68a0a921943332c5bE0f7a0FF8A;
1515
address public refund = 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045;
1616

17-
address public usdce_holder = 0x329C395D83493ea909ba3CE76b04766E17De4Ea8;
17+
address public usdce_holder = 0x816f722424B49Cf1275cc86DA9840Fbd5a6167e9;
1818
address public pusd_holder = 0x131C4558343BC50c2c08164972f9748738902705;
1919

2020
string _rpcURL = vm.envString("PLUME_RPC_URL");

test/unit/concrete/wallet/ensoWalletV2/EnsoWalletV2.t.sol

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

4+
import { EnsoWalletV2Factory } from "../../../../../src/factory/EnsoWalletV2Factory.sol";
45
import { EnsoWalletV2 } from "../../../../../src/wallet/EnsoWalletV2.sol";
5-
import { EnsoWalletV2Factory } from "../../../../../src/wallet/EnsoWalletV2Factory.sol";
66

77
import { MockERC1155 } from "../../../../mocks/MockERC1155.sol";
88
import { MockERC20 } from "../../../../mocks/MockERC20.sol";

test/unit/concrete/wallet/ensoWalletV2/execute.t.sol

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

4+
import { IEnsoWalletV2 } from "../../../../../src/interfaces/IEnsoWalletV2.sol";
45
import { EnsoWalletV2 } from "../../../../../src/wallet/EnsoWalletV2.sol";
5-
import { IEnsoWalletV2 } from "../../../../../src/wallet/interfaces/IEnsoWalletV2.sol";
66
import { EnsoWalletV2_Unit_Concrete_Test } from "./EnsoWalletV2.t.sol";
77

88
contract Target {

0 commit comments

Comments
 (0)