paritytech / substrate

Substrate: The platform for blockchain innovators
Apache License 2.0
8.39k stars 2.65k forks source link

[NFTs] Make owned_item in MintWitness optional #14800

Closed jsidorenko closed 1 year ago

jsidorenko commented 1 year ago

In the MintWitness object, all the fields are supposed to be optional. We validate them depending on the collection settings: MintWitness.owned_item when the mint_type = HolderOf and MintWitness.mint_price when the mint price is set.

jsidorenko commented 1 year ago

bot rebase

paritytech-processbot[bot] commented 1 year ago

Rebased

jsidorenko commented 1 year ago

bot merge