Use hardhat-exposed to reduce the need for mocks (#3666)

Co-authored-by: Francisco <fg@frang.io>
This commit is contained in:
Hadrien Croubois
2023-01-03 15:38:13 +01:00
committed by GitHub
parent a81b0d0b21
commit c1d9da4052
190 changed files with 2297 additions and 4311 deletions

View File

@ -1,10 +1,10 @@
const { shouldSupportInterfaces } = require('./SupportsInterface.behavior');
const ERC165Mock = artifacts.require('ERC165Mock');
const ERC165 = artifacts.require('$ERC165');
contract('ERC165', function () {
beforeEach(async function () {
this.mock = await ERC165Mock.new();
this.mock = await ERC165.new();
});
shouldSupportInterfaces([