Skip to content

Commit 4829b1e

Browse files
committed
chore: rm unused lines
1 parent 54fdb45 commit 4829b1e

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

script/DeployBatchTransferScript.s.sol

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ pragma solidity ^0.8.28;
44
import "forge-std/Script.sol";
55
import "../src/BatchTransferFraction.sol";
66
import "../src/interfaces/IHypercertToken.sol";
7-
import { Create2 } from "@openzeppelin/contracts/utils/Create2.sol";
87

98
contract DeployBatchTransferScript is Script {
109
IHypercertToken internal hypercertToken;
1110

12-
function configureChain() public {
11+
function configureChain() internal {
1312
string memory root = vm.projectRoot();
1413
string memory path =
1514
string.concat(root, "/lib/hypercerts-protocol/contracts/src/deployments/deployments-protocol.json");
@@ -30,15 +29,7 @@ contract DeployBatchTransferScript is Script {
3029

3130
vm.startBroadcast();
3231

33-
// bytes32 salt = keccak256(abi.encodePacked("BatchTransferFraction"));
34-
35-
// bytes memory arg = abi.encode(address(hypercertToken));
36-
37-
// bytes memory bytecode = abi.encodePacked(type(BatchTransferFraction).creationCode, arg);
38-
39-
// address deployedAddress = Create2.deploy(0, salt, bytecode);
40-
41-
BatchTransferFraction deployedAddress = new BatchTransferFraction(address(hypercertToken));
32+
address deployedAddress = address(new BatchTransferFraction(address(hypercertToken)));
4233

4334
console.log("BatchTransferFraction deployed to: %s", address(deployedAddress));
4435
vm.stopBroadcast();

0 commit comments

Comments
 (0)