From d6fea77dfa0539b565e831e622dbf63e1c8f1ef0 Mon Sep 17 00:00:00 2001 From: leekt Date: Tue, 23 Apr 2024 02:22:47 +0900 Subject: [PATCH] maybe..? --- src/sdk/{TestBase => }/KernelTestBase.sol | 24 +++++++++++------------ test/ECDSAValidator.t.sol | 2 +- test/Kernel.t.sol | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) rename src/sdk/{TestBase => }/KernelTestBase.sol (98%) diff --git a/src/sdk/TestBase/KernelTestBase.sol b/src/sdk/KernelTestBase.sol similarity index 98% rename from src/sdk/TestBase/KernelTestBase.sol rename to src/sdk/KernelTestBase.sol index 69ec881..65d0bbb 100644 --- a/src/sdk/TestBase/KernelTestBase.sol +++ b/src/sdk/KernelTestBase.sol @@ -1,19 +1,19 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; -import "../../Kernel.sol"; -import "../../factory/KernelFactory.sol"; -import "../../factory/FactoryStaker.sol"; +import "../Kernel.sol"; +import "../factory/KernelFactory.sol"; +import "../factory/FactoryStaker.sol"; import "forge-std/Test.sol"; -import "../../mock/MockValidator.sol"; -import "../../mock/MockPolicy.sol"; -import "../../mock/MockSigner.sol"; -import "../../mock/MockAction.sol"; -import "../../mock/MockHook.sol"; -import "../../mock/MockExecutor.sol"; -import "../../mock/MockFallback.sol"; -import "../../core/ValidationManager.sol"; -import "./erc4337Util.sol"; +import "../mock/MockValidator.sol"; +import "../mock/MockPolicy.sol"; +import "../mock/MockSigner.sol"; +import "../mock/MockAction.sol"; +import "../mock/MockHook.sol"; +import "../mock/MockExecutor.sol"; +import "../mock/MockFallback.sol"; +import "../core/ValidationManager.sol"; +import "./TestBase/erc4337Util.sol"; contract MockCallee { uint256 public value; diff --git a/test/ECDSAValidator.t.sol b/test/ECDSAValidator.t.sol index 4136c29..0cecfb1 100644 --- a/test/ECDSAValidator.t.sol +++ b/test/ECDSAValidator.t.sol @@ -1,7 +1,7 @@ pragma solidity ^0.8.0; import {ECDSAValidator} from "../src/validator/ECDSAValidator.sol"; -import {MockCallee, KernelTestBase} from "../src/sdk/testBase/KernelTestBase.sol"; +import {MockCallee, KernelTestBase} from "../src/sdk/KernelTestBase.sol"; import {ECDSA} from "solady/utils/ECDSA.sol"; import {PackedUserOperation} from "../src/interfaces/PackedUserOperation.sol"; import {ValidatorLib} from "../src/utils/ValidationTypeLib.sol"; diff --git a/test/Kernel.t.sol b/test/Kernel.t.sol index 90c6f66..7a85adc 100644 --- a/test/Kernel.t.sol +++ b/test/Kernel.t.sol @@ -1,5 +1,5 @@ pragma solidity ^0.8.0; -import {KernelTestBase} from "../src/sdk/testBase/KernelTestBase.sol"; +import {KernelTestBase} from "../src/sdk/KernelTestBase.sol"; contract KernelTest is KernelTestBase {}