git.delta.rocks / unique-network / refs/commits / ab96e01ade90

difftreelog

Weights updated

str-mv2020-11-25parent: #eaea941.patch.diff
in: master

2 files changed

modifiedpallets/nft/src/default_weights.rsdiffbeforeafterboth
--- 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))
     }  
modifiedruntime/src/nft_weights.rsdiffbeforeafterboth
64 } 64 }
65 fn create_item(s: usize, ) -> Weight {65 fn create_item(s: usize, ) -> Weight {
66 (130_000_000 as Weight)66 (130_000_000 as Weight)
67 .saturating_add((2135 as Weight).saturating_mul(s as Weight))67 .saturating_add((2135 as Weight).saturating_mul(s as Weight).saturating_mul(500 as Weight)) // 500 is temparary multiplier, fee for storage
68 .saturating_add(DbWeight::get().reads(10 as Weight))68 .saturating_add(DbWeight::get().reads(10 as Weight))
69 .saturating_add(DbWeight::get().writes(8 as Weight))69 .saturating_add(DbWeight::get().writes(8 as Weight))
70 } 70 }