From 4861c0ae0c3ccd6967a7bf7a82a4864be89bd785 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Wed, 18 Sep 2024 12:57:59 +0200 Subject: [PATCH] Exclude OpenGov from CallFilter --- runtime/basilisk/src/system.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/runtime/basilisk/src/system.rs b/runtime/basilisk/src/system.rs index 411cd63e14..2869bec15f 100644 --- a/runtime/basilisk/src/system.rs +++ b/runtime/basilisk/src/system.rs @@ -60,7 +60,14 @@ impl Contains for BaseFilter { fn contains(call: &RuntimeCall) -> bool { if matches!( call, - RuntimeCall::System(_) | RuntimeCall::Timestamp(_) | RuntimeCall::ParachainSystem(_) + RuntimeCall::System(_) + | RuntimeCall::ConvictionVoting(_) + | RuntimeCall::Timestamp(_) + | RuntimeCall::ParachainSystem(_) + | RuntimeCall::Preimage(_) + | RuntimeCall::Referenda(_) + | RuntimeCall::TransactionPause(_) + | RuntimeCall::Whitelist(_) ) { // always allow // Note: this is done to avoid unnecessary check of paused storage.