From 38074f1999e5b02aee333b93ed1e148b971191ce Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Wed, 25 Nov 2020 15:41:38 +0000 Subject: [PATCH] Merge pull request #19 from usetech-llc/feature/nftpar-147 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