Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/contracts-bedrock/test/L2/LiquidityController.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { stdStorage, StdStorage } from "forge-std/Test.sol";

// Libraries
import { Features } from "src/libraries/Features.sol";
import { Predeploys } from "src/libraries/Predeploys.sol";

// Contracts
import { LiquidityController } from "src/L2/LiquidityController.sol";
Expand Down Expand Up @@ -215,6 +216,8 @@ contract LiquidityController_Mint_Test is LiquidityController_TestInit {
contract LiquidityController_Burn_Test is LiquidityController_TestInit {
/// @notice Tests that the burn function can be called by an authorized minter.
function testFuzz_burn_fromAuthorizedMinter_succeeds(uint256 _amount, address _minter) public {
vm.assume(_minter != Predeploys.NATIVE_ASSET_LIQUIDITY);

_authorizeMinter(_minter);
_amount = bound(_amount, 0, address(nativeAssetLiquidity).balance);

Expand Down
Loading