diff --git a/contracts/HubPool.sol b/contracts/HubPool.sol index 891a6bc4f..d2a8df3a1 100644 --- a/contracts/HubPool.sol +++ b/contracts/HubPool.sol @@ -808,8 +808,12 @@ contract HubPool is HubPoolInterface, Testable, Lockable, MultiCaller, Ownable { } /** - * @notice This function allows a caller to load the contract with raw ETH to perform L2 calls. This is needed for arbitrum - * calls, but may also be needed for others. + * @notice This function allows a caller to load the contract with raw ETH to perform L2 calls. This is needed for + * Arbitrum calls, but may also be needed for others. + * @dev This function cannot be included in a multicall transaction call because it is payable. A realistic + * situation where this might be an issue is if the caller is executing a PoolRebalanceLeaf that needs to relay + * messages to Arbitrum. Relaying messages to Arbitrum requires that this contract has an ETH balance, so in this + * case the caller would need to pre-load this contract with ETH before multicall-executing the leaf. */ function loadEthForL2Calls() public payable override {}