mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
Update Westend / People Runtimes for Post-Migration (#3026)
This commit is contained in:
@@ -38,7 +38,7 @@ use frame_support::{
|
||||
weights::{ConstantMultiplier, WeightMeter},
|
||||
PalletId,
|
||||
};
|
||||
use frame_system::EnsureRoot;
|
||||
use frame_system::{EnsureRoot, EnsureSigned};
|
||||
use pallet_grandpa::{fg_primitives, AuthorityId as GrandpaId};
|
||||
use pallet_identity::legacy::IdentityInfo;
|
||||
use pallet_session::historical as session_historical;
|
||||
@@ -147,7 +147,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
spec_name: create_runtime_str!("westend"),
|
||||
impl_name: create_runtime_str!("parity-westend"),
|
||||
authoring_version: 2,
|
||||
spec_version: 1_006_000,
|
||||
spec_version: 1_006_001,
|
||||
impl_version: 0,
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
transaction_version: 24,
|
||||
@@ -1342,8 +1342,7 @@ impl auctions::Config for Runtime {
|
||||
|
||||
impl identity_migrator::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
// To be changed to `EnsureSigned` once there is a People Chain to migrate to.
|
||||
type Reaper = EnsureRoot<AccountId>;
|
||||
type Reaper = EnsureSigned<AccountId>;
|
||||
type ReapIdentityHandler = ToParachainIdentityReaper<Runtime, Self::AccountId>;
|
||||
type WeightInfo = weights::runtime_common_identity_migrator::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user