瀏覽代碼

Improve documentation in UUPSUpgradeable (#3606)

Hadrien Croubois 3 年之前
父節點
當前提交
ca6f95a7da
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contracts/proxy/utils/UUPSUpgradeable.sol

+ 1 - 1
contracts/proxy/utils/UUPSUpgradeable.sol

@@ -46,7 +46,7 @@ abstract contract UUPSUpgradeable is IERC1822Proxiable, ERC1967Upgrade {
 
     /**
      * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the
-     * implementation. It is used to validate that the this implementation remains valid after an upgrade.
+     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.
      *
      * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
      * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this