From 7eae5b2a734a95ff479918522fe6f290747ba7ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vinh=20Qu=E1=BB=91c=20Nguy=E1=BB=85n?= Date: Tue, 12 Dec 2023 12:21:32 -0800 Subject: [PATCH] allow xtokens pallet in ScheduleAllowList (#487) --- runtime/oak/src/lib.rs | 1 + runtime/turing/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/runtime/oak/src/lib.rs b/runtime/oak/src/lib.rs index 89473d69..81d86184 100644 --- a/runtime/oak/src/lib.rs +++ b/runtime/oak/src/lib.rs @@ -885,6 +885,7 @@ impl Contains for ScheduleAllowList { match c { RuntimeCall::System(_) => true, RuntimeCall::Balances(_) => true, + RuntimeCall::XTokens(_) => true, RuntimeCall::ParachainStaking(_) => true, _ => false, } diff --git a/runtime/turing/src/lib.rs b/runtime/turing/src/lib.rs index 23f6a0f5..48b8719e 100644 --- a/runtime/turing/src/lib.rs +++ b/runtime/turing/src/lib.rs @@ -881,6 +881,7 @@ impl Contains for ScheduleAllowList { RuntimeCall::System(_) => true, RuntimeCall::Balances(_) => true, RuntimeCall::ParachainStaking(_) => true, + RuntimeCall::XTokens(_) => true, _ => false, } }