Error: ENS resolution requires a provider (operation="resolveName", code=UNSUPPORTED_OPERATION, version=6.7.1)
caused by line const tx = await contractDAI.transfer.staticCall("vitalik.eth", ethers.parseEther("10000"), {from: "vitalik.eth"})
An error is reported when the from parameter is a ENS domain, which should be an address.
caused by line
const tx = await contractDAI.transfer.staticCall("vitalik.eth", ethers.parseEther("10000"), {from: "vitalik.eth"})
An error is reported when thefrom
parameter is a ENS domain, which should be an address.