Use allow-reachable delegatecall in Multicall (#3970)

This commit is contained in:
Francisco
2023-01-18 18:07:13 -03:00
committed by GitHub
parent 74b8ae9372
commit f81e5f51c1

View File

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