generated from bmresearch/solnet-programs-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
{"Specified argument was out of the range of valid values. (Parameter 'offset')"} exception in ParseData.
Reproduce
Create nft without creators but with primarySaleHappened.
Why
(binData.GetU16(MetadataAccountLayout.creatorsOffset) gives 256
MetadataAccountLayoutcreatorsOffset must be321, not322creatorsis optional field.
Also, next fields missing
- primarySaleHappened (not set)
- isMutable (not set)
- editionNonce (not set)
- tokenStandard
- collection
- uses
P.S.
Current used manual deserializing is so bad, better use schema (like here), possible also code generator.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working