File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 541
541
</ span > < span class ="kw "> pub struct </ span > SafeCallFilter;
542
542
< span class ="kw "> impl </ span > SafeCallFilter {
543
543
< span class ="comment "> // 1. RuntimeCall::EVM(..) & RuntimeCall::Ethereum(..) have to be prohibited since we cannot measure PoV size properly
544
- // 2. RuntimeCall::Contracts(..) can be allowed, but it hasn't been tested properly yet.
545
544
546
545
</ span > < span class ="doccomment "> /// Checks whether the base (non-composite) call is allowed to be executed via `Transact` XCM instruction.
547
546
</ span > < span class ="kw "> pub fn </ span > allow_base_call(call: < span class ="kw-2 "> &</ span > RuntimeCall) -> bool {
548
547
< span class ="kw "> match </ span > call {
549
548
RuntimeCall::System(..)
549
+ | RuntimeCall::Contracts(..)
550
550
| RuntimeCall::Identity(..)
551
551
| RuntimeCall::Balances(..)
552
552
| RuntimeCall::Vesting(..)
You can’t perform that action at this time.
0 commit comments