Skip to content
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

CRV2: Missing pallet index causes misleading error message #4552

Closed
kianenigma opened this issue May 23, 2024 · 0 comments · Fixed by #4643
Closed

CRV2: Missing pallet index causes misleading error message #4552

kianenigma opened this issue May 23, 2024 · 0 comments · Fixed by #4643
Assignees

Comments

@kianenigma
Copy link
Contributor

When I removed all pallet indices in mod runtime to see if it is supported or not, I get:

error: `System` pallet declaration is missing. Please add this line: `pub type System = frame_system;`
    --> /home/kian/remote-builds/polkadot-sdk_minimal-template/runtime/src/lib.rs:96:5
     |
  96 | mod runtime {
     |     ^^^^^^^

I think it is a good choice to no longer support implicit indices, but the error message should be improve.

github-merge-queue bot pushed a commit that referenced this issue Jun 2, 2024
Fixes #4552

---------

Co-authored-by: command-bot <>
Co-authored-by: Bastian Köcher <[email protected]>
hitchhooker pushed a commit to ibp-network/polkadot-sdk that referenced this issue Jun 5, 2024
Fixes paritytech#4552

---------

Co-authored-by: command-bot <>
Co-authored-by: Bastian Köcher <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants