From d9be938074cf9812137de0740287664db32edb1a Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Mon, 25 Oct 2021 18:47:45 +0200 Subject: [PATCH 1/3] reduce recieve teleported asset weight to something that fits in a block --- .../westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs b/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs index 869c1bca408f..15a92cb780b5 100644 --- a/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs +++ b/runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs @@ -68,7 +68,7 @@ impl WeightInfo { } // Storage: Benchmark Override (r:0 w:0) pub(crate) fn receive_teleported_asset() -> Weight { - (2_000_000_000_000 as Weight) + (1_000_000_000 as Weight) } // Storage: System Account (r:1 w:1) pub(crate) fn deposit_asset() -> Weight { From c992e5bbbbab9f6d74b0ebbfd67f9d17ff4bca1f Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Mon, 25 Oct 2021 18:48:07 +0200 Subject: [PATCH 2/3] bump westend spec_version --- runtime/westend/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index c19d16030539..e272cdb3b65c 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -115,7 +115,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("westend"), impl_name: create_runtime_str!("parity-westend"), authoring_version: 2, - spec_version: 9120, + spec_version: 9121, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, From 03fcdc4215c5a1b5207bb71ceaf764bd3f6f4d98 Mon Sep 17 00:00:00 2001 From: Alexander Popiak Date: Mon, 25 Oct 2021 19:01:39 +0200 Subject: [PATCH 3/3] formatting --- runtime/kusama/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index a33e35f591d9..dcc70022d836 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -49,9 +49,7 @@ use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId; use beefy_primitives::crypto::AuthorityId as BeefyId; use frame_support::{ construct_runtime, parameter_types, - traits::{ - Contains, Everything, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, Nothing, - }, + traits::{Contains, Everything, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, Nothing}, weights::Weight, PalletId, RuntimeDebug, };