-
Notifications
You must be signed in to change notification settings - Fork 1.2k
XCM NFT types that use Granular NFT traits #4300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
franciscoaguirre
merged 99 commits into
paritytech:master
from
UniqueNetwork:feature/asset-ops-traits
Aug 7, 2025
Merged
Changes from all commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
e7003fd
feat(frame-support): add asset ops
mrshiposha 6c6cf4b
feat(pallet-uniques): implement asset ops
mrshiposha a2099c0
feat(xcm): add unique instances adapters using asset ops
mrshiposha 3f7c3a2
feat(rococo,westend): use xcm unique instances adapter
mrshiposha 21323ff
Merge branch 'master' into feature/asset-ops-traits
mrshiposha 2db1903
Merge branch 'master' into feature/asset-ops-traits
mrshiposha 0016ec2
refactor: asset-ops related stuff, add Stash+Restore ops
mrshiposha 17f54ab
refactor: unique instances XCM stuff
mrshiposha a725bbd
fix: add derives to NonFungibleAsset
mrshiposha b4893df
chore: remove unneeded
mrshiposha 105ebfa
feat: add derives to id assignments
mrshiposha 379d6cd
refactor(asset-ops): lifetimes in common strategies
mrshiposha d28ad75
refactor: xcm unique-instances derivatives traits
mrshiposha c45c7ca
refactor: id assignment
mrshiposha a5b1b1c
fix: remove unneeded imports
mrshiposha be99d8e
feat: add pallet-xnft
mrshiposha ae08d7e
Merge branch 'master' into feature/asset-ops-traits
mrshiposha 6e06663
fix(xcm-builder): remove unneeded uses, add mod doc comment
mrshiposha aa2f827
fix(asset-ops): doc comment
mrshiposha 79cae0a
fix: add pallet-xnft to workspace
mrshiposha 4c7a0ca
fix: add Success type to all strategies
mrshiposha 4585528
chore: cargo fmt
mrshiposha 5324c5b
fix: impl StashStrategy,RestoreStrategy for WithOrigin
mrshiposha 8f94c1d
fix: CI errors
mrshiposha 23c36be
fix: remove unused imports
mrshiposha 845149a
fix: clippy
mrshiposha f7e2c3e
fix: clippy
mrshiposha ce0b2e3
Merge branch 'master' into feature/asset-ops-traits
mrshiposha d30a218
Merge branch 'master' into feature/asset-ops-traits
mrshiposha d870d91
fix: cargo fmt, remove unneeded use
mrshiposha 1a50904
fix: umbrella crate
mrshiposha cd24f76
refactor: replace pallet-xnft with pallet-derivatives
mrshiposha c1ff41e
refactor: simplify unique instances derivatives types
mrshiposha 7bfb0fd
refactor: remove RegisterOnCreate/DeregisterOnDestroy
mrshiposha 1b90a48
refactor: use result type in all registry's methods
mrshiposha 15c0c53
feat: add AssetIdOf
mrshiposha a7e1809
refactor: use options to get original/derivative
mrshiposha a71ecad
feat: add IterDerivativesRegistry
mrshiposha df878fd
fix: remove unneeded imports
mrshiposha c45b442
refactor: remove AssetKind notion
mrshiposha 44a2366
refactor: remove AssetKind notion from xcm adapters
mrshiposha 1f050ea
fix: fmt uniques asset-ops
mrshiposha 53c24d9
fix: fmt unique-instances xcm adapter
mrshiposha 80385b9
refactor: derivatives traits and pallet
mrshiposha f47c741
fix: add derives for common create strategies
mrshiposha 90c9fd9
refactor(pallet-derivatives): split derivative ops
mrshiposha 0028956
chore: remove traits already added to master
mrshiposha d3c403e
fix: make adapters the most recent asset-ops version
mrshiposha 5734cec
Merge branch 'master' into feature/asset-ops-traits
mrshiposha 18668d2
fix: minor fix after merge
mrshiposha d31ccca
refactor and add docs
mrshiposha 61cad9a
feat: make DeriveAndReportId a create strategy
mrshiposha 105fdc1
feat: asset-ops utils
mrshiposha b561a22
feat: add FallibleConvert
mrshiposha 20a4219
test: pallet-derivatives mock and tests
mrshiposha ade84f0
chore: cargo fmt
mrshiposha 15e8076
fix benchmarks, use separate ensureorigins for create,destroy
mrshiposha aca340c
Update polkadot/xcm/pallet-derivatives/src/lib.rs
mrshiposha 5ee9516
Update polkadot/xcm/pallet-derivatives/src/lib.rs
mrshiposha cd4df12
fixes after review
mrshiposha b1790c0
Cleaning ExtractAssetId and ops.rs - part1
bkontur 80f001b
Rename UniqueInstancesOps -> CombinedAssetOps
bkontur 3c01221
Move `CombinedAssetOps` to the support common_strategies.rs
bkontur 015a3a7
Rename `UniqueInstancesWithStashAccount` to `StashAccountAssetOps`
bkontur cff4008
Move `StashAccountAssetOps` to the common_strategies.rs
bkontur 2a88bb4
Renamed AlwaysErrOps to DisabledOps
bkontur de9c35b
Move DeriveStrategyThenCreate
bkontur 6a720f3
More moving stuff
bkontur 01695ad
Remove FallibleConvert / AsFallibleConvert
bkontur 574e7e6
Update substrate/frame/derivatives/src/mock/mod.rs
mrshiposha c6165d1
Update substrate/frame/derivatives/src/mock/mod.rs
mrshiposha 7c2a726
Merge pull request #14 from bkontur/bko-on-asset-ops-traits
mrshiposha 646f660
Merge branch 'master' into feature/asset-ops-traits
mrshiposha 91672f5
fix: pallet-derivative tests after master merge
mrshiposha 7de250d
fix: Cargo.lock after master merge
mrshiposha 2a6f3dc
chore: cargo fmt
mrshiposha f12605b
Update substrate/frame/derivatives/src/mock/auto_id_nfts.rs
mrshiposha 8e12f0e
Update substrate/frame/derivatives/src/tests.rs
mrshiposha 56c04fb
Update cumulus/parachains/runtimes/assets/asset-hub-westend/src/xcm_c…
mrshiposha 7911193
Update substrate/frame/derivatives/src/tests.rs
mrshiposha 3023097
Update substrate/frame/derivatives/Cargo.toml
mrshiposha 044b106
Update substrate/frame/derivatives/Cargo.toml
mrshiposha 172dfef
Update substrate/frame/derivatives/src/tests.rs
mrshiposha ba56065
Update substrate/frame/derivatives/Cargo.toml
mrshiposha 9a893e1
Fix zepter/taplo
bkontur 0504de5
chore: add prdoc
mrshiposha 28dc3c4
Merge pull request #15 from bkontur/bko-on-asset-ops-traits
mrshiposha bc7d984
fix(pallet-derivatives): markdownlint
mrshiposha c22e07b
fix(pallet-derivatives): docs
mrshiposha 2987a63
chore: cargo fmt
mrshiposha 49c7397
Merge branch 'master' into feature/asset-ops-traits
mrshiposha d87c1bb
chore: cargo fmt
mrshiposha 043bc69
fix: apply umbrella patch
mrshiposha 3657ede
Merge branch 'master' into feature/asset-ops-traits
mrshiposha c9d5cbf
doc: add convention comment
mrshiposha 145475f
test(asset-hub-westend): new NFT adapter works as the old one for res…
mrshiposha e4a69dd
Merge branch 'master' into feature/asset-ops-traits
mrshiposha fc137c3
fix: pallet-uniques tests
mrshiposha 4c69a1f
Merge branch 'master' into feature/asset-ops-traits
mrshiposha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a breaking change? Is the behavior different than before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 you added tests to check the behavior is the same