-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Description
Currently NEP-11 only restricts the type of tokenId in that it should be a ByteString, but ByteString can be up to MaxItemSize bytes long which is 1M at the moment. Then NEP-11 tracker (neo-project/neo-modules#671) will create 1M+ long key and store it in the DB. It should work, but likely it'll be quite slow and clients might have issues displaying these long IDs.
The proposal is to set some limit for valid NEP-11 IDs (like MaxStorageKeySize that is 64 bytes at the moment) which will allow clients (and NEP-11 tracker) to ignore invalid ones.
AnnaShaleva, fyrchik, shargon, Ashuaidehao, vncoelho and 2 more
Metadata
Metadata
Assignees
Labels
No labels