difftreelog
fix reserved field 0 in collection helpers
in: master
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 burnt136 CollectionFlags constant foreignField = CollectionFlags.wrap(128);135 CollectionFlags constant reservedField0 = CollectionFlags.wrap(128);137 /// Supports ERC721Metadata136 /// Supports ERC721Metadata138 CollectionFlags constant erc721metadataField = CollectionFlags.wrap(64);137 CollectionFlags constant erc721metadataField = CollectionFlags.wrap(64);139 /// External collections can't be managed using `unique` api138 /// 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,8 +199,7 @@
type CollectionFlags is uint8;
library CollectionFlagsLib {
- /// Tokens in foreign collections can be transferred, but not burnt
- CollectionFlags constant foreignField = CollectionFlags.wrap(128);
+ CollectionFlags constant reservedField0 = CollectionFlags.wrap(128);
/// Supports ERC721Metadata
CollectionFlags constant erc721metadataField = CollectionFlags.wrap(64);
/// External collections can't be managed using `unique` api