Remove runtime check of ERC1967 storage slots (#3455)
This commit is contained in:
@ -28,7 +28,6 @@ contract BeaconProxy is Proxy, ERC1967Upgrade {
|
||||
* - `beacon` must be a contract with the interface {IBeacon}.
|
||||
*/
|
||||
constructor(address beacon, bytes memory data) payable {
|
||||
assert(_BEACON_SLOT == bytes32(uint256(keccak256("eip1967.proxy.beacon")) - 1));
|
||||
_upgradeBeaconToAndCall(beacon, data, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user