From dda527e448117ac782961fd8d08b3f737ea1979f Mon Sep 17 00:00:00 2001 From: librelois <c@elo.tf> Date: Mon, 2 May 2022 01:00:07 +0200 Subject: [PATCH] =?UTF-8?q?fix:=C2=A0multiply=20DB=20weights=20by=20ten?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runtime/common/src/constants.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/common/src/constants.rs b/runtime/common/src/constants.rs index 8fb63da0f..6b8d00591 100644 --- a/runtime/common/src/constants.rs +++ b/runtime/common/src/constants.rs @@ -42,8 +42,8 @@ pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); frame_support::parameter_types! { pub const DbWeight: frame_support::weights::RuntimeDbWeight = frame_support::weights::RuntimeDbWeight { - read: 25 * frame_support::weights::constants::WEIGHT_PER_MICROS, // ~25 µs - write: 100 * frame_support::weights::constants::WEIGHT_PER_MICROS, // ~100 µs + read: 250 * frame_support::weights::constants::WEIGHT_PER_MICROS, // ~25 µs + write: 1_000 * frame_support::weights::constants::WEIGHT_PER_MICROS, // ~100 µs }; } -- GitLab