-
Notifications
You must be signed in to change notification settings - Fork 745
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
[Deprecation] #[pallet:call_index]
should be mandatory except in dev_mode
#180
Comments
Huh, I thought @ggwpez made a PR that makes |
It currently outputs a warning and that is a valid migration path. |
I would wait at least 6 months for that breaking change. And it could be a good candidate for trying #182 Current behaviour when no |
This one is the one that i actually meant: paritytech/substrate#12894. It added a "deprecate" warning if there is no |
#[pallet:call_index]
should be mandatory except in dev_mode
#[pallet:call_index]
should be mandatory except in dev_mode
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Motivation
paritytech/substrate#11381 introduced call_index. However, it is still possible to create production pallets without specifying it.
Request
The expectation would be to make call_index mandatory in production.
dev_mode
can relax this requirement to support easy onboarding.Solution
No response
Are you willing to help with this request?
Yes!
The text was updated successfully, but these errors were encountered: