Migrate to Hardhat (#2397)

This commit is contained in:
Francisco Giordano
2020-10-28 17:03:05 -03:00
parent a1408a3411
commit 215b653a19
72 changed files with 254 additions and 321 deletions

View File

@ -1,10 +1,8 @@
const { accounts, contract } = require('@openzeppelin/test-environment');
const shouldBehaveLikeUpgradeableProxy = require('./UpgradeableProxy.behaviour');
const UpgradeableProxy = contract.fromArtifact('UpgradeableProxy');
const UpgradeableProxy = artifacts.require('UpgradeableProxy');
describe('UpgradeableProxy', function () {
contract('UpgradeableProxy', function (accounts) {
const [proxyAdminOwner] = accounts;
const createProxy = async function (implementation, _admin, initData, opts) {