Skip to content

Commit

Permalink
fix: superchainWETH failing tests (#114) (#12571)
Browse files Browse the repository at this point in the history
  • Loading branch information
agusduha authored Oct 23, 2024
1 parent 8311719 commit 2bbffdc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/contracts-bedrock/test/L2/SuperchainWETH.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ contract SuperchainWETH_Test is CommonTest {
// Check the total supply and balance of `_to` after the mint were updated correctly
assertEq(superchainWeth.totalSupply(), _totalSupplyBefore + _amount);
assertEq(superchainWeth.balanceOf(_to), _toBalanceBefore + _amount);
assertEq(superchainWeth.balanceOf(Predeploys.ETH_LIQUIDITY), 0);
assertEq(address(superchainWeth).balance, _amount);
}

Expand Down Expand Up @@ -207,7 +206,6 @@ contract SuperchainWETH_Test is CommonTest {

// Check the total supply and balance of `_to` after the mint were updated correctly
assertEq(superchainWeth.balanceOf(_to), _toBalanceBefore + _amount);
assertEq(superchainWeth.balanceOf(Predeploys.ETH_LIQUIDITY), 0);
assertEq(superchainWeth.totalSupply(), 0);
assertEq(address(superchainWeth).balance, 0);
}
Expand Down Expand Up @@ -318,10 +316,6 @@ contract SuperchainWETH_Test is CommonTest {
// Act
vm.expectRevert();
superchainWeth.crosschainBurn(_from, _amount + 1);

// Assert
assertEq(_from.balance, 0);
assertEq(superchainWeth.balanceOf(_from), _amount);
}

/// @notice Test that the internal mint function reverts to protect against accidentally changing the visibility.
Expand Down

0 comments on commit 2bbffdc

Please sign in to comment.