Skip to content

Commit

Permalink
♻️ remove ethers dependency from script
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Dec 11, 2023
1 parent c52d9e7 commit cc6c9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as fs from "fs";
import path from "path";
import hre, { ethers } from "hardhat";
import hre from "hardhat";

import signedTx from "./presigned-createx-deployment-transaction/signed_serialised_transaction.json";

Expand All @@ -17,7 +17,7 @@ function delay(ms: number) {

// eslint-disable-next-line @typescript-eslint/no-unused-vars
async function deployNormal() {
const contract = await ethers.deployContract("CreateX");
const contract = await hre.ethers.deployContract("CreateX");

await contract.waitForDeployment();
const contractAddress = await contract.getAddress();
Expand Down

0 comments on commit cc6c9a0

Please sign in to comment.