Skip to content

Commit

Permalink
Kusama People: remove identity ops pallet (#408)
Browse files Browse the repository at this point in the history
Remove the identity ops pallet after the invalid judgments have been
cleared.

---------

Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>
  • Loading branch information
muharem and fellowship-merge-bot[bot] authored Aug 16, 2024
1 parent 83eccf2 commit 4260e50
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 314 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Treasury pallet: - remove unused config parameters ([runtimes#381](https://github.com/polkadot-fellows/runtimes/pull/381), [SDK v1.14 #4831](https://github.com/paritytech/polkadot-sdk/pull/4831)).
- Remove Identity from Polkadot Relay Chain ([runtimes#415](https://github.com/polkadot-fellows/runtimes/pull/415))
- Kusama: Remove unused Snowbridge code and configs ([polkadot-fellows/runtimes#411](https://github.com/polkadot-fellows/runtimes/pull/411)
- Remove the identity ops pallet after the invalid judgments have been cleared ([polkadot-fellows/runtimes#408](https://github.com/polkadot-fellows/runtimes/pull/408)).

#### From [#322](https://github.com/polkadot-fellows/runtimes/pull/322):

Expand Down
237 changes: 0 additions & 237 deletions system-parachains/people/people-kusama/src/identity_ops.rs

This file was deleted.

10 changes: 0 additions & 10 deletions system-parachains/people/people-kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));

// Genesis preset configurations.
pub mod genesis_config_presets;
mod identity_ops;
pub mod people;
mod weights;
pub mod xcm_config;
Expand All @@ -46,7 +45,6 @@ use frame_system::{
limits::{BlockLength, BlockWeights},
EnsureRoot,
};
use identity_ops::pallet_identity_ops;
use pallet_xcm::{EnsureXcm, IsVoiceOfBody};
use parachains_common::{
message_queue::{NarrowOriginToSibling, ParaIdToSibling},
Expand Down Expand Up @@ -569,10 +567,6 @@ impl pallet_utility::Config for Runtime {
type WeightInfo = weights::pallet_utility::WeightInfo<Runtime>;
}

impl pallet_identity_ops::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
}

// Create the runtime by composing the FRAME pallets that were previously configured.
construct_runtime!(
pub enum Runtime
Expand Down Expand Up @@ -607,9 +601,6 @@ construct_runtime!(

// The main stage.
Identity: pallet_identity = 50,

// Identity operations pallet.
IdentityOps: pallet_identity_ops = 247,
}
);

Expand All @@ -634,7 +625,6 @@ mod benches {
[pallet_xcm, PalletXcmExtrinsiscsBenchmark::<Runtime>]
[pallet_xcm_benchmarks::fungible, XcmBalances]
[pallet_xcm_benchmarks::generic, XcmGeneric]
[pallet_identity_ops, IdentityOps]
);
}

Expand Down
1 change: 0 additions & 1 deletion system-parachains/people/people-kusama/src/weights/mod.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

0 comments on commit 4260e50

Please sign in to comment.