فهرست منبع

Use allow-reachable delegatecall in Multicall (#3970)

Francisco 2 سال پیش
والد
کامیت
f81e5f51c1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      contracts/utils/Multicall.sol

+ 1 - 1
contracts/utils/Multicall.sol

@@ -13,8 +13,8 @@ import "./Address.sol";
 abstract contract Multicall {
     /**
      * @dev Receives and executes a batch of function calls on this contract.
+     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
      */
-    /// @custom:oz-upgrades-unsafe-allow delegatecall
     function multicall(bytes[] calldata data) external virtual returns (bytes[] memory results) {
         results = new bytes[](data.length);
         for (uint256 i = 0; i < data.length; i++) {