Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
1 vote

Impersonating a contract when calling another in tests using ether.js

Complementing Ahmed Ihsan Tawfeeq: With hardhat there is a easy way to impersonate a contract, this is the code to to that: const ContractFactory = await ethers.getContractFactory( "...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible