From 6abe02cebc26a50e2fbd13e29adcb8e1d3f6c651 Mon Sep 17 00:00:00 2001 From: fangting-alchemy <119372438+fangting-alchemy@users.noreply.github.com> Date: Fri, 19 Jul 2024 10:45:56 -0700 Subject: [PATCH] fix: organize all modules under modules folder (#107) --- src/{samples => modules}/permissionhooks/AllowlistModule.sol | 0 test/{samples => module}/AllowlistModule.t.sol | 2 +- test/{validation => module}/SingleSignerValidation.t.sol | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{samples => modules}/permissionhooks/AllowlistModule.sol (100%) rename test/{samples => module}/AllowlistModule.t.sol (99%) rename test/{validation => module}/SingleSignerValidation.t.sol (100%) diff --git a/src/samples/permissionhooks/AllowlistModule.sol b/src/modules/permissionhooks/AllowlistModule.sol similarity index 100% rename from src/samples/permissionhooks/AllowlistModule.sol rename to src/modules/permissionhooks/AllowlistModule.sol diff --git a/test/samples/AllowlistModule.t.sol b/test/module/AllowlistModule.t.sol similarity index 99% rename from test/samples/AllowlistModule.t.sol rename to test/module/AllowlistModule.t.sol index 80b91fb5..136ae211 100644 --- a/test/samples/AllowlistModule.t.sol +++ b/test/module/AllowlistModule.t.sol @@ -7,7 +7,7 @@ import {UpgradeableModularAccount} from "../../src/account/UpgradeableModularAcc import {ModuleEntity, ModuleEntityLib} from "../../src/helpers/ModuleEntityLib.sol"; import {Call} from "../../src/interfaces/IStandardExecutor.sol"; -import {AllowlistModule} from "../../src/samples/permissionhooks/AllowlistModule.sol"; +import {AllowlistModule} from "../../src/modules/permissionhooks/AllowlistModule.sol"; import {Counter} from "../mocks/Counter.sol"; import {CustomValidationTestBase} from "../utils/CustomValidationTestBase.sol"; diff --git a/test/validation/SingleSignerValidation.t.sol b/test/module/SingleSignerValidation.t.sol similarity index 100% rename from test/validation/SingleSignerValidation.t.sol rename to test/module/SingleSignerValidation.t.sol