From 487c97616be300719f9bba2858defa302149a5ae Mon Sep 17 00:00:00 2001 From: Dino Pacandi Date: Wed, 20 Mar 2024 15:52:25 +0100 Subject: [PATCH] Enable xcm wasm smart contract calls --- runtime/shiden/src/xcm_config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/shiden/src/xcm_config.rs b/runtime/shiden/src/xcm_config.rs index 0a3cef6df4..d007a0f5e4 100644 --- a/runtime/shiden/src/xcm_config.rs +++ b/runtime/shiden/src/xcm_config.rs @@ -154,12 +154,12 @@ match_types! { pub struct SafeCallFilter; impl SafeCallFilter { // 1. RuntimeCall::EVM(..) & RuntimeCall::Ethereum(..) have to be prohibited since we cannot measure PoV size properly - // 2. RuntimeCall::Contracts(..) can be allowed, but it hasn't been tested properly yet. /// Checks whether the base (non-composite) call is allowed to be executed via `Transact` XCM instruction. pub fn allow_base_call(call: &RuntimeCall) -> bool { match call { RuntimeCall::System(..) + | RuntimeCall::Contracts(..) | RuntimeCall::Identity(..) | RuntimeCall::Balances(..) | RuntimeCall::Vesting(..)