Migrate ERC1155 tests to ethers v6 (#4771)

Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
Hadrien Croubois
2023-12-21 22:57:39 +01:00
committed by GitHub
parent e70a0118ef
commit be0572a8dc
13 changed files with 847 additions and 995 deletions

View File

@ -5,11 +5,9 @@ const { anyValue } = require('@nomicfoundation/hardhat-chai-matchers/withArgs');
const { shouldSupportInterfaces } = require('../../utils/introspection/SupportsInterface.behavior');
const {
bigint: { Enum },
bigint: { RevertType },
} = require('../../helpers/enums');
const RevertType = Enum('None', 'RevertWithoutMessage', 'RevertWithMessage', 'RevertWithCustomError', 'Panic');
const firstTokenId = 5042n;
const secondTokenId = 79217n;
const nonExistentTokenId = 13n;