Skip to content

Commit

Permalink
chore(deploy-upgrade): import StorageLayoutCheck from protocol core
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsadface committed Sep 5, 2024
1 parent 45f1561 commit c295705
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 69 deletions.
1 change: 1 addition & 0 deletions remappings.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@openzeppelin/=node_modules/@openzeppelin/
@openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades
@storyprotocol/core/=node_modules/@story-protocol/protocol-core/contracts/
@storyprotocol/script/=node_modules/@story-protocol/protocol-core/script/foundry
@create3-deployer/=node_modules/@story-protocol/create3-deployer/
@solady/=node_modules/solady/
ds-test/=lib/forge-std/lib/ds-test/src/
Expand Down
4 changes: 2 additions & 2 deletions script/utils/DeployHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
pragma solidity ^0.8.23;

// external
import { UpgradeableBeacon } from "@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol";
import { console2 } from "forge-std/console2.sol";
import { Script } from "forge-std/Script.sol";
import { stdJson } from "forge-std/StdJson.sol";
import { UpgradeableBeacon } from "@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol";

// contracts
import { SPGNFT } from "contracts/SPGNFT.sol";
Expand All @@ -17,8 +17,8 @@ import { StoryProtocolGateway } from "contracts/StoryProtocolGateway.sol";
import { StringUtil } from "./StringUtil.sol";
import { BroadcastManager } from "./BroadcastManager.s.sol";
import { JsonDeploymentHandler } from "./JsonDeploymentHandler.s.sol";
import { StorageLayoutChecker } from "./upgrades/StorageLayoutCheck.s.sol";
import { StoryProtocolCoreAddressManager } from "./StoryProtocolCoreAddressManager.sol";
import { StorageLayoutChecker } from "@storyprotocol/script/utils/upgrades/StorageLayoutCheck.s.sol";

// test
import { TestProxyHelper } from "test/utils/TestProxyHelper.t.sol";
Expand Down
67 changes: 0 additions & 67 deletions script/utils/upgrades/StorageLayoutCheck.s.sol

This file was deleted.

0 comments on commit c295705

Please sign in to comment.