Skip to content

Add specification regarding batches to TZIP-12/FA2

Michael J Klein requested to merge tzip-12-speify-batch-duplicates into master

What to do in the case of duplicate entries in a batch is underspecified.

Consider getting token metadata. Reasonable behaviors include:

  • Failing on duplicates, especially in the case of a single token
  • Return metadata for all duplicates
  • Silently deduplicate

While it's unlikely that a user interacting with tezos-client or a wallet will submit duplicates, contracts that use the metadata are more likely to. For example, consider a contract that performs assertions on the metadata for each _.

Merge request reports