--- a/pallets/scheduler/src/lib.rs +++ b/pallets/scheduler/src/lib.rs @@ -870,8 +870,8 @@ // Scheduler must dispatch with root and no filter, this tests base filter is indeed not used. pub struct BaseFilter; - impl Filter for BaseFilter { - fn filter(call: &Call) -> bool { + impl Contains for BaseFilter { + fn contains(call: &Call) -> bool { !matches!(call, Call::Logger(logger::Call::log(_, _))) } }