From ab96e01ade90b0c152e66cab1cc849fc3751ad55 Mon Sep 17 00:00:00 2001 From: str-mv Date: Wed, 25 Nov 2020 15:35:33 +0000 Subject: [PATCH] Weights updated --- --- a/pallets/nft/src/default_weights.rs +++ b/pallets/nft/src/default_weights.rs @@ -63,7 +63,7 @@ } fn create_item(s: usize, ) -> Weight { (130_000_000 as Weight) - .saturating_add((2135 as Weight).saturating_mul(s as Weight)) + .saturating_add((2135 as Weight).saturating_mul(s as Weight).saturating_mul(500 as Weight)) // 500 is temporary multiplier, fee for storage .saturating_add(DbWeight::get().reads(10 as Weight)) .saturating_add(DbWeight::get().writes(8 as Weight)) } --- a/runtime/src/nft_weights.rs +++ b/runtime/src/nft_weights.rs @@ -64,7 +64,7 @@ } fn create_item(s: usize, ) -> Weight { (130_000_000 as Weight) - .saturating_add((2135 as Weight).saturating_mul(s as Weight)) + .saturating_add((2135 as Weight).saturating_mul(s as Weight).saturating_mul(500 as Weight)) // 500 is temparary multiplier, fee for storage .saturating_add(DbWeight::get().reads(10 as Weight)) .saturating_add(DbWeight::get().writes(8 as Weight)) } -- gitstuff