substrate
substrate copied to clipboard
Adding CallFilter to pallet-scheduler.
Description
Adding CallFilter to pallet-scheduler.
Motivation
Some calls may not be desirable for deferred execution. This may be due to both the implementation of an undesirable method and business logic.
Behavior
This PR adds call filtering at the pallet level. Filtering occurs when setting a task by frame_support::traits::Contains::contains. If the result is true, then the task will be scheduled, otherwise the error frame_system::Error::CallFiltered is returned.
-- Polkadot companion: https://github.com/paritytech/polkadot/pull/6830
Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions.
The CI pipeline was cancelled due to failure one of the required jobs. Job name: test-linux-stable Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2768210
Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions.