You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
470 B
13 lines
470 B
const shouldBehaveLikeUpgradeableProxy = require('./UpgradeableProxy.behaviour');
|
|
|
|
const UpgradeableProxy = artifacts.require('UpgradeableProxy');
|
|
|
|
contract('UpgradeableProxy', function (accounts) {
|
|
const [proxyAdminOwner] = accounts;
|
|
|
|
const createProxy = async function (implementation, _admin, initData, opts) {
|
|
return UpgradeableProxy.new(implementation, initData, opts);
|
|
};
|
|
|
|
shouldBehaveLikeUpgradeableProxy(createProxy, undefined, proxyAdminOwner);
|
|
});
|
|
|