Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[NFTs] Add mint price to the witness object on mint and confirm it #14257

Merged
merged 4 commits into from
May 29, 2023

Conversation

jsidorenko
Copy link
Contributor

When the mint price is set, we should require a minter to confirm it inside the MintWitness object

@jsidorenko jsidorenko added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. labels May 29, 2023
@jsidorenko jsidorenko requested a review from a team May 29, 2023 12:27
@jsidorenko jsidorenko requested a review from a team May 29, 2023 13:18
frame/nfts/src/lib.rs Outdated Show resolved Hide resolved
frame/nfts/src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
@jsidorenko
Copy link
Contributor Author

bot merge

@paritytech-processbot paritytech-processbot bot merged commit 5b11f65 into master May 29, 2023
@paritytech-processbot paritytech-processbot bot deleted the js/witness-mint-price branch May 29, 2023 16:59
nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
…aritytech#14257)

* Add mint price to the witness object on mint and confirm it

* Chore

* Put the new error to the bottom

* Update frame/nfts/src/lib.rs

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>

---------

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants