From 3fd8126b0bdd62d90574e3559c4bb8b9020601d6 Mon Sep 17 00:00:00 2001 From: Goran Vladika Date: Thu, 25 Jan 2024 14:28:45 +0100 Subject: [PATCH] Pre-fund gateway --- test-foundry/L1ERC20Gateway.t.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test-foundry/L1ERC20Gateway.t.sol b/test-foundry/L1ERC20Gateway.t.sol index 8cad9c626..6602f8397 100644 --- a/test-foundry/L1ERC20Gateway.t.sol +++ b/test-foundry/L1ERC20Gateway.t.sol @@ -31,6 +31,10 @@ contract L1ERC20GatewayTest is L1ArbitrumExtendedGatewayTest { vm.prank(user); TestERC20(address(token)).mint(); vm.deal(router, 100 ether); + + // move some funds to gateway + vm.prank(user); + token.transfer(address(l1Gateway), 100); } /* solhint-disable func-name-mixedcase */