@@ -348,7 +348,10 @@ impl Config for XcmConfig {
348
348
type Barrier = Barrier ;
349
349
type Weigher = FixedWeightBounds < UnitWeightCost , Call , MaxInstructions > ;
350
350
type Trader = UsingComponents < IdentityFee < Balance > , RocLocation , AccountId , Balances , ( ) > ;
351
- type ResponseHandler = ( ) ; // Don't handle responses for now.
351
+ type ResponseHandler = PolkadotXcm ;
352
+ type AssetTrap = PolkadotXcm ;
353
+ type AssetClaims = PolkadotXcm ;
354
+ type SubscriptionService = PolkadotXcm ;
352
355
}
353
356
354
357
/// No local origins on this chain are allowed to dispatch XCM sends/executions.
@@ -376,6 +379,8 @@ impl pallet_xcm::Config for Runtime {
376
379
type LocationInverter = LocationInverter < Ancestry > ;
377
380
type Origin = Origin ;
378
381
type Call = Call ;
382
+ const VERSION_DISCOVERY_QUEUE_SIZE : u32 = 100 ;
383
+ type AdvertisedXcmVersion = pallet_xcm:: CurrentXcmVersion ;
379
384
}
380
385
381
386
impl cumulus_pallet_xcm:: Config for Runtime {
@@ -410,6 +415,7 @@ parameter_types! {
410
415
pub const MetadataDepositBase : Balance = 1 * ROC ;
411
416
pub const MetadataDepositPerByte : Balance = 10 * MILLIROC ;
412
417
pub const UnitBody : BodyId = BodyId :: Unit ;
418
+ pub const MaxAuthorities : u32 = 100_000 ;
413
419
}
414
420
415
421
/// A majority of the Unit body from Rococo over XCM is our required administration origin.
@@ -434,6 +440,7 @@ impl pallet_assets::Config for Runtime {
434
440
impl pallet_aura:: Config for Runtime {
435
441
type AuthorityId = AuraId ;
436
442
type DisabledValidators = ( ) ;
443
+ type MaxAuthorities = MaxAuthorities ;
437
444
}
438
445
439
446
construct_runtime ! {
@@ -589,7 +596,7 @@ impl_runtime_apis! {
589
596
}
590
597
591
598
fn authorities( ) -> Vec <AuraId > {
592
- Aura :: authorities( )
599
+ Aura :: authorities( ) . into_inner ( )
593
600
}
594
601
}
595
602
0 commit comments