Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Wolf <[email protected]>
  • Loading branch information
wolfy-nft committed Dec 16, 2024
1 parent 617ed7c commit beff71f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
1 change: 0 additions & 1 deletion contracts/nft/erc721m/ERC721CMInitializableV1_0_1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,6 @@ contract ERC721CMInitializableV1_0_1 is
virtual
override
{

bool fromZeroAddress = from == address(0);
bool toZeroAddress = to == address(0);

Expand Down
18 changes: 2 additions & 16 deletions test/erc1155m/ERC1155MInitializableTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,15 @@ contract ERC1155MInitializableTest is Test {
initialStages = new MintStageInfo1155[](0);

nft.setup(
"base_uri_",
maxMintableSupply,
globalWalletLimit,
address(0),
fundReceiver,
initialStages,
address(this),
0
"base_uri_", maxMintableSupply, globalWalletLimit, address(0), fundReceiver, initialStages, address(this), 0
);
}

function testSetupLockedRevert() public {
vm.startPrank(owner);
vm.expectRevert(ErrorsAndEvents.ContractAlreadySetup.selector);
nft.setup(
"base_uri_",
maxMintableSupply,
globalWalletLimit,
address(0),
fundReceiver,
initialStages,
address(this),
0
"base_uri_", maxMintableSupply, globalWalletLimit, address(0), fundReceiver, initialStages, address(this), 0
);

assertEq(nft.isSetupLocked(), true);
Expand Down

0 comments on commit beff71f

Please sign in to comment.