Skip to content

Commit

Permalink
fix: import path error after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jpick713 committed Aug 8, 2024
1 parent e973cee commit 66784a4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions script/ConfigReader.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ library ConfigReader {
address queue;
bytes32 solverSalt;
address solver;
address solverBot;
}

function toConfig(string memory _config, string memory _chainConfig) internal pure returns (Config memory config) {
Expand Down
6 changes: 3 additions & 3 deletions script/deploy/single/06_DeployAtomicQueueV2.s.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.21;

import { AtomicQueueV2 } from "./../../src/atomic-queue/AtomicQueueV2.sol";
import { BaseScript } from "./../Base.s.sol";
import { AtomicQueueV2 } from "./../../../src/atomic-queue/AtomicQueueV2.sol";
import { BaseScript } from "../../Base.s.sol";
import { stdJson as StdJson } from "forge-std/StdJson.sol";
import { ConfigReader } from "../../ConfigReader.s.sol";

Expand All @@ -20,7 +20,7 @@ contract DeployAtomicQueueV2 is BaseScript {
// Create Contract
bytes memory creationCode = type(AtomicQueueV2).creationCode;

queue = AtomicQueueV2(CREATEX.deployCreate3(config.queueSalt, abi.encodePacked(creationCode)));
AtomicQueueV2 queue = AtomicQueueV2(CREATEX.deployCreate3(config.queueSalt, abi.encodePacked(creationCode)));

return address(queue);
}
Expand Down
6 changes: 3 additions & 3 deletions script/deploy/single/07_DeployAtomicSolverV4.s.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.21;

import { AtomicSolverV4 } from "./../../src/atomic-queue/AtomicSolverV4.sol";
import { BaseScript } from "./../Base.s.sol";
import { AtomicSolverV4 } from "./../../../src/atomic-queue/AtomicSolverV4.sol";
import { BaseScript } from "../../Base.s.sol";
import { stdJson as StdJson } from "forge-std/StdJson.sol";
import { ConfigReader } from "../../ConfigReader.s.sol";

Expand All @@ -20,7 +20,7 @@ contract DeployAtomicSolverV4 is BaseScript {
// Create Contract
bytes memory creationCode = type(AtomicSolverV4).creationCode;

solver = AtomicSolverV4(
AtomicSolverV4 solver = AtomicSolverV4(
CREATEX.deployCreate3(config.solverSalt, abi.encodePacked(creationCode, abi.encode(broadcaster)))
);

Expand Down
2 changes: 1 addition & 1 deletion script/deploy/single/08_DeployRolesAuthority.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ManagerWithMerkleVerification } from "./../../../src/base/Roles/Manager
import { BoringVault } from "./../../../src/base/BoringVault.sol";
import { TellerWithMultiAssetSupport } from "./../../../src/base/Roles/TellerWithMultiAssetSupport.sol";
import { AccountantWithRateProviders } from "./../../../src/base/Roles/AccountantWithRateProviders.sol";
import { AtomicSolverV4 } from "./../../src/atomic-queue/AtomicSolverV4.sol";
import { AtomicSolverV4 } from "./../../../src/atomic-queue/AtomicSolverV4.sol";
import { BaseScript } from "../../Base.s.sol";
import { ConfigReader } from "../../ConfigReader.s.sol";
import { CrossChainTellerBase } from "../../../src/base/Roles/CrossChain/CrossChainTellerBase.sol";
Expand Down

0 comments on commit 66784a4

Please sign in to comment.