Skip to content

Commit

Permalink
Update test/L1TokenBridge.t.sol
Browse files Browse the repository at this point in the history
Co-authored-by: sunbreak1211 <[email protected]>
  • Loading branch information
telome and sunbreak1211 authored Aug 20, 2024
1 parent a2b29e2 commit 9d82c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/L1TokenBridge.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9d82c7c

Please sign in to comment.