Skip to content

Commit 62af401

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

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

integration-tests/emulated/chains/parachains/people/people-polkadot/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_polkadot_runtime::PolkadotXcmConfig {
5254
safe_xcm_version: Some(SAFE_XCM_VERSION),

system-parachains/people/people-polkadot/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_polkadot_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-polkadot/src/xcm_config.rs

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

@@ -246,7 +246,7 @@ impl xcm_executor::Config for XcmConfig {
246246
type AssetExchanger = ();
247247
type FeeManager = XcmFeeManagerFromComponents<
248248
WaivedLocations,
249-
XcmFeeToAccount<Self::AssetTransactor, AccountId, RelayTreasuryPalletAccount>,
249+
SendXcmFeeToAccount<Self::AssetTransactor, RelayTreasuryPalletAccount>,
250250
>;
251251
type MessageExporter = ();
252252
type UniversalAliases = Nothing;

0 commit comments

Comments
 (0)