Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions contracts/HubPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}

Expand Down