#[pallet::call]
doesn't handle feature gates correctly
#2646
Labels
I2-bug
The node fails to follow expected behavior.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
The current macro expansion for
#[pallet::call]
doesn't handle the feature gates correctly, causing an error.Steps to reproduce
For example, while trying to feature gate
do_task
in #1343 like so:the generated call enum still has
do_task
without the respective feature gate.The text was updated successfully, but these errors were encountered: