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

Fix NFTs pallet's integration issues #13056

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

jsidorenko
Copy link
Contributor

During the integration of the nfts pallet with the upcoming nft-fractionalization pallet here: #13008, I've noticed a few missing things:

  1. it was not possible to set the CollectionConfig fields as they were private (the same applies to the MintSettings)
  2. in order to mock the nfts pallet, I needed to use: pallet_nfts::runtime_benchmarks_enabled! { type Helper = (); } which required adding that line into the lib.rs: sp_core::generate_feature_enabled_macro!(runtime_benchmarks_enabled, feature = "runtime-benchmarks", $);

@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. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Jan 3, 2023
@jsidorenko
Copy link
Contributor Author

bot merge

@paritytech-processbot paritytech-processbot bot merged commit 18ead61 into master Jan 4, 2023
@paritytech-processbot paritytech-processbot bot deleted the js/fix-nfts-integration branch January 4, 2023 08:30
ltfschoen pushed a commit to ltfschoen/substrate that referenced this pull request Feb 22, 2023
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
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. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants