From 07887ea8b2be586f1a323a7eb33537db0515dfcd Mon Sep 17 00:00:00 2001
From: bgallois <benjamin@gallois.cc>
Date: Mon, 30 Sep 2024 21:25:59 +0200
Subject: [PATCH] allow remark with event

---
 runtime/g1/src/lib.rs    | 6 +-----
 runtime/gdev/src/lib.rs  | 6 +-----
 runtime/gtest/src/lib.rs | 6 +-----
 3 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/runtime/g1/src/lib.rs b/runtime/g1/src/lib.rs
index eb14536cb..ce21fbb33 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 e29dad200..fd34a3880 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 1bc5d084a..8d1972f55 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(_))
     }
 }
 
-- 
GitLab