Skip to content

Commit 7f05520

Browse files
committed
Update DropERC721, DropERC1155 version
1 parent 2ae2aea commit 7f05520

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

contracts/drop/DropERC1155.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ contract DropERC1155 is
4242
//////////////////////////////////////////////////////////////*/
4343

4444
bytes32 private constant MODULE_TYPE = bytes32("DropERC1155");
45-
uint256 private constant VERSION = 1;
45+
uint256 private constant VERSION = 2;
4646

4747
// Token name
4848
string public name;

contracts/drop/DropERC721.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ contract DropERC721 is
4141
//////////////////////////////////////////////////////////////*/
4242

4343
bytes32 private constant MODULE_TYPE = bytes32("DropERC721");
44-
uint256 private constant VERSION = 1;
44+
uint256 private constant VERSION = 2;
4545

4646
/// @dev Only transfers to or from TRANSFER_ROLE holders are valid, when transfers are restricted.
4747
bytes32 private constant TRANSFER_ROLE = keccak256("TRANSFER_ROLE");

src/test/utils/BaseTest.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ abstract contract BaseTest is DSTest, stdCheats {
9090
TWFactory(factory).addImplementation(address(new TokenERC721(fee)));
9191
TWFactory(factory).addImplementation(address(new TokenERC1155(fee)));
9292
TWFactory(factory).addImplementation(address(new DropERC20(fee)));
93-
//TWFactory(factory).addImplementation(address(new DummyContract(bytes32("DropERC721"), 1)));
93+
TWFactory(factory).addImplementation(address(new DummyContract(bytes32("DropERC721"), 1)));
9494
TWFactory(factory).addImplementation(address(new DropERC721(fee)));
95-
//TWFactory(factory).addImplementation(address(new DummyContract(bytes32("DropERC1155"), 1)));
95+
TWFactory(factory).addImplementation(address(new DummyContract(bytes32("DropERC1155"), 1)));
9696
TWFactory(factory).addImplementation(address(new DropERC1155(fee)));
9797
TWFactory(factory).addImplementation(address(new DummyContract(bytes32("Marketplace"), 1)));
9898
TWFactory(factory).addImplementation(address(new Marketplace(address(weth), fee)));

0 commit comments

Comments
 (0)