diff --git a/runtime/astar/src/weights/xcm/generic.rs b/runtime/astar/src/weights/xcm/generic.rs index 6871922c4..a629c2db5 100644 --- a/runtime/astar/src/weights/xcm/generic.rs +++ b/runtime/astar/src/weights/xcm/generic.rs @@ -101,20 +101,13 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn buy_execution() -> Weight { // Proof Size summary in bytes: - // Measured: `2296` - // Estimated: `5761` - // Minimum execution time: 105_002_000 picoseconds. - Weight::from_parts(108_931_000, 5761) + // Measured: `717` + // Estimated: `4182` + // Minimum execution time: 16_217_000 picoseconds. + Weight::from_parts(16_433_000, 4182) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - fn expect_pallet() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 5_852_000 picoseconds. - Weight::from_parts(6_089_000, 0) - } /// Storage: `Benchmark::Override` (r:0 w:0) /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn exchange_asset() -> Weight { @@ -197,10 +190,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn report_holding() -> Weight { // Proof Size summary in bytes: - // Measured: `74` - // Estimated: `3539` - // Minimum execution time: 346_909_000 picoseconds. - Weight::from_parts(352_602_000, 3539) + // Measured: `131` + // Estimated: `3596` + // Minimum execution time: 46_828_000 picoseconds. + Weight::from_parts(47_506_000, 3596) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -210,58 +203,58 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3465` - // Minimum execution time: 8_607_000 picoseconds. - Weight::from_parts(8_813_000, 3465) + // Minimum execution time: 4_837_000 picoseconds. + Weight::from_parts(5_048_000, 3465) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn transact() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_103_000 picoseconds. - Weight::from_parts(12_304_000, 0) + // Minimum execution time: 7_561_000 picoseconds. + Weight::from_parts(7_745_000, 0) } fn refund_surplus() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_737_000 picoseconds. - Weight::from_parts(4_943_000, 0) + // Minimum execution time: 3_983_000 picoseconds. + Weight::from_parts(4_077_000, 0) } fn set_error_handler() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_764_000 picoseconds. - Weight::from_parts(2_853_000, 0) + // Minimum execution time: 708_000 picoseconds. + Weight::from_parts(738_000, 0) } fn set_appendix() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_793_000 picoseconds. - Weight::from_parts(2_876_000, 0) + // Minimum execution time: 702_000 picoseconds. + Weight::from_parts(720_000, 0) } fn clear_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_746_000 picoseconds. - Weight::from_parts(2_828_000, 0) + // Minimum execution time: 640_000 picoseconds. + Weight::from_parts(661_000, 0) } fn descend_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_348_000 picoseconds. - Weight::from_parts(3_482_000, 0) + // Minimum execution time: 688_000 picoseconds. + Weight::from_parts(719_000, 0) } fn clear_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_730_000 picoseconds. - Weight::from_parts(2_824_000, 0) + // Minimum execution time: 646_000 picoseconds. + Weight::from_parts(689_000, 0) } /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -273,10 +266,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn report_error() -> Weight { // Proof Size summary in bytes: - // Measured: `74` - // Estimated: `3539` - // Minimum execution time: 21_279_000 picoseconds. - Weight::from_parts(21_644_000, 3539) + // Measured: `131` + // Estimated: `3596` + // Minimum execution time: 15_315_000 picoseconds. + Weight::from_parts(15_654_000, 3596) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,10 +277,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `23` - // Estimated: `3488` - // Minimum execution time: 12_317_000 picoseconds. - Weight::from_parts(12_590_000, 3488) + // Measured: `24` + // Estimated: `3489` + // Minimum execution time: 7_889_000 picoseconds. + Weight::from_parts(8_038_000, 3489) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -295,8 +288,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_715_000 picoseconds. - Weight::from_parts(2_780_000, 0) + // Minimum execution time: 605_000 picoseconds. + Weight::from_parts(636_000, 0) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:1 w:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -308,10 +301,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn subscribe_version() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `3507` - // Minimum execution time: 22_632_000 picoseconds. - Weight::from_parts(22_943_000, 3507) + // Measured: `99` + // Estimated: `3564` + // Minimum execution time: 16_393_000 picoseconds. + Weight::from_parts(16_762_000, 3564) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -321,44 +314,44 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_554_000 picoseconds. - Weight::from_parts(4_749_000, 0) + // Minimum execution time: 2_326_000 picoseconds. + Weight::from_parts(2_480_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn burn_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 120_072_000 picoseconds. - Weight::from_parts(123_411_000, 0) + // Minimum execution time: 21_864_000 picoseconds. + Weight::from_parts(22_349_000, 0) } fn expect_asset() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_755_000 picoseconds. - Weight::from_parts(11_914_000, 0) + // Minimum execution time: 7_399_000 picoseconds. + Weight::from_parts(7_599_000, 0) } fn expect_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_830_000 picoseconds. - Weight::from_parts(2_913_000, 0) + // Minimum execution time: 642_000 picoseconds. + Weight::from_parts(671_000, 0) } fn expect_error() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_664_000 picoseconds. - Weight::from_parts(2_789_000, 0) + // Minimum execution time: 607_000 picoseconds. + Weight::from_parts(641_000, 0) } fn expect_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_865_000 picoseconds. - Weight::from_parts(2_977_000, 0) + // Minimum execution time: 812_000 picoseconds. + Weight::from_parts(847_000, 0) } /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -370,356 +363,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn query_pallet() -> Weight { // Proof Size summary in bytes: - // Measured: `74` - // Estimated: `3539` - // Minimum execution time: 26_145_000 picoseconds. - Weight::from_parts(26_530_000, 3539) + // Measured: `131` + // Estimated: `3596` + // Minimum execution time: 20_485_000 picoseconds. + Weight::from_parts(20_677_000, 3596) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) - /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// 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 report_transact_status() -> Weight { - // Proof Size summary in bytes: - // Measured: `74` - // Estimated: `3539` - // Minimum execution time: 21_368_000 picoseconds. - Weight::from_parts(22_050_000, 3539) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } - fn clear_transact_status() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_759_000 picoseconds. - Weight::from_parts(2_849_000, 0) - } - fn set_topic() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_723_000 picoseconds. - Weight::from_parts(2_797_000, 0) - } - fn clear_topic() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_684_000 picoseconds. - Weight::from_parts(2_757_000, 0) - } - fn set_fees_mode() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_685_000 picoseconds. - Weight::from_parts(2_790_000, 0) - } - fn unpaid_execution() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_819_000 picoseconds. - Weight::from_parts(2_895_000, 0) - } -} - -// For backwards compatibility and tests -impl WeightInfo for () { - /// Storage: `XcAssetConfig::AssetLocationUnitsPerSecond` (r:1 w:0) - /// Proof: `XcAssetConfig::AssetLocationUnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `XcAssetConfig::AssetLocationToId` (r:1 w:0) - /// Proof: `XcAssetConfig::AssetLocationToId` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - fn buy_execution() -> Weight { - // Proof Size summary in bytes: - // Measured: `2296` - // Estimated: `5761` - // Minimum execution time: 105_002_000 picoseconds. - Weight::from_parts(108_931_000, 5761) - .saturating_add(RocksDbWeight::get().reads(5_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) - } fn expect_pallet() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_852_000 picoseconds. - Weight::from_parts(6_089_000, 0) - } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn exchange_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn export_message() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn lock_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn unlock_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn note_unlockable() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn request_unlock() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn universal_origin() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn alias_origin() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - } - /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) - /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// 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 report_holding() -> Weight { - // Proof Size summary in bytes: - // Measured: `74` - // Estimated: `3539` - // Minimum execution time: 346_909_000 picoseconds. - Weight::from_parts(352_602_000, 3539) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) - } - /// Storage: `PolkadotXcm::Queries` (r:1 w:0) - /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn query_response() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `3465` - // Minimum execution time: 8_607_000 picoseconds. - Weight::from_parts(8_813_000, 3465) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - } - fn transact() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 12_103_000 picoseconds. - Weight::from_parts(12_304_000, 0) - } - fn refund_surplus() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 4_737_000 picoseconds. - Weight::from_parts(4_943_000, 0) - } - fn set_error_handler() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_764_000 picoseconds. - Weight::from_parts(2_853_000, 0) - } - fn set_appendix() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_793_000 picoseconds. - Weight::from_parts(2_876_000, 0) - } - fn clear_error() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_746_000 picoseconds. - Weight::from_parts(2_828_000, 0) - } - fn descend_origin() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 3_348_000 picoseconds. - Weight::from_parts(3_482_000, 0) - } - fn clear_origin() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_730_000 picoseconds. - Weight::from_parts(2_824_000, 0) - } - /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) - /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// 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 report_error() -> Weight { - // Proof Size summary in bytes: - // Measured: `74` - // Estimated: `3539` - // Minimum execution time: 21_279_000 picoseconds. - Weight::from_parts(21_644_000, 3539) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) - } - /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) - /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn claim_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `23` - // Estimated: `3488` - // Minimum execution time: 12_317_000 picoseconds. - Weight::from_parts(12_590_000, 3488) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) - } - fn trap() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_715_000 picoseconds. - Weight::from_parts(2_780_000, 0) - } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:1 w:1) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// 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 subscribe_version() -> Weight { - // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `3507` - // Minimum execution time: 22_632_000 picoseconds. - Weight::from_parts(22_943_000, 3507) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) - } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:0 w:1) - /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn unsubscribe_version() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 4_554_000 picoseconds. - Weight::from_parts(4_749_000, 0) - .saturating_add(RocksDbWeight::get().writes(1_u64)) - } - fn burn_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 120_072_000 picoseconds. - Weight::from_parts(123_411_000, 0) - } - fn expect_asset() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 11_755_000 picoseconds. - Weight::from_parts(11_914_000, 0) - } - fn expect_origin() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_830_000 picoseconds. - Weight::from_parts(2_913_000, 0) - } - fn expect_error() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_664_000 picoseconds. - Weight::from_parts(2_789_000, 0) - } - fn expect_transact_status() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_865_000 picoseconds. - Weight::from_parts(2_977_000, 0) - } - /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) - /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) - /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) - /// 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 query_pallet() -> Weight { - // Proof Size summary in bytes: - // Measured: `74` - // Estimated: `3539` - // Minimum execution time: 26_145_000 picoseconds. - Weight::from_parts(26_530_000, 3539) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 4_484_000 picoseconds. + Weight::from_parts(4_591_000, 0) } /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -731,46 +387,46 @@ impl WeightInfo for () { /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn report_transact_status() -> Weight { // Proof Size summary in bytes: - // Measured: `74` - // Estimated: `3539` - // Minimum execution time: 21_368_000 picoseconds. - Weight::from_parts(22_050_000, 3539) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `131` + // Estimated: `3596` + // Minimum execution time: 15_208_000 picoseconds. + Weight::from_parts(15_626_000, 3596) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } fn clear_transact_status() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_759_000 picoseconds. - Weight::from_parts(2_849_000, 0) + // Minimum execution time: 649_000 picoseconds. + Weight::from_parts(684_000, 0) } fn set_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_723_000 picoseconds. - Weight::from_parts(2_797_000, 0) + // Minimum execution time: 596_000 picoseconds. + Weight::from_parts(649_000, 0) } fn clear_topic() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_684_000 picoseconds. - Weight::from_parts(2_757_000, 0) + // Minimum execution time: 602_000 picoseconds. + Weight::from_parts(648_000, 0) } fn set_fees_mode() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_685_000 picoseconds. - Weight::from_parts(2_790_000, 0) + // Minimum execution time: 605_000 picoseconds. + Weight::from_parts(647_000, 0) } fn unpaid_execution() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_819_000 picoseconds. - Weight::from_parts(2_895_000, 0) + // Minimum execution time: 654_000 picoseconds. + Weight::from_parts(695_000, 0) } } diff --git a/runtime/shibuya/src/lib.rs b/runtime/shibuya/src/lib.rs index f6e710ad5..218d5a3ec 100644 --- a/runtime/shibuya/src/lib.rs +++ b/runtime/shibuya/src/lib.rs @@ -1741,7 +1741,6 @@ mod benches { [xcm_benchmarks_generic, XcmGeneric] [xcm_benchmarks_fungible, XcmFungible] [pallet_price_aggregator, PriceAggregator] - [pallet_membership, OracleMembership] [pallet_collective_proxy, CollectiveProxy] [orml_oracle, Oracle] ); @@ -2462,7 +2461,7 @@ impl_runtime_apis! { Err(BenchmarkError::Skip) } fn fee_asset() -> Result { - Ok((AssetId(Here.into()), 100).into()) + Ok((AssetId(Here.into()), 1_000_000_000_000_000_000u128).into()) } } diff --git a/runtime/shiden/src/lib.rs b/runtime/shiden/src/lib.rs index ae03c6f35..eb45eecec 100644 --- a/runtime/shiden/src/lib.rs +++ b/runtime/shiden/src/lib.rs @@ -1397,7 +1397,6 @@ mod benches { [xcm_benchmarks_generic, XcmGeneric] [xcm_benchmarks_fungible, XcmFungible] [pallet_price_aggregator, PriceAggregator] - [pallet_membership, OracleMembership] [orml_oracle, Oracle] ); } @@ -2118,7 +2117,7 @@ impl_runtime_apis! { Err(BenchmarkError::Skip) } fn fee_asset() -> Result { - Ok((AssetId(Here.into()), 100).into()) + Ok((AssetId(Here.into()), 1_000_000_000_000_000_000u128).into()) } }