Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
7ad9cb90
Commit
7ad9cb90
authored
2 years ago
by
Muharem Ismailov
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
westend xcm: collectives parachain is trusted teleporter (#5798)
parent
b30b7c60
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
polkadot/runtime/westend/src/xcm_config.rs
+8
-2
8 additions, 2 deletions
polkadot/runtime/westend/src/xcm_config.rs
with
8 additions
and
2 deletions
polkadot/runtime/westend/src/xcm_config.rs
+
8
−
2
View file @
7ad9cb90
...
...
@@ -76,14 +76,20 @@ pub type XcmRouter = (
parameter_types!
{
pub
const
Westmint
:
MultiLocation
=
Parachain
(
1000
)
.into
();
pub
const
Encointer
:
MultiLocation
=
Parachain
(
1001
)
.into
();
pub
const
Collectives
:
MultiLocation
=
Parachain
(
1002
)
.into
();
pub
const
WestendForWestmint
:
(
MultiAssetFilter
,
MultiLocation
)
=
(
Wild
(
AllOf
{
fun
:
WildFungible
,
id
:
Concrete
(
WndLocation
::
get
())
}),
Westmint
::
get
());
pub
const
WestendForEncointer
:
(
MultiAssetFilter
,
MultiLocation
)
=
(
Wild
(
AllOf
{
fun
:
WildFungible
,
id
:
Concrete
(
WndLocation
::
get
())
}),
Encointer
::
get
());
pub
const
WestendForCollectives
:
(
MultiAssetFilter
,
MultiLocation
)
=
(
Wild
(
AllOf
{
fun
:
WildFungible
,
id
:
Concrete
(
WndLocation
::
get
())
}),
Collectives
::
get
());
pub
const
MaxInstructions
:
u32
=
100
;
}
pub
type
TrustedTeleporters
=
(
xcm_builder
::
Case
<
WestendForWestmint
>
,
xcm_builder
::
Case
<
WestendForEncointer
>
);
pub
type
TrustedTeleporters
=
(
xcm_builder
::
Case
<
WestendForWestmint
>
,
xcm_builder
::
Case
<
WestendForEncointer
>
,
xcm_builder
::
Case
<
WestendForCollectives
>
,
);
/// The barriers one of which must be passed for an XCM message to be executed.
pub
type
Barrier
=
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment