diff --git a/protocol/contracts/tokens/Fertilizer/Fertilizer1155.sol b/protocol/contracts/tokens/Fertilizer/Fertilizer1155.sol index a76a386ce..e5c303e70 100644 --- a/protocol/contracts/tokens/Fertilizer/Fertilizer1155.sol +++ b/protocol/contracts/tokens/Fertilizer/Fertilizer1155.sol @@ -88,7 +88,12 @@ contract Fertilizer1155 is ERC1155Upgradeable { __doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } - function _safeBurn(address from, uint256 id, uint256 amount, bytes memory data) internal virtual { + function _safeBurn( + address from, + uint256 id, + uint256 amount, + bytes memory data + ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); diff --git a/protocol/test/foundry/sun/Flood.t.sol b/protocol/test/foundry/sun/Flood.t.sol index 3ba9a1f5a..e053ecee3 100644 --- a/protocol/test/foundry/sun/Flood.t.sol +++ b/protocol/test/foundry/sun/Flood.t.sol @@ -496,7 +496,6 @@ contract FloodTest is TestHelper { uint256 userPlenty = bs.balanceOfPlenty(users[1], sopWell); assertEq(userPlenty, 38544532214605630101); - // tracks user plenty after update bs.mow(users[1], sopWell); SiloGettersFacet.AccountSeasonOfPlenty memory userSop = siloGetters.balanceOfSop(users[1]); diff --git a/protocol/test/foundry/utils/LibAltC.sol b/protocol/test/foundry/utils/LibAltC.sol index a8e3fd40d..114160d10 100644 --- a/protocol/test/foundry/utils/LibAltC.sol +++ b/protocol/test/foundry/utils/LibAltC.sol @@ -8,7 +8,6 @@ pragma solidity ^0.8.20; * Only contains address constants that diverge from actual Beanstalk. */ library LibAltC { - address constant BEANSTALK = 0x00F84c1cF4Ca7fa8A8b0Dc923DA91ACA148B865C; address internal constant BEAN = 0x006DD9acC7cDf83128C4aDF46847c301f94406ab; @@ -20,5 +19,4 @@ library LibAltC { // address constant PRICE_DEPLOYER = ; // address constant PRICE = ; - }