Skip to content

Conversation

@RustNinja
Copy link
Contributor

@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