From 6218b74cf9e6f61905f4cb51c5652b31f27d18d2 Mon Sep 17 00:00:00 2001 From: Igor Papandinas <26460174+ipapandinas@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:01:10 +0100 Subject: [PATCH] DbWeight from frame_system::Config used --- runtime/shibuya/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/shibuya/src/lib.rs b/runtime/shibuya/src/lib.rs index 5281a1644..22aa68f38 100644 --- a/runtime/shibuya/src/lib.rs +++ b/runtime/shibuya/src/lib.rs @@ -254,7 +254,7 @@ parameter_types! { // // TODO: This hardcoded addition is a temporary fix. Replace it with a proper // benchmark in the future. - weights.base_extrinsic = ExtrinsicBaseWeight::get().saturating_add(RocksDbWeight::get().reads(1)); + weights.base_extrinsic = ExtrinsicBaseWeight::get().saturating_add(::DbWeight::get().reads(1)); }) .for_class(DispatchClass::Normal, |weights| { weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);