Skip to content
Prev Previous commit
Next Next commit
Update comments in contracts/proxy/utils/UUPSUpgradeable.sol
Co-authored-by: Ernesto García <[email protected]>
  • Loading branch information
allwin199 and ernestognw authored Jul 26, 2023
commit d5b95f24e581c46b7996060e6038ad0f471ad353
5 changes: 3 additions & 2 deletions contracts/proxy/utils/UUPSUpgradeable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ abstract contract UUPSUpgradeable is IERC1822Proxiable {
}

/**
* @dev Throws if the execution is not being performed through a delegatecall call
* Throws if not called through an active proxy
* @dev Reverts if the execution is not performed via delegatecall or the execution
* context is not of a proxy with an ERC1967-compliant implementation pointing to self.
* See {_onlyProxy}.
*/
function _checkProxy() internal view virtual {
if (
Expand Down