From 48b860124c36d5012ca8eee925458fb0c6c008c0 Mon Sep 17 00:00:00 2001 From: Francisco Date: Mon, 7 Aug 2023 22:29:48 -0300 Subject: [PATCH] Remove outdated warning from ERC2771Forwarder (#4519) --- contracts/metatx/ERC2771Forwarder.sol | 4 ---- 1 file changed, 4 deletions(-) diff --git a/contracts/metatx/ERC2771Forwarder.sol b/contracts/metatx/ERC2771Forwarder.sol index 6f8e000d2..f580f8729 100644 --- a/contracts/metatx/ERC2771Forwarder.sol +++ b/contracts/metatx/ERC2771Forwarder.sol @@ -27,10 +27,6 @@ import {Address} from "../utils/Address.sol"; * transactions in the mempool. In these cases the recommendation is to distribute the load among * multiple accounts. * - * WARNING: Do not approve this contract to spend tokens. Anyone can use this forwarder - * to execute calls with an arbitrary calldata to any address. Any form of approval may - * result in a loss of funds for the approving party. - * * NOTE: Batching requests includes an optional refund for unused `msg.value` that is achieved by * performing a call with empty calldata. While this is within the bounds of ERC-2771 compliance, * if the refund receiver happens to consider the forwarder a trusted forwarder, it MUST properly