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

Use call_index attribute to fix warning and CI step build-all-benchmarks-packages #3557

Merged
merged 2 commits into from
May 4, 2023

Conversation

RustNinja
Copy link
Collaborator

@RustNinja RustNinja commented May 4, 2023

  • use #[pallet::call_index(0)] for each callable function in pallet
  • it is by recommendation:
 Please ensure that all calls have the `pallet::call_index` attribute or that the
                     `dev-mode` of the pallet is enabled. For more info see:
                     <https://github.com/paritytech/substrate/pull/12891> and
                     <https://github.com/paritytech/substrate/pull/11381>.
  • it will fix CI step build-all-benchmarks-packages

@RustNinja RustNinja added this pull request to the merge queue May 4, 2023
Merged via the queue into ComposableFi:main with commit 9f426fd May 4, 2023
@RustNinja RustNinja deleted the fix-warning-add-call-index branch May 4, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants