Skip to content

Commit

Permalink
fix(contracts): script import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mempirate committed Oct 18, 2024
1 parent 06bdd8e commit 5ad010b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
12 changes: 6 additions & 6 deletions bolt-contracts/script/holesky/Upgrade.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
5 changes: 0 additions & 5 deletions bolt-contracts/script/holesky/helpers/Symbiotic.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 5ad010b

Please sign in to comment.