[Fix] Allow force_xcm_version call for assets parachains (#2276)

This commit is contained in:
Roman Useinov
2023-03-06 19:41:53 +01:00
committed by GitHub
parent 0a6c99882e
commit 38831d6581
3 changed files with 3 additions and 0 deletions
@@ -171,6 +171,7 @@ impl Contains<RuntimeCall> for SafeCallFilter {
}
match call {
RuntimeCall::PolkadotXcm(pallet_xcm::Call::force_xcm_version { .. }) |
RuntimeCall::System(
frame_system::Call::set_heap_pages { .. } |
frame_system::Call::set_code { .. } |
@@ -171,6 +171,7 @@ impl Contains<RuntimeCall> for SafeCallFilter {
}
match call {
RuntimeCall::PolkadotXcm(pallet_xcm::Call::force_xcm_version { .. }) |
RuntimeCall::System(
frame_system::Call::set_heap_pages { .. } |
frame_system::Call::set_code { .. } |
@@ -166,6 +166,7 @@ impl Contains<RuntimeCall> for SafeCallFilter {
}
match call {
RuntimeCall::PolkadotXcm(pallet_xcm::Call::force_xcm_version { .. }) |
RuntimeCall::System(
frame_system::Call::set_heap_pages { .. } |
frame_system::Call::set_code { .. } |