From d227ee43f4bcc174ff00dd633c782727fbfac3e4 Mon Sep 17 00:00:00 2001 From: Alex Metelli Date: Wed, 3 Jul 2024 14:16:57 +0800 Subject: [PATCH] removed unused deploy script --- ethereum/script/DeployMockStorage.s.sol | 34 ------------------------- 1 file changed, 34 deletions(-) delete mode 100644 ethereum/script/DeployMockStorage.s.sol diff --git a/ethereum/script/DeployMockStorage.s.sol b/ethereum/script/DeployMockStorage.s.sol deleted file mode 100644 index e7d8ed1..0000000 --- a/ethereum/script/DeployMockStorage.s.sol +++ /dev/null @@ -1,34 +0,0 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.0; - -import {Script} from "@forge-std/src/Script.sol"; -import {MockStorage} from "../src/Mock/MockStorage.sol"; - -contract DeployMockStorage is Script{ - - uint256 public val1 = 1000; - uint256 public val2 = 2000; - address public addr = 0x9D7f74d0C41E726EC95884E0e97Fa6129e3b5E99; - address public addr2 = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4; - - function run() external returns (MockStorage) { - - uint256 deployerPrivateKey = vm.envUint("ACCOUNT_PRIVATE_KEY"); - - string memory json = "local_testing"; - - vm.startBroadcast(deployerPrivateKey); - address mockStorageAddress = address(new MockStorage()); - vm.serializeString(json, "snMessaging_address", vm.toString(mockStorageAddress)); - MockStorage mockStorage = new MockStorage(); - // mockStorage.setValue(val1); - // mockStorage.setMapValues(val1, addr); - // mockStorage.setMapValues(val2, addr2); - // mockStorage.setArrValues(addr); - // mockStorage.setArrValues(addr2); - vm.stopBroadcast(); - - return mockStorage; - } - -} \ No newline at end of file