From 5ad010b0e3343c2fe3711b7e4646a2610ae4580e Mon Sep 17 00:00:00 2001 From: Jonas Bostoen Date: Fri, 18 Oct 2024 12:23:54 +0200 Subject: [PATCH] fix(contracts): script import paths --- bolt-contracts/script/holesky/Upgrade.s.sol | 12 ++++++------ .../script/holesky/helpers/Symbiotic.s.sol | 5 ----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/bolt-contracts/script/holesky/Upgrade.s.sol b/bolt-contracts/script/holesky/Upgrade.s.sol index 6ca5b0518..be872b5e2 100644 --- a/bolt-contracts/script/holesky/Upgrade.s.sol +++ b/bolt-contracts/script/holesky/Upgrade.s.sol @@ -6,12 +6,12 @@ import {Script, console} from "forge-std/Script.sol"; import {ERC1967Proxy} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; import {Upgrades} from "@openzeppelin-foundry-upgrades/src/Upgrades.sol"; -import {BoltParametersV1} from "../../../src/contracts/BoltParametersV1.sol"; -import {BoltValidatorsV1} from "../../../src/contracts/BoltValidatorsV1.sol"; -import {BoltManagerV1} from "../../../src/contracts/BoltManagerV1.sol"; -import {BoltEigenLayerMiddlewareV1} from "../../../src/contracts/BoltEigenLayerMiddlewareV1.sol"; -import {BoltSymbioticMiddlewareV1} from "../../../src/contracts/BoltSymbioticMiddlewareV1.sol"; -import {BoltConfig} from "../../../src/lib/Config.sol"; +import {BoltParametersV1} from "../../src/contracts/BoltParametersV1.sol"; +import {BoltValidatorsV1} from "../../src/contracts/BoltValidatorsV1.sol"; +import {BoltManagerV1} from "../../src/contracts/BoltManagerV1.sol"; +import {BoltEigenLayerMiddlewareV1} from "../../src/contracts/BoltEigenLayerMiddlewareV1.sol"; +import {BoltSymbioticMiddlewareV1} from "../../src/contracts/BoltSymbioticMiddlewareV1.sol"; +import {BoltConfig} from "../../src/lib/Config.sol"; contract UpgradeBolt is Script { function run() public { diff --git a/bolt-contracts/script/holesky/helpers/Symbiotic.s.sol b/bolt-contracts/script/holesky/helpers/Symbiotic.s.sol index f6f501538..e5b44c13f 100644 --- a/bolt-contracts/script/holesky/helpers/Symbiotic.s.sol +++ b/bolt-contracts/script/holesky/helpers/Symbiotic.s.sol @@ -17,11 +17,6 @@ contract SymbioticHelper is Script { vm.startBroadcast(networkAdmin); - console.log(arg); - console.logBytes32(keccak256(abi.encode(arg))); - console.logBytes32(keccak256(abi.encode("registerNetwork"))); - console.logBytes32(keccak256(abi.encode("registerMiddleware"))); - if (keccak256(abi.encode(arg)) == keccak256(abi.encode("registerNetwork"))) { INetworkRegistry networkRegistry = INetworkRegistry(readNetworkRegistry());