Skip to content

Commit c34e6f4

Browse files
Copilotsonnyquinn24
andcommitted
Fix ES module import errors in deployment scripts
Co-authored-by: sonnyquinn24 <[email protected]>
1 parent 3b633e6 commit c34e6f4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/deploy-DE.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { ethers } from "hardhat";
1+
import hre from "hardhat";
2+
const { ethers } = hre;
23

34
async function main() {
45
// Addresses

scripts/deploy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { ethers } from "hardhat";
1+
import hre from "hardhat";
2+
const { ethers } = hre;
23

34
async function main() {
45
// Replace with your actual owner address

0 commit comments

Comments
 (0)