Skip to content

Commit 1e0e946

Browse files
committed
feat(system-parachains/people): Configure People Kusama
- `XcmFeeToAccount` -> `SendXcmFeeToAccount` - add possibility to inject non-authorities session-keys in genesis (SDK #5078)
1 parent 44d41a9 commit 1e0e946

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

integration-tests/emulated/chains/parachains/people/people-kusama/src/genesis.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ pub fn genesis() -> Storage {
4747
)
4848
})
4949
.collect(),
50+
// TODO: Any keys to add here?
51+
non_authority_keys: vec![],
5052
},
5153
polkadot_xcm: people_kusama_runtime::PolkadotXcmConfig {
5254
safe_xcm_version: Some(SAFE_XCM_VERSION),

system-parachains/people/people-kusama/src/genesis_config_presets.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ fn people_kusama_genesis(
5656
)
5757
})
5858
.collect(),
59+
// TODO: Any keys to add here?
60+
non_authority_keys: vec![],
5961
},
6062
"polkadotXcm": {
6163
"safeXcmVersion": Some(SAFE_XCM_VERSION),

system-parachains/people/people-kusama/src/xcm_config.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ use xcm_builder::{
3939
AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain,
4040
DenyThenTry, DescribeAllTerminal, DescribeFamily, DescribeTerminus, EnsureXcmOrigin,
4141
FrameTransactionalProcessor, FungibleAdapter, HashedDescription, IsConcrete, ParentAsSuperuser,
42-
ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
43-
SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
44-
TrailingSetTopicAsId, UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic,
45-
XcmFeeManagerFromComponents, XcmFeeToAccount,
42+
ParentIsPreset, RelayChainAsNative, SendXcmFeeToAccount, SiblingParachainAsNative,
43+
SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32,
44+
SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId, UsingComponents,
45+
WeightInfoBounds, WithComputedOrigin, WithUniqueTopic, XcmFeeManagerFromComponents,
4646
};
4747
use xcm_executor::{traits::ConvertLocation, XcmExecutor};
4848

@@ -224,7 +224,7 @@ impl xcm_executor::Config for XcmConfig {
224224
type AssetExchanger = ();
225225
type FeeManager = XcmFeeManagerFromComponents<
226226
WaivedLocations,
227-
XcmFeeToAccount<Self::AssetTransactor, AccountId, RelayTreasuryPalletAccount>,
227+
SendXcmFeeToAccount<Self::AssetTransactor, RelayTreasuryPalletAccount>,
228228
>;
229229
type MessageExporter = ();
230230
type UniversalAliases = Nothing;

0 commit comments

Comments
 (0)