Skip to content

Commit aed65c0

Browse files
committed
set transactional processor
1 parent 57a1b50 commit aed65c0

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

runtime/astar/src/xcm_config.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ use polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery;
3939
use xcm::latest::prelude::*;
4040
use xcm_builder::{
4141
Account32Hash, AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom,
42-
AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, FungibleAdapter,
43-
FungiblesAdapter, IsConcrete, NoChecking, ParentAsSuperuser, ParentIsPreset,
42+
AllowUnpaidExecutionFrom, ConvertedConcreteId, EnsureXcmOrigin, FrameTransactionalProcessor,
43+
FungibleAdapter, FungiblesAdapter, IsConcrete, NoChecking, ParentAsSuperuser, ParentIsPreset,
4444
RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
4545
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
4646
UsingComponents, WeightInfoBounds,
@@ -274,7 +274,7 @@ impl xcm_executor::Config for XcmConfig {
274274
type CallDispatcher = WithOriginFilter<SafeCallFilter>;
275275
type SafeCallFilter = SafeCallFilter;
276276
type Aliasers = Nothing;
277-
type TransactionalProcessor = ();
277+
type TransactionalProcessor = FrameTransactionalProcessor;
278278
}
279279

280280
/// Local origins on this chain are allowed to dispatch XCM sends/executions.

runtime/shibuya/src/xcm_config.rs

+7-6
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ use polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery;
3939
use xcm::latest::prelude::*;
4040
use xcm_builder::{
4141
AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom,
42-
ConvertedConcreteId, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin, FungibleAdapter,
43-
FungiblesAdapter, HashedDescription, IsConcrete, NoChecking, ParentAsSuperuser, ParentIsPreset,
44-
RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
45-
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
46-
UsingComponents, WeightInfoBounds, WithComputedOrigin,
42+
ConvertedConcreteId, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin,
43+
FrameTransactionalProcessor, FungibleAdapter, FungiblesAdapter, HashedDescription, IsConcrete,
44+
NoChecking, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative,
45+
SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32,
46+
SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds,
47+
WithComputedOrigin,
4748
};
4849
use xcm_executor::{traits::JustTry, XcmExecutor};
4950

@@ -206,7 +207,7 @@ impl xcm_executor::Config for XcmConfig {
206207
type CallDispatcher = RuntimeCall;
207208
type SafeCallFilter = Everything;
208209
type Aliasers = Nothing;
209-
type TransactionalProcessor = ();
210+
type TransactionalProcessor = FrameTransactionalProcessor;
210211
}
211212

212213
/// Local origins on this chain are allowed to dispatch XCM sends/executions.

runtime/shiden/src/xcm_config.rs

+7-6
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ use polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery;
3838
use xcm::latest::prelude::*;
3939
use xcm_builder::{
4040
AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowUnpaidExecutionFrom,
41-
ConvertedConcreteId, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin, FungibleAdapter,
42-
FungiblesAdapter, HashedDescription, IsConcrete, NoChecking, ParentAsSuperuser, ParentIsPreset,
43-
RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
44-
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
45-
UsingComponents, WeightInfoBounds, WithComputedOrigin,
41+
ConvertedConcreteId, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin,
42+
FrameTransactionalProcessor, FungibleAdapter, FungiblesAdapter, HashedDescription, IsConcrete,
43+
NoChecking, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative,
44+
SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32,
45+
SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds,
46+
WithComputedOrigin,
4647
};
4748
use xcm_executor::{
4849
traits::{JustTry, WithOriginFilter},
@@ -277,7 +278,7 @@ impl xcm_executor::Config for XcmConfig {
277278
type CallDispatcher = WithOriginFilter<SafeCallFilter>;
278279
type SafeCallFilter = SafeCallFilter;
279280
type Aliasers = Nothing;
280-
type TransactionalProcessor = ();
281+
type TransactionalProcessor = FrameTransactionalProcessor;
281282
}
282283

283284
/// Local origins on this chain are allowed to dispatch XCM sends/executions.

0 commit comments

Comments
 (0)