Skip to content

Commit

Permalink
Import ethers from hardhat
Browse files Browse the repository at this point in the history
When using ethers we should import it from hardhat.
  • Loading branch information
nkuba committed Dec 28, 2023
1 parent 8f1c189 commit 5866ec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions core/test/Acre.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
loadFixture,
} from "@nomicfoundation/hardhat-toolbox/network-helpers"
import { expect } from "chai"
import { ethers } from "hardhat"
import { ContractTransactionResponse, ZeroAddress } from "ethers"

import type { HardhatEthersSigner } from "@nomicfoundation/hardhat-ethers/signers"
Expand Down
3 changes: 1 addition & 2 deletions core/test/helpers/contract.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { ethers } from "ethers"
import { deployments } from "hardhat"
import { deployments, ethers } from "hardhat"

import type { BaseContract } from "ethers"
import { getUnnamedSigner } from "./signer"
Expand Down

0 comments on commit 5866ec5

Please sign in to comment.