diff --git a/test/L1TokenBridge.t.sol b/test/L1TokenBridge.t.sol index 8f811d5..9ebf688 100644 --- a/test/L1TokenBridge.t.sol +++ b/test/L1TokenBridge.t.sol @@ -133,7 +133,7 @@ contract L1TokenBridgeTest is DssTest { vm.expectRevert("L1TokenBridge/invalid-token"); vm.prank(address(0xe0a)); bridge.bridgeERC20(address(0xbad), address(0), 100 ether, 1_000_000, ""); - uint256 eoaBefore = l1Token.balanceOf(address(this)); + uint256 eoaBefore = l1Token.balanceOf(address(0xe0a)); vm.prank(address(0xe0a)); l1Token.approve(address(bridge), type(uint256).max); vm.expectEmit(true, true, true, true);