diff --git a/runtime/g1/src/lib.rs b/runtime/g1/src/lib.rs index eb14536cb53afe53321449c3a479cdbaefe2ac62..ce21fbb331d071b467b750093bab21a9fdc43765 100644 --- a/runtime/g1/src/lib.rs +++ b/runtime/g1/src/lib.rs @@ -174,11 +174,7 @@ mod benches { pub struct BaseCallFilter; impl Contains<RuntimeCall> for BaseCallFilter { fn contains(call: &RuntimeCall) -> bool { - !matches!( - call, - RuntimeCall::System(frame_system::Call::remark_with_event { .. }) - | RuntimeCall::Session(_) - ) + !matches!(call, RuntimeCall::Session(_)) } } diff --git a/runtime/gdev/src/lib.rs b/runtime/gdev/src/lib.rs index e29dad200de83fd04045612195b9133d7b52beb0..fd34a3880d27f6ce0a346395582c55882b7a55a3 100644 --- a/runtime/gdev/src/lib.rs +++ b/runtime/gdev/src/lib.rs @@ -176,11 +176,7 @@ mod benches { pub struct BaseCallFilter; impl Contains<RuntimeCall> for BaseCallFilter { fn contains(call: &RuntimeCall) -> bool { - !matches!( - call, - RuntimeCall::System(frame_system::Call::remark_with_event { .. }) - | RuntimeCall::Session(_) - ) + !matches!(call, RuntimeCall::Session(_)) } } diff --git a/runtime/gtest/src/lib.rs b/runtime/gtest/src/lib.rs index 1bc5d084ac2a291c71884f7f37d1a459054aed51..8d1972f55298f6033bfa79454f51164322197fcb 100644 --- a/runtime/gtest/src/lib.rs +++ b/runtime/gtest/src/lib.rs @@ -174,11 +174,7 @@ mod benches { pub struct BaseCallFilter; impl Contains<RuntimeCall> for BaseCallFilter { fn contains(call: &RuntimeCall) -> bool { - !matches!( - call, - RuntimeCall::System(frame_system::Call::remark_with_event { .. }) - | RuntimeCall::Session(_) - ) + !matches!(call, RuntimeCall::Session(_)) } }