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
422 B
13 lines
422 B
const shouldBehaveLikeProxy = require('../Proxy.behaviour');
|
|
|
|
const ERC1967Proxy = artifacts.require('ERC1967Proxy');
|
|
|
|
contract('ERC1967Proxy', function (accounts) {
|
|
const [proxyAdminOwner] = accounts;
|
|
|
|
const createProxy = async function (implementation, _admin, initData, opts) {
|
|
return ERC1967Proxy.new(implementation, initData, opts);
|
|
};
|
|
|
|
shouldBehaveLikeProxy(createProxy, undefined, proxyAdminOwner);
|
|
});
|
|
|