Skip to content

Commit 95a6e91

Browse files
Krishang NadgaudaKrishang Nadgauda
authored andcommitted
ERC721Drop: remove BOT check test
1 parent 7cc7be3 commit 95a6e91

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

src/test/sdk/base/ERC721Drop.t.sol

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -159,35 +159,6 @@ contract BaseERC721DropTest is BaseUtilTest {
159159
}
160160
}
161161

162-
function test_revert_claim_BOT() public {
163-
vm.warp(1);
164-
165-
address receiver = address(0x123);
166-
address claimer = address(0x345);
167-
string memory _baseURI = "baseURI/";
168-
uint256 _quantity = 10;
169-
170-
bytes32[] memory proofs = new bytes32[](0);
171-
172-
ERC721Drop.AllowlistProof memory alp;
173-
alp.proof = proofs;
174-
175-
ERC721Drop.ClaimCondition[] memory conditions = new ERC721Drop.ClaimCondition[](1);
176-
conditions[0].maxClaimableSupply = 100;
177-
conditions[0].quantityLimitPerWallet = 100;
178-
179-
vm.prank(signer);
180-
base.lazyMint(100, _baseURI, "");
181-
182-
vm.prank(signer);
183-
base.setClaimConditions(conditions[0], false);
184-
185-
bytes memory revertMsg = "BOT";
186-
vm.expectRevert(revertMsg);
187-
vm.prank(claimer);
188-
base.claim(receiver, _quantity, address(0), 0, alp, "");
189-
}
190-
191162
function test_revert_claim_NotEnoughMintedTokens() public {
192163
vm.warp(1);
193164

0 commit comments

Comments
 (0)