difftreelog
Revert "fix: reserved field 0 in collection helpers"
in: master
This reverts commit 667f3fe0fb1cf4b03bff7a51a3438667ccde255a.
2 files changed
js-packages/tests/eth/api/CollectionHelpers.soldiffbeforeafterboth132type CollectionFlags is uint8;132type CollectionFlags is uint8;133133134library CollectionFlagsLib {134library CollectionFlagsLib {135 /// Tokens in foreign collections can be transferred, but not burnt135 CollectionFlags constant reservedField0 = CollectionFlags.wrap(128);136 CollectionFlags constant foreignField = CollectionFlags.wrap(128);136 /// Supports ERC721Metadata137 /// Supports ERC721Metadata137 CollectionFlags constant erc721metadataField = CollectionFlags.wrap(64);138 CollectionFlags constant erc721metadataField = CollectionFlags.wrap(64);138 /// External collections can't be managed using `unique` api139 /// External collections can't be managed using `unique` apipallets/unique/src/eth/stubs/CollectionHelpers.soldiffbeforeafterboth--- a/pallets/unique/src/eth/stubs/CollectionHelpers.sol
+++ b/pallets/unique/src/eth/stubs/CollectionHelpers.sol
@@ -199,7 +199,8 @@
type CollectionFlags is uint8;
library CollectionFlagsLib {
- CollectionFlags constant reservedField0 = CollectionFlags.wrap(128);
+ /// Tokens in foreign collections can be transferred, but not burnt
+ CollectionFlags constant foreignField = CollectionFlags.wrap(128);
/// Supports ERC721Metadata
CollectionFlags constant erc721metadataField = CollectionFlags.wrap(64);
/// External collections can't be managed using `unique` api