[NFTs] create
should emit CollectionMaxSupplySet
when max_supply
has value in config
#2293
Closed
2 tasks done
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
Context
When someone creates an collection with
config.max_supply = 1
.The chain should emit
CollectionMaxSupplySet
same as this functionset_collection_max_supply
polkadot-sdk/substrate/frame/nfts/src/lib.rs
Line 1656 in 604704a
polkadot-sdk/substrate/frame/nfts/src/features/create_delete_collection.rs
Line 67 in 5f4ce80
Expected
I expect that
CollectionMaxSupplySet
should be emitted thenconfig.max_supply
has a value.Steps to reproduce
The text was updated successfully, but these errors were encountered: