From f81e5f51c17746f08d3287473acebf9e0f1f7020 Mon Sep 17 00:00:00 2001 From: Francisco Date: Wed, 18 Jan 2023 18:07:13 -0300 Subject: [PATCH] Use allow-reachable delegatecall in Multicall (#3970) --- contracts/utils/Multicall.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/utils/Multicall.sol b/contracts/utils/Multicall.sol index f79af0906..7470c5595 100644 --- a/contracts/utils/Multicall.sol +++ b/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++) {