difftreelog
test upgrade filter api
in: master
1 file changed
pallets/scheduler/src/lib.rsdiffbeforeafterboth870870871 // Scheduler must dispatch with root and no filter, this tests base filter is indeed not used.871 // Scheduler must dispatch with root and no filter, this tests base filter is indeed not used.872 pub struct BaseFilter;872 pub struct BaseFilter;873 impl Filter<Call> for BaseFilter {873 impl Contains<Call> for BaseFilter {874 fn filter(call: &Call) -> bool {874 fn contains(call: &Call) -> bool {875 !matches!(call, Call::Logger(logger::Call::log(_, _)))875 !matches!(call, Call::Logger(logger::Call::log(_, _)))876 }876 }877 }877 }