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
6f81a4a0
Unverified
Commit
6f81a4a0
authored
1 year ago
by
Xiliang Chen
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
make SelfParaId a metadata constant (#3517)
expose para id via metadata #2116 is blocked by this
parent
a1b57a8c
Branches
gh-readonly-queue/master/pr-3517-a1b57a8c181bc39b254ff4d6d774f6ff348e509d
Branches containing commit
Pipeline
#450954
passed with stages
in 51 minutes and 17 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cumulus/pallets/parachain-system/src/lib.rs
+1
-0
1 addition, 0 deletions
cumulus/pallets/parachain-system/src/lib.rs
with
1 addition
and
0 deletions
cumulus/pallets/parachain-system/src/lib.rs
+
1
−
0
View file @
6f81a4a0
...
...
@@ -205,6 +205,7 @@ pub mod pallet {
type
OnSystemEvent
:
OnSystemEvent
;
/// Returns the parachain ID we are running with.
#[pallet::constant]
type
SelfParaId
:
Get
<
ParaId
>
;
/// The place where outbound XCMP messages come from. This is queried in `finalize_block`.
...
...
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