From 89b53cbebf0acae7a266d8edcafa2300571b11aa Mon Sep 17 00:00:00 2001 From: dave | d1onys1us <13951458+d1onys1us@users.noreply.github.com> Date: Thu, 2 Feb 2023 17:07:17 -0500 Subject: [PATCH] Update packages/protocol/contracts/bridge/libs/LibBridgeProcess.sol Co-authored-by: Daniel Wang <99078276+dantaik@users.noreply.github.com> --- packages/protocol/contracts/bridge/libs/LibBridgeProcess.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/protocol/contracts/bridge/libs/LibBridgeProcess.sol b/packages/protocol/contracts/bridge/libs/LibBridgeProcess.sol index dbe4b7568f8..3c05174ee06 100644 --- a/packages/protocol/contracts/bridge/libs/LibBridgeProcess.sol +++ b/packages/protocol/contracts/bridge/libs/LibBridgeProcess.sol @@ -77,7 +77,8 @@ library LibBridgeProcess { ); // We retrieve the necessary ether from EtherVault - address ethVault = resolver.resolve("ether_vault", false); + // Note that we deploy an EtherVault on L2, not on L1. + address ethVault = resolver.resolve("ether_vault", true); EtherVault(payable(ethVault)).releaseEther( message.depositValue + message.callValue + message.processingFee );