Add a beacon proxy contract (#2411)
Co-authored-by: Santiago Palladino <spalladino@gmail.com>
This commit is contained in:
committed by
GitHub
parent
520bf7ac61
commit
951e946e71
14
contracts/mocks/BadBeacon.sol
Normal file
14
contracts/mocks/BadBeacon.sol
Normal file
@ -0,0 +1,14 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity >=0.6.0 <0.8.0;
|
||||
|
||||
import "../proxy/IBeacon.sol";
|
||||
|
||||
contract BadBeaconNoImpl {
|
||||
}
|
||||
|
||||
contract BadBeaconNotContract is IBeacon {
|
||||
function implementation() external view override returns (address) {
|
||||
return address(0x1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user