-
Notifications
You must be signed in to change notification settings - Fork 775
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
pallet-xcm: add support to authorize aliases #6336
base: master
Are you sure you want to change the base?
Conversation
ec00d1f
to
d0111c3
Compare
35170ae
to
0332aca
Compare
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.
lgtm, left some small nits/questions
bot bench polkadot-pallet --subcommand=xcm --runtime=westend --pallet=pallet_xcm bot bench cumulus-assets --subcommand=xcm --runtime=asset-hub-westend --pallet=pallet_xcm |
…stend --target_dir=polkadot --pallet=pallet_xcm
…coco --target_dir=polkadot --pallet=pallet_xcm
…set-hub-westend --runtime_dir=assets --target_dir=cumulus --pallet=pallet_xcm
…set-hub-rococo --runtime_dir=assets --target_dir=cumulus --pallet=pallet_xcm
bot clean |
converted to draft, still pending work:
|
Add calls to pallet-xcm for adding and removing authorization for a certain
aliaser
location to alias into the callerorigin
.pallet-xcm
also exposes anAuthorizedAliases
filter implementation usable withxcm_executor::Config::Aliasers
filter to easily allow runtimes to plug in the explicitly authorized aliases using the calls above.Usually useful to allow your local account to be aliased into from a remote location also under your control (like your account on another chain).
One cool example is
Alice
onPara42
doing something on Asset Hub without having to transfer fees fromPara42
, but instead use her local Asset Hub account:Part of Empowered cross-chain origins.
Fixes XCM: Arbitrary Origin Aliases #722