diff --git a/system-parachains/people-paseo/src/lib.rs b/system-parachains/people-paseo/src/lib.rs index c15e6be4..8647c02e 100644 --- a/system-parachains/people-paseo/src/lib.rs +++ b/system-parachains/people-paseo/src/lib.rs @@ -31,8 +31,8 @@ use frame_support::{ genesis_builder_helper::{build_config, create_default_config}, parameter_types, traits::{ - tokens::imbalance::ResolveTo, ConstBool, ConstU32, ConstU64, ConstU8, Contains, - EitherOfDiverse, EverythingBut, InstanceFilter, TransformOrigin, + tokens::imbalance::ResolveTo, ConstBool, ConstU32, ConstU64, ConstU8, EitherOfDiverse, + Everything, InstanceFilter, TransformOrigin, }, weights::{ConstantMultiplier, Weight}, PalletId, @@ -128,7 +128,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("people-paseo"), impl_name: create_runtime_str!("people-paseo"), authoring_version: 1, - spec_version: 1_002_006, + spec_version: 1_002_007, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 0, @@ -166,18 +166,9 @@ parameter_types! { pub const SS58Prefix: u8 = 0; } -/// A type to identify calls to the Identity pallet. These will be filtered to prevent invocation, -/// locking the state of the pallet and preventing updates to identities until the chain is stable. -pub struct IsIdentityCall; -impl Contains for IsIdentityCall { - fn contains(c: &RuntimeCall) -> bool { - matches!(c, RuntimeCall::Identity(_)) - } -} - #[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Runtime { - type BaseCallFilter = EverythingBut; + type BaseCallFilter = Everything; type AccountId = AccountId; type Nonce = Nonce; type Hash = Hash; diff --git a/system-parachains/people-paseo/src/weights/pallet_proxy.rs b/system-parachains/people-paseo/src/weights/pallet_proxy.rs index ac393cba..110dc233 100644 --- a/system-parachains/people-paseo/src/weights/pallet_proxy.rs +++ b/system-parachains/people-paseo/src/weights/pallet_proxy.rs @@ -178,26 +178,30 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn remove_proxies(_p: u32, ) -> Weight { + fn remove_proxies(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `127 + p * (37 ±0)` // Estimated: `4706` // Minimum execution time: 14_952_000 picoseconds. Weight::from_parts(21_939_532, 0) .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 851 + .saturating_add(Weight::from_parts(34_051, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Proxy::Proxies` (r:1 w:1) /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) /// The range of component `p` is `[1, 31]`. - fn create_pure(_p: u32, ) -> Weight { + fn create_pure(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4706` // Minimum execution time: 16_014_000 picoseconds. Weight::from_parts(19_498_552, 0) .saturating_add(Weight::from_parts(0, 4706)) + // Standard Error: 831 + .saturating_add(Weight::from_parts(9_777, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/system-parachains/people-paseo/src/weights/pallet_xcm.rs b/system-parachains/people-paseo/src/weights/pallet_xcm.rs index 71c3a68b..cfdda368 100644 --- a/system-parachains/people-paseo/src/weights/pallet_xcm.rs +++ b/system-parachains/people-paseo/src/weights/pallet_xcm.rs @@ -143,19 +143,9 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - fn transfer_assets() -> Weight { - // Proof Size summary in bytes: - // Measured: `514` - // Estimated: `6208` - // Minimum execution time: 120_672_000 picoseconds. - Weight::from_parts(127_021_000, 0) - .saturating_add(Weight::from_parts(0, 6208)) - .saturating_add(T::DbWeight::get().reads(12)) - .saturating_add(T::DbWeight::get().writes(7)) - } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn execute() -> Weight { + fn transfer_assets() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` @@ -163,6 +153,14 @@ impl pallet_xcm::WeightInfo for WeightInfo { Weight::from_parts(18_446_744_073_709_551_000, 0) .saturating_add(Weight::from_parts(0, 0)) } + fn execute() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_670_000 picoseconds. + Weight::from_parts(8_910_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + } /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn force_xcm_version() -> Weight {