Skip to content

Commit ec4f19c

Browse files
committed
Update ControlOrigin for PAH
1 parent 89bdacb commit ec4f19c

File tree

1 file changed

+2
-5
lines changed
  • system-parachains/asset-hubs/asset-hub-polkadot/src

1 file changed

+2
-5
lines changed

system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1765,11 +1765,8 @@ impl pallet_state_trie_migration::Config for Runtime {
17651765
type RuntimeHoldReason = RuntimeHoldReason;
17661766
type SignedDepositPerItem = MigrationSignedDepositPerItem;
17671767
type SignedDepositBase = MigrationSignedDepositBase;
1768-
// An origin that can control the whole pallet: should be Root, or the fellowship.
1769-
type ControlOrigin = EitherOfDiverse<
1770-
EnsureRoot<AccountId>,
1771-
EnsureXcm<IsVoiceOfBody<FellowshipLocation, FellowsBodyId>>,
1772-
>;
1768+
// An origin that can control the whole pallet.
1769+
type ControlOrigin = EnsureSigned<MigController, AccountId>;
17731770
type SignedFilter = EnsureSignedBy<MigController, AccountId>;
17741771

17751772
// Replace this with weight based on your runtime.

0 commit comments

Comments
 (0)