Prepare tests for hardhat-exposed transition (#3930)
Co-authored-by: Francisco <frangio.1@gmail.com>
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
const { BN } = require('@openzeppelin/test-helpers');
|
||||
|
||||
function Enum (...options) {
|
||||
return Object.fromEntries(options.map((key, i) => [ key, new BN(i) ]));
|
||||
return Object.fromEntries(options.map((key, i) => [ key, web3.utils.toBN(i) ]));
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user