Implement UUPS proxy (ERC1822) (#2542)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
@ -25,7 +25,7 @@ contract('BeaconProxy', function (accounts) {
|
||||
it('non-contract beacon', async function () {
|
||||
await expectRevert(
|
||||
BeaconProxy.new(anotherAccount, '0x'),
|
||||
'BeaconProxy: beacon is not a contract',
|
||||
'ERC1967: new beacon is not a contract',
|
||||
);
|
||||
});
|
||||
|
||||
@ -40,7 +40,7 @@ contract('BeaconProxy', function (accounts) {
|
||||
const beacon = await BadBeaconNotContract.new();
|
||||
await expectRevert(
|
||||
BeaconProxy.new(beacon.address, '0x'),
|
||||
'BeaconProxy: beacon implementation is not a contract',
|
||||
'ERC1967: beacon implementation is not a contract',
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user