rmrk-substrate icon indicating copy to clipboard operation
rmrk-substrate copied to clipboard

Finish `ProducerOrigin` implementation

Open sudipghimire533 opened this issue 2 years ago • 1 comments

  • Bring ProducerOrigin of pallet_rmrk_core::Config into use inside mint_nft, mint_nft_directly_to_nft and create_collection.
  • Default to EnsureSigned to make no logical change into how chain works

sudipghimire533 avatar Jan 17 '23 20:01 sudipghimire533

Can you add some tests for this? I'm still a little unsure on this functionality. If the runtime doesn't add accounts to the T:ProtocolOrigin then anyone can call mint_nft, mint_nft_directly_to_nft and create_collection?

HashWarlock avatar Jan 24 '23 22:01 HashWarlock