Skip to content

Commit

Permalink
compile hardhat
Browse files Browse the repository at this point in the history
  • Loading branch information
aazhou1 committed Dec 20, 2024
1 parent 63e8729 commit 6524e9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hardhat-scripts/deploy-strategy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import hre from "hardhat";
import "@nomicfoundation/hardhat-ethers";
import "@nomiclabs/hardhat-ethers";
import { NonceManager } from "@ethersproject/experimental";
import dotenv from "dotenv";
import { Signer } from "ethers";
Expand All @@ -10,7 +10,7 @@ function stringToAddressArray(input: string): string[] {
if (!input) return [];
return input.split(",").map((addr) => {
const trimmed = addr.trim();
if (!hre.ethers.isAddress(trimmed)) {
if (!hre.ethers.utils.isAddress(trimmed)) {
throw new Error(`Invalid address: ${trimmed}`);
}
return trimmed;
Expand Down

0 comments on commit 6524e9d

Please sign in to comment.