From 60666617393691120c0f447a0691cb9d59483b3f Mon Sep 17 00:00:00 2001 From: leekt Date: Tue, 23 Apr 2024 02:15:47 +0900 Subject: [PATCH] path fix...? --- foundry.toml | 2 +- src/sdk/TestBase/KernelTestBase.sol | 22 +++++++++++----------- src/validator/WeightedECDSAValidator.sol | 2 +- test/ECDSAValidator.t.sol | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/foundry.toml b/foundry.toml index b054a2fa..a3d2d35d 100644 --- a/foundry.toml +++ b/foundry.toml @@ -5,7 +5,7 @@ libs = ["lib"] bytecode_hash = "none" cbor_metadata = false optimize = true -via-ir = true +via-ir = false runs = 1000 [profile.deploy] diff --git a/src/sdk/TestBase/KernelTestBase.sol b/src/sdk/TestBase/KernelTestBase.sol index 6c0d334d..69ec8815 100644 --- a/src/sdk/TestBase/KernelTestBase.sol +++ b/src/sdk/TestBase/KernelTestBase.sol @@ -1,18 +1,18 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; -import "src/Kernel.sol"; -import "src/factory/KernelFactory.sol"; -import "src/factory/FactoryStaker.sol"; +import "../../Kernel.sol"; +import "../../factory/KernelFactory.sol"; +import "../../factory/FactoryStaker.sol"; import "forge-std/Test.sol"; -import "src/mock/MockValidator.sol"; -import "src/mock/MockPolicy.sol"; -import "src/mock/MockSigner.sol"; -import "src/mock/MockAction.sol"; -import "src/mock/MockHook.sol"; -import "src/mock/MockExecutor.sol"; -import "src/mock/MockFallback.sol"; -import "src/core/ValidationManager.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"; contract MockCallee { diff --git a/src/validator/WeightedECDSAValidator.sol b/src/validator/WeightedECDSAValidator.sol index 5189d31d..6927cc38 100644 --- a/src/validator/WeightedECDSAValidator.sol +++ b/src/validator/WeightedECDSAValidator.sol @@ -2,7 +2,7 @@ pragma solidity ^0.8.0; -import "src/types/Types.sol"; +import "../types/Types.sol"; import {ECDSA} from "solady/utils/ECDSA.sol"; import {EIP712} from "solady/utils/EIP712.sol"; import {PackedUserOperation} from "../interfaces/PackedUserOperation.sol"; diff --git a/test/ECDSAValidator.t.sol b/test/ECDSAValidator.t.sol index 6daa83bd..829905df 100644 --- a/test/ECDSAValidator.t.sol +++ b/test/ECDSAValidator.t.sol @@ -3,7 +3,7 @@ pragma solidity ^0.8.0; import {MockCallee, KernelTestBase} from "../src/sdk/testBase/KernelTestBase.sol"; import {ECDSAValidator} from "../src/validator/ECDSAValidator.sol"; import {ECDSA} from "solady/utils/ECDSA.sol"; -import {PackedUserOperation} from "src/interfaces/PackedUserOperation.sol"; +import {PackedUserOperation} from "../src/interfaces/PackedUserOperation.sol"; import {ValidatorLib} from "../src/utils/ValidationTypeLib.sol"; import {ExecLib} from "../src/utils/ExecLib.sol"; import {IHook} from "../src/interfaces/IERC7579Modules.sol";