소스 검색

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++) {