-
Notifications
You must be signed in to change notification settings - Fork 379
Make System Parachains trusted Teleporters #2842
base: master
Are you sure you want to change the base?
Conversation
bot fmt |
@NachoPal https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/3149633 was started for your command Comment |
@NachoPal Command |
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.
Overall looks good. A few questions. Given the sensitivity of Teleporter
, would definitely like some review from @KiChjang
parachains/integration-tests/emulated/assets/asset-hub-kusama/src/lib.rs
Outdated
Show resolved
Hide resolved
@NachoPal Command |
parachains/runtimes/assets/asset-hub-polkadot/src/xcm_config.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
…tytech/cumulus into nacho/make-system-paras-teleporters
bot fmt |
@NachoPal https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/3368180 was started for your command Comment |
@NachoPal Command |
…tytech/cumulus into nacho/make-system-paras-teleporters
/// - teleportation of sibling parachain's assets (as ForeignCreators). | ||
pub type TrustedTeleporters = ( | ||
NativeAsset, | ||
IsForeignConcreteAsset<FromSiblingParachain<parachain_info::Pallet<Runtime>>>, |
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.
This is a bit silly, couldn't we just have IsSiblingParachainAsset
and call it a day? The code for IsForeignConcreteAsset
mostly delegates to the IsForeign
type parameter anyway.
parachains/runtimes/assets/asset-hub-polkadot/src/xcm_config.rs
Outdated
Show resolved
Hide resolved
bot rebase |
Rebased |
Make System Parachain trusted Teleporters of each other.
System Parachains should be able to teleport their native asset between them.