File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
system-parachains/asset-hubs Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,10 @@ impl xcm_executor::Config for XcmConfig {
438438 type MessageExporter = ( ) ;
439439 type UniversalAliases = ( bridging:: to_polkadot:: UniversalAliases , ) ;
440440 type CallDispatcher = RuntimeCall ;
441+ #[ cfg( not( feature = "runtime-benchmarks" ) ) ]
441442 type SafeCallFilter = SafeCallFilter ;
443+ #[ cfg( feature = "runtime-benchmarks" ) ]
444+ type SafeCallFilter = Everything ;
442445 type Aliasers = TrustedAliasers ;
443446 type TransactionalProcessor = FrameTransactionalProcessor ;
444447 type HrmpNewChannelOpenRequestHandler = ( ) ;
@@ -502,6 +505,8 @@ impl Contains<RuntimeCall> for SafeCallFilter {
502505 ) => true ,
503506 RuntimeCall :: System ( frame_system:: Call :: authorize_upgrade { .. } ) => true ,
504507 RuntimeCall :: System ( frame_system:: Call :: set_storage { .. } ) => true ,
508+ RuntimeCall :: System ( frame_system:: Call :: remark { .. } ) => true ,
509+ RuntimeCall :: System ( frame_system:: Call :: remark_with_event { .. } ) => true ,
505510 RuntimeCall :: ToPolkadotXcmRouter ( pallet_xcm_bridge_hub_router:: Call :: <
506511 Runtime ,
507512 crate :: ToPolkadotXcmRouterInstance ,
Original file line number Diff line number Diff line change @@ -512,7 +512,10 @@ impl xcm_executor::Config for XcmConfig {
512512 type UniversalAliases =
513513 ( bridging:: to_kusama:: UniversalAliases , bridging:: to_ethereum:: UniversalAliases ) ;
514514 type CallDispatcher = RuntimeCall ;
515+ #[ cfg( not( feature = "runtime-benchmarks" ) ) ]
515516 type SafeCallFilter = SafeCallFilter ;
517+ #[ cfg( feature = "runtime-benchmarks" ) ]
518+ type SafeCallFilter = Everything ;
516519 type Aliasers = TrustedAliasers ;
517520 type TransactionalProcessor = FrameTransactionalProcessor ;
518521 type HrmpNewChannelOpenRequestHandler = ( ) ;
@@ -581,6 +584,8 @@ impl Contains<RuntimeCall> for SafeCallFilter {
581584 ) => true ,
582585 RuntimeCall :: System ( frame_system:: Call :: authorize_upgrade { .. } ) => true ,
583586 RuntimeCall :: System ( frame_system:: Call :: set_storage { .. } ) => true ,
587+ RuntimeCall :: System ( frame_system:: Call :: remark { .. } ) => true ,
588+ RuntimeCall :: System ( frame_system:: Call :: remark_with_event { .. } ) => true ,
584589 RuntimeCall :: ToKusamaXcmRouter ( pallet_xcm_bridge_hub_router:: Call :: <
585590 Runtime ,
586591 crate :: ToKusamaXcmRouterInstance ,
You can’t perform that action at this time.
0 commit comments