Skip to content
Snippets Groups Projects
Commit dda527e4 authored by Éloïs's avatar Éloïs
Browse files

fix: multiply DB weights by ten

parent 4974be35
No related branches found
No related tags found
1 merge request!47Set manually all weights for ğdev
...@@ -42,8 +42,8 @@ pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); ...@@ -42,8 +42,8 @@ pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75);
frame_support::parameter_types! { frame_support::parameter_types! {
pub const DbWeight: frame_support::weights::RuntimeDbWeight = frame_support::weights::RuntimeDbWeight { pub const DbWeight: frame_support::weights::RuntimeDbWeight = frame_support::weights::RuntimeDbWeight {
read: 25 * frame_support::weights::constants::WEIGHT_PER_MICROS, // ~25 µs read: 250 * frame_support::weights::constants::WEIGHT_PER_MICROS, // ~25 µs
write: 100 * frame_support::weights::constants::WEIGHT_PER_MICROS, // ~100 µs write: 1_000 * frame_support::weights::constants::WEIGHT_PER_MICROS, // ~100 µs
}; };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment