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

difftreelog

bench weight #5

Igor Kozyrev2022-03-01parent: #6eebd25.patch.diff
in: master

5 files changed

modifiedpallets/evm-migration/src/weights.rsdiffbeforeafterboth
44 // Storage: System Account (r:1 w:0)44 // Storage: System Account (r:1 w:0)
45 // Storage: EVM AccountCodes (r:1 w:0)45 // Storage: EVM AccountCodes (r:1 w:0)
46 fn begin() -> Weight {46 fn begin() -> Weight {
47 (6_750_000 as Weight)47 (6_643_000 as Weight)
48 .saturating_add(T::DbWeight::get().reads(3 as Weight))48 .saturating_add(T::DbWeight::get().reads(3 as Weight))
49 .saturating_add(T::DbWeight::get().writes(1 as Weight))49 .saturating_add(T::DbWeight::get().writes(1 as Weight))
50 }50 }
51 // Storage: EvmMigration MigrationPending (r:1 w:0)51 // Storage: EvmMigration MigrationPending (r:1 w:0)
52 // Storage: EVM AccountStorages (r:0 w:1)52 // Storage: EVM AccountStorages (r:0 w:1)
53 fn set_data(b: u32, ) -> Weight {53 fn set_data(b: u32, ) -> Weight {
54 (3_555_000 as Weight)54 (2_890_000 as Weight)
55 // Standard Error: 3_00055 // Standard Error: 2_000
56 .saturating_add((1_071_000 as Weight).saturating_mul(b as Weight))56 .saturating_add((1_000_000 as Weight).saturating_mul(b as Weight))
57 .saturating_add(T::DbWeight::get().reads(1 as Weight))57 .saturating_add(T::DbWeight::get().reads(1 as Weight))
58 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))58 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
59 }59 }
60 // Storage: EvmMigration MigrationPending (r:1 w:1)60 // Storage: EvmMigration MigrationPending (r:1 w:1)
61 // Storage: EVM AccountCodes (r:0 w:1)61 // Storage: EVM AccountCodes (r:0 w:1)
62 fn finish(_b: u32, ) -> Weight {62 fn finish(b: u32, ) -> Weight {
63 (5_166_000 as Weight)63 (5_090_000 as Weight)
64 // Standard Error: 0
65 .saturating_add((1_000 as Weight).saturating_mul(b as Weight))
64 .saturating_add(T::DbWeight::get().reads(1 as Weight))66 .saturating_add(T::DbWeight::get().reads(1 as Weight))
65 .saturating_add(T::DbWeight::get().writes(2 as Weight))67 .saturating_add(T::DbWeight::get().writes(2 as Weight))
66 }68 }
72 // Storage: System Account (r:1 w:0)74 // Storage: System Account (r:1 w:0)
73 // Storage: EVM AccountCodes (r:1 w:0)75 // Storage: EVM AccountCodes (r:1 w:0)
74 fn begin() -> Weight {76 fn begin() -> Weight {
75 (6_750_000 as Weight)77 (6_643_000 as Weight)
76 .saturating_add(RocksDbWeight::get().reads(3 as Weight))78 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
77 .saturating_add(RocksDbWeight::get().writes(1 as Weight))79 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
78 }80 }
79 // Storage: EvmMigration MigrationPending (r:1 w:0)81 // Storage: EvmMigration MigrationPending (r:1 w:0)
80 // Storage: EVM AccountStorages (r:0 w:1)82 // Storage: EVM AccountStorages (r:0 w:1)
81 fn set_data(b: u32, ) -> Weight {83 fn set_data(b: u32, ) -> Weight {
82 (3_555_000 as Weight)84 (2_890_000 as Weight)
83 // Standard Error: 3_00085 // Standard Error: 2_000
84 .saturating_add((1_071_000 as Weight).saturating_mul(b as Weight))86 .saturating_add((1_000_000 as Weight).saturating_mul(b as Weight))
85 .saturating_add(RocksDbWeight::get().reads(1 as Weight))87 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
86 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))88 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(b as Weight)))
87 }89 }
88 // Storage: EvmMigration MigrationPending (r:1 w:1)90 // Storage: EvmMigration MigrationPending (r:1 w:1)
89 // Storage: EVM AccountCodes (r:0 w:1)91 // Storage: EVM AccountCodes (r:0 w:1)
90 fn finish(_b: u32, ) -> Weight {92 fn finish(b: u32, ) -> Weight {
91 (5_166_000 as Weight)93 (5_090_000 as Weight)
94 // Standard Error: 0
95 .saturating_add((1_000 as Weight).saturating_mul(b as Weight))
92 .saturating_add(RocksDbWeight::get().reads(1 as Weight))96 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
93 .saturating_add(RocksDbWeight::get().writes(2 as Weight))97 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
94 }98 }
modifiedpallets/fungible/src/weights.rsdiffbeforeafterboth
47 // Storage: Fungible TotalSupply (r:1 w:1)47 // Storage: Fungible TotalSupply (r:1 w:1)
48 // Storage: Fungible Balance (r:1 w:1)48 // Storage: Fungible Balance (r:1 w:1)
49 fn create_item() -> Weight {49 fn create_item() -> Weight {
50 (15_063_000 as Weight)50 (15_080_000 as Weight)
51 .saturating_add(T::DbWeight::get().reads(2 as Weight))51 .saturating_add(T::DbWeight::get().reads(2 as Weight))
52 .saturating_add(T::DbWeight::get().writes(2 as Weight))52 .saturating_add(T::DbWeight::get().writes(2 as Weight))
53 }53 }
54 // Storage: Fungible TotalSupply (r:1 w:1)54 // Storage: Fungible TotalSupply (r:1 w:1)
55 // Storage: Fungible Balance (r:4 w:4)55 // Storage: Fungible Balance (r:4 w:4)
56 fn create_multiple_items_ex(b: u32, ) -> Weight {56 fn create_multiple_items_ex(b: u32, ) -> Weight {
57 (18_679_000 as Weight)57 (17_193_000 as Weight)
58 // Standard Error: 7_00058 // Standard Error: 4_000
59 .saturating_add((3_847_000 as Weight).saturating_mul(b as Weight))59 .saturating_add((3_935_000 as Weight).saturating_mul(b as Weight))
60 .saturating_add(T::DbWeight::get().reads(1 as Weight))60 .saturating_add(T::DbWeight::get().reads(1 as Weight))
61 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))61 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
62 .saturating_add(T::DbWeight::get().writes(1 as Weight))62 .saturating_add(T::DbWeight::get().writes(1 as Weight))
65 // Storage: Fungible TotalSupply (r:1 w:1)65 // Storage: Fungible TotalSupply (r:1 w:1)
66 // Storage: Fungible Balance (r:1 w:1)66 // Storage: Fungible Balance (r:1 w:1)
67 fn burn_item() -> Weight {67 fn burn_item() -> Weight {
68 (15_875_000 as Weight)68 (16_967_000 as Weight)
69 .saturating_add(T::DbWeight::get().reads(2 as Weight))69 .saturating_add(T::DbWeight::get().reads(2 as Weight))
70 .saturating_add(T::DbWeight::get().writes(2 as Weight))70 .saturating_add(T::DbWeight::get().writes(2 as Weight))
71 }71 }
72 // Storage: Fungible Balance (r:2 w:2)72 // Storage: Fungible Balance (r:2 w:2)
73 fn transfer() -> Weight {73 fn transfer() -> Weight {
74 (17_801_000 as Weight)74 (18_722_000 as Weight)
75 .saturating_add(T::DbWeight::get().reads(2 as Weight))75 .saturating_add(T::DbWeight::get().reads(2 as Weight))
76 .saturating_add(T::DbWeight::get().writes(2 as Weight))76 .saturating_add(T::DbWeight::get().writes(2 as Weight))
77 }77 }
78 // Storage: Fungible Balance (r:1 w:0)78 // Storage: Fungible Balance (r:1 w:0)
79 // Storage: Fungible Allowance (r:0 w:1)79 // Storage: Fungible Allowance (r:0 w:1)
80 fn approve() -> Weight {80 fn approve() -> Weight {
81 (14_814_000 as Weight)81 (15_772_000 as Weight)
82 .saturating_add(T::DbWeight::get().reads(1 as Weight))82 .saturating_add(T::DbWeight::get().reads(1 as Weight))
83 .saturating_add(T::DbWeight::get().writes(1 as Weight))83 .saturating_add(T::DbWeight::get().writes(1 as Weight))
84 }84 }
85 // Storage: Fungible Allowance (r:1 w:1)85 // Storage: Fungible Allowance (r:1 w:1)
86 // Storage: Fungible Balance (r:2 w:2)86 // Storage: Fungible Balance (r:2 w:2)
87 fn transfer_from() -> Weight {87 fn transfer_from() -> Weight {
88 (25_305_000 as Weight)88 (26_583_000 as Weight)
89 .saturating_add(T::DbWeight::get().reads(3 as Weight))89 .saturating_add(T::DbWeight::get().reads(3 as Weight))
90 .saturating_add(T::DbWeight::get().writes(3 as Weight))90 .saturating_add(T::DbWeight::get().writes(3 as Weight))
91 }91 }
92 // Storage: Fungible Allowance (r:1 w:1)92 // Storage: Fungible Allowance (r:1 w:1)
93 // Storage: Fungible TotalSupply (r:1 w:1)93 // Storage: Fungible TotalSupply (r:1 w:1)
94 // Storage: Fungible Balance (r:1 w:1)94 // Storage: Fungible Balance (r:1 w:1)
95 fn burn_from() -> Weight {95 fn burn_from() -> Weight {
96 (23_435_000 as Weight)96 (24_441_000 as Weight)
97 .saturating_add(T::DbWeight::get().reads(3 as Weight))97 .saturating_add(T::DbWeight::get().reads(3 as Weight))
98 .saturating_add(T::DbWeight::get().writes(3 as Weight))98 .saturating_add(T::DbWeight::get().writes(3 as Weight))
99 }99 }
104 // Storage: Fungible TotalSupply (r:1 w:1)104 // Storage: Fungible TotalSupply (r:1 w:1)
105 // Storage: Fungible Balance (r:1 w:1)105 // Storage: Fungible Balance (r:1 w:1)
106 fn create_item() -> Weight {106 fn create_item() -> Weight {
107 (15_063_000 as Weight)107 (15_080_000 as Weight)
108 .saturating_add(RocksDbWeight::get().reads(2 as Weight))108 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
109 .saturating_add(RocksDbWeight::get().writes(2 as Weight))109 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
110 }110 }
111 // Storage: Fungible TotalSupply (r:1 w:1)111 // Storage: Fungible TotalSupply (r:1 w:1)
112 // Storage: Fungible Balance (r:4 w:4)112 // Storage: Fungible Balance (r:4 w:4)
113 fn create_multiple_items_ex(b: u32, ) -> Weight {113 fn create_multiple_items_ex(b: u32, ) -> Weight {
114 (18_679_000 as Weight)114 (17_193_000 as Weight)
115 // Standard Error: 7_000115 // Standard Error: 4_000
116 .saturating_add((3_847_000 as Weight).saturating_mul(b as Weight))116 .saturating_add((3_935_000 as Weight).saturating_mul(b as Weight))
117 .saturating_add(RocksDbWeight::get().reads(1 as Weight))117 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
118 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))118 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
119 .saturating_add(RocksDbWeight::get().writes(1 as Weight))119 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
122 // Storage: Fungible TotalSupply (r:1 w:1)122 // Storage: Fungible TotalSupply (r:1 w:1)
123 // Storage: Fungible Balance (r:1 w:1)123 // Storage: Fungible Balance (r:1 w:1)
124 fn burn_item() -> Weight {124 fn burn_item() -> Weight {
125 (15_875_000 as Weight)125 (16_967_000 as Weight)
126 .saturating_add(RocksDbWeight::get().reads(2 as Weight))126 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
127 .saturating_add(RocksDbWeight::get().writes(2 as Weight))127 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
128 }128 }
129 // Storage: Fungible Balance (r:2 w:2)129 // Storage: Fungible Balance (r:2 w:2)
130 fn transfer() -> Weight {130 fn transfer() -> Weight {
131 (17_801_000 as Weight)131 (18_722_000 as Weight)
132 .saturating_add(RocksDbWeight::get().reads(2 as Weight))132 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
133 .saturating_add(RocksDbWeight::get().writes(2 as Weight))133 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
134 }134 }
135 // Storage: Fungible Balance (r:1 w:0)135 // Storage: Fungible Balance (r:1 w:0)
136 // Storage: Fungible Allowance (r:0 w:1)136 // Storage: Fungible Allowance (r:0 w:1)
137 fn approve() -> Weight {137 fn approve() -> Weight {
138 (14_814_000 as Weight)138 (15_772_000 as Weight)
139 .saturating_add(RocksDbWeight::get().reads(1 as Weight))139 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
140 .saturating_add(RocksDbWeight::get().writes(1 as Weight))140 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
141 }141 }
142 // Storage: Fungible Allowance (r:1 w:1)142 // Storage: Fungible Allowance (r:1 w:1)
143 // Storage: Fungible Balance (r:2 w:2)143 // Storage: Fungible Balance (r:2 w:2)
144 fn transfer_from() -> Weight {144 fn transfer_from() -> Weight {
145 (25_305_000 as Weight)145 (26_583_000 as Weight)
146 .saturating_add(RocksDbWeight::get().reads(3 as Weight))146 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
147 .saturating_add(RocksDbWeight::get().writes(3 as Weight))147 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
148 }148 }
149 // Storage: Fungible Allowance (r:1 w:1)149 // Storage: Fungible Allowance (r:1 w:1)
150 // Storage: Fungible TotalSupply (r:1 w:1)150 // Storage: Fungible TotalSupply (r:1 w:1)
151 // Storage: Fungible Balance (r:1 w:1)151 // Storage: Fungible Balance (r:1 w:1)
152 fn burn_from() -> Weight {152 fn burn_from() -> Weight {
153 (23_435_000 as Weight)153 (24_441_000 as Weight)
154 .saturating_add(RocksDbWeight::get().reads(3 as Weight))154 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
155 .saturating_add(RocksDbWeight::get().writes(3 as Weight))155 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
156 }156 }
modifiedpallets/nonfungible/src/weights.rsdiffbeforeafterboth
51 // Storage: Nonfungible TokenData (r:0 w:1)51 // Storage: Nonfungible TokenData (r:0 w:1)
52 // Storage: Nonfungible Owned (r:0 w:1)52 // Storage: Nonfungible Owned (r:0 w:1)
53 fn create_item() -> Weight {53 fn create_item() -> Weight {
54 (23_112_000 as Weight)54 (18_691_000 as Weight)
55 .saturating_add(T::DbWeight::get().reads(2 as Weight))55 .saturating_add(T::DbWeight::get().reads(2 as Weight))
56 .saturating_add(T::DbWeight::get().writes(4 as Weight))56 .saturating_add(T::DbWeight::get().writes(4 as Weight))
57 }57 }
60 // Storage: Nonfungible TokenData (r:0 w:4)60 // Storage: Nonfungible TokenData (r:0 w:4)
61 // Storage: Nonfungible Owned (r:0 w:4)61 // Storage: Nonfungible Owned (r:0 w:4)
62 fn create_multiple_items(b: u32, ) -> Weight {62 fn create_multiple_items(b: u32, ) -> Weight {
63 (27_574_000 as Weight)63 (18_845_000 as Weight)
64 // Standard Error: 9_00064 // Standard Error: 6_000
65 .saturating_add((4_368_000 as Weight).saturating_mul(b as Weight))65 .saturating_add((4_409_000 as Weight).saturating_mul(b as Weight))
66 .saturating_add(T::DbWeight::get().reads(2 as Weight))66 .saturating_add(T::DbWeight::get().reads(2 as Weight))
67 .saturating_add(T::DbWeight::get().writes(2 as Weight))67 .saturating_add(T::DbWeight::get().writes(2 as Weight))
68 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))68 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
72 // Storage: Nonfungible TokenData (r:0 w:4)72 // Storage: Nonfungible TokenData (r:0 w:4)
73 // Storage: Nonfungible Owned (r:0 w:4)73 // Storage: Nonfungible Owned (r:0 w:4)
74 fn create_multiple_items_ex(b: u32, ) -> Weight {74 fn create_multiple_items_ex(b: u32, ) -> Weight {
75 (7_051_000 as Weight)75 (16_170_000 as Weight)
76 // Standard Error: 14_00076 // Standard Error: 17_000
77 .saturating_add((7_294_000 as Weight).saturating_mul(b as Weight))77 .saturating_add((7_275_000 as Weight).saturating_mul(b as Weight))
78 .saturating_add(T::DbWeight::get().reads(1 as Weight))78 .saturating_add(T::DbWeight::get().reads(1 as Weight))
79 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))79 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
80 .saturating_add(T::DbWeight::get().writes(1 as Weight))80 .saturating_add(T::DbWeight::get().writes(1 as Weight))
86 // Storage: Nonfungible Allowance (r:1 w:0)86 // Storage: Nonfungible Allowance (r:1 w:0)
87 // Storage: Nonfungible Owned (r:0 w:1)87 // Storage: Nonfungible Owned (r:0 w:1)
88 fn burn_item() -> Weight {88 fn burn_item() -> Weight {
89 (23_780_000 as Weight)89 (23_809_000 as Weight)
90 .saturating_add(T::DbWeight::get().reads(4 as Weight))90 .saturating_add(T::DbWeight::get().reads(4 as Weight))
91 .saturating_add(T::DbWeight::get().writes(4 as Weight))91 .saturating_add(T::DbWeight::get().writes(4 as Weight))
92 }92 }
95 // Storage: Nonfungible Allowance (r:1 w:0)95 // Storage: Nonfungible Allowance (r:1 w:0)
96 // Storage: Nonfungible Owned (r:0 w:2)96 // Storage: Nonfungible Owned (r:0 w:2)
97 fn transfer() -> Weight {97 fn transfer() -> Weight {
98 (34_259_000 as Weight)98 (27_556_000 as Weight)
99 .saturating_add(T::DbWeight::get().reads(4 as Weight))99 .saturating_add(T::DbWeight::get().reads(4 as Weight))
100 .saturating_add(T::DbWeight::get().writes(5 as Weight))100 .saturating_add(T::DbWeight::get().writes(5 as Weight))
101 }101 }
102 // Storage: Nonfungible TokenData (r:1 w:0)102 // Storage: Nonfungible TokenData (r:1 w:0)
103 // Storage: Nonfungible Allowance (r:1 w:1)103 // Storage: Nonfungible Allowance (r:1 w:1)
104 fn approve() -> Weight {104 fn approve() -> Weight {
105 (17_024_000 as Weight)105 (16_794_000 as Weight)
106 .saturating_add(T::DbWeight::get().reads(2 as Weight))106 .saturating_add(T::DbWeight::get().reads(2 as Weight))
107 .saturating_add(T::DbWeight::get().writes(1 as Weight))107 .saturating_add(T::DbWeight::get().writes(1 as Weight))
108 }108 }
111 // Storage: Nonfungible AccountBalance (r:2 w:2)111 // Storage: Nonfungible AccountBalance (r:2 w:2)
112 // Storage: Nonfungible Owned (r:0 w:2)112 // Storage: Nonfungible Owned (r:0 w:2)
113 fn transfer_from() -> Weight {113 fn transfer_from() -> Weight {
114 (31_708_000 as Weight)114 (31_622_000 as Weight)
115 .saturating_add(T::DbWeight::get().reads(4 as Weight))115 .saturating_add(T::DbWeight::get().reads(4 as Weight))
116 .saturating_add(T::DbWeight::get().writes(6 as Weight))116 .saturating_add(T::DbWeight::get().writes(6 as Weight))
117 }117 }
121 // Storage: Nonfungible AccountBalance (r:1 w:1)121 // Storage: Nonfungible AccountBalance (r:1 w:1)
122 // Storage: Nonfungible Owned (r:0 w:1)122 // Storage: Nonfungible Owned (r:0 w:1)
123 fn burn_from() -> Weight {123 fn burn_from() -> Weight {
124 (28_075_000 as Weight)124 (29_719_000 as Weight)
125 .saturating_add(T::DbWeight::get().reads(4 as Weight))125 .saturating_add(T::DbWeight::get().reads(4 as Weight))
126 .saturating_add(T::DbWeight::get().writes(5 as Weight))126 .saturating_add(T::DbWeight::get().writes(5 as Weight))
127 }127 }
128 // Storage: Nonfungible TokenData (r:1 w:1)128 // Storage: Nonfungible TokenData (r:1 w:1)
129 fn set_variable_metadata(_b: u32, ) -> Weight {129 fn set_variable_metadata(_b: u32, ) -> Weight {
130 (7_658_000 as Weight)130 (8_273_000 as Weight)
131 .saturating_add(T::DbWeight::get().reads(1 as Weight))131 .saturating_add(T::DbWeight::get().reads(1 as Weight))
132 .saturating_add(T::DbWeight::get().writes(1 as Weight))132 .saturating_add(T::DbWeight::get().writes(1 as Weight))
133 }133 }
140 // Storage: Nonfungible TokenData (r:0 w:1)140 // Storage: Nonfungible TokenData (r:0 w:1)
141 // Storage: Nonfungible Owned (r:0 w:1)141 // Storage: Nonfungible Owned (r:0 w:1)
142 fn create_item() -> Weight {142 fn create_item() -> Weight {
143 (23_112_000 as Weight)143 (18_691_000 as Weight)
144 .saturating_add(RocksDbWeight::get().reads(2 as Weight))144 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
145 .saturating_add(RocksDbWeight::get().writes(4 as Weight))145 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
146 }146 }
149 // Storage: Nonfungible TokenData (r:0 w:4)149 // Storage: Nonfungible TokenData (r:0 w:4)
150 // Storage: Nonfungible Owned (r:0 w:4)150 // Storage: Nonfungible Owned (r:0 w:4)
151 fn create_multiple_items(b: u32, ) -> Weight {151 fn create_multiple_items(b: u32, ) -> Weight {
152 (27_574_000 as Weight)152 (18_845_000 as Weight)
153 // Standard Error: 9_000153 // Standard Error: 6_000
154 .saturating_add((4_368_000 as Weight).saturating_mul(b as Weight))154 .saturating_add((4_409_000 as Weight).saturating_mul(b as Weight))
155 .saturating_add(RocksDbWeight::get().reads(2 as Weight))155 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
156 .saturating_add(RocksDbWeight::get().writes(2 as Weight))156 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
157 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))157 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(b as Weight)))
161 // Storage: Nonfungible TokenData (r:0 w:4)161 // Storage: Nonfungible TokenData (r:0 w:4)
162 // Storage: Nonfungible Owned (r:0 w:4)162 // Storage: Nonfungible Owned (r:0 w:4)
163 fn create_multiple_items_ex(b: u32, ) -> Weight {163 fn create_multiple_items_ex(b: u32, ) -> Weight {
164 (7_051_000 as Weight)164 (16_170_000 as Weight)
165 // Standard Error: 14_000165 // Standard Error: 17_000
166 .saturating_add((7_294_000 as Weight).saturating_mul(b as Weight))166 .saturating_add((7_275_000 as Weight).saturating_mul(b as Weight))
167 .saturating_add(RocksDbWeight::get().reads(1 as Weight))167 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
168 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))168 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
169 .saturating_add(RocksDbWeight::get().writes(1 as Weight))169 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
175 // Storage: Nonfungible Allowance (r:1 w:0)175 // Storage: Nonfungible Allowance (r:1 w:0)
176 // Storage: Nonfungible Owned (r:0 w:1)176 // Storage: Nonfungible Owned (r:0 w:1)
177 fn burn_item() -> Weight {177 fn burn_item() -> Weight {
178 (23_780_000 as Weight)178 (23_809_000 as Weight)
179 .saturating_add(RocksDbWeight::get().reads(4 as Weight))179 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
180 .saturating_add(RocksDbWeight::get().writes(4 as Weight))180 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
181 }181 }
184 // Storage: Nonfungible Allowance (r:1 w:0)184 // Storage: Nonfungible Allowance (r:1 w:0)
185 // Storage: Nonfungible Owned (r:0 w:2)185 // Storage: Nonfungible Owned (r:0 w:2)
186 fn transfer() -> Weight {186 fn transfer() -> Weight {
187 (34_259_000 as Weight)187 (27_556_000 as Weight)
188 .saturating_add(RocksDbWeight::get().reads(4 as Weight))188 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
189 .saturating_add(RocksDbWeight::get().writes(5 as Weight))189 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
190 }190 }
191 // Storage: Nonfungible TokenData (r:1 w:0)191 // Storage: Nonfungible TokenData (r:1 w:0)
192 // Storage: Nonfungible Allowance (r:1 w:1)192 // Storage: Nonfungible Allowance (r:1 w:1)
193 fn approve() -> Weight {193 fn approve() -> Weight {
194 (17_024_000 as Weight)194 (16_794_000 as Weight)
195 .saturating_add(RocksDbWeight::get().reads(2 as Weight))195 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
196 .saturating_add(RocksDbWeight::get().writes(1 as Weight))196 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
197 }197 }
200 // Storage: Nonfungible AccountBalance (r:2 w:2)200 // Storage: Nonfungible AccountBalance (r:2 w:2)
201 // Storage: Nonfungible Owned (r:0 w:2)201 // Storage: Nonfungible Owned (r:0 w:2)
202 fn transfer_from() -> Weight {202 fn transfer_from() -> Weight {
203 (31_708_000 as Weight)203 (31_622_000 as Weight)
204 .saturating_add(RocksDbWeight::get().reads(4 as Weight))204 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
205 .saturating_add(RocksDbWeight::get().writes(6 as Weight))205 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
206 }206 }
210 // Storage: Nonfungible AccountBalance (r:1 w:1)210 // Storage: Nonfungible AccountBalance (r:1 w:1)
211 // Storage: Nonfungible Owned (r:0 w:1)211 // Storage: Nonfungible Owned (r:0 w:1)
212 fn burn_from() -> Weight {212 fn burn_from() -> Weight {
213 (28_075_000 as Weight)213 (29_719_000 as Weight)
214 .saturating_add(RocksDbWeight::get().reads(4 as Weight))214 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
215 .saturating_add(RocksDbWeight::get().writes(5 as Weight))215 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
216 }216 }
217 // Storage: Nonfungible TokenData (r:1 w:1)217 // Storage: Nonfungible TokenData (r:1 w:1)
218 fn set_variable_metadata(_b: u32, ) -> Weight {218 fn set_variable_metadata(_b: u32, ) -> Weight {
219 (7_658_000 as Weight)219 (8_273_000 as Weight)
220 .saturating_add(RocksDbWeight::get().reads(1 as Weight))220 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
221 .saturating_add(RocksDbWeight::get().writes(1 as Weight))221 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
222 }222 }
modifiedpallets/refungible/src/weights.rsdiffbeforeafterboth
61 // Storage: Refungible TokenData (r:0 w:1)61 // Storage: Refungible TokenData (r:0 w:1)
62 // Storage: Refungible Owned (r:0 w:1)62 // Storage: Refungible Owned (r:0 w:1)
63 fn create_item() -> Weight {63 fn create_item() -> Weight {
64 (21_044_000 as Weight)64 (22_458_000 as Weight)
65 .saturating_add(T::DbWeight::get().reads(2 as Weight))65 .saturating_add(T::DbWeight::get().reads(2 as Weight))
66 .saturating_add(T::DbWeight::get().writes(6 as Weight))66 .saturating_add(T::DbWeight::get().writes(6 as Weight))
67 }67 }
72 // Storage: Refungible TokenData (r:0 w:4)72 // Storage: Refungible TokenData (r:0 w:4)
73 // Storage: Refungible Owned (r:0 w:4)73 // Storage: Refungible Owned (r:0 w:4)
74 fn create_multiple_items(b: u32, ) -> Weight {74 fn create_multiple_items(b: u32, ) -> Weight {
75 (25_069_000 as Weight)75 (20_491_000 as Weight)
76 // Standard Error: 9_00076 // Standard Error: 9_000
77 .saturating_add((5_721_000 as Weight).saturating_mul(b as Weight))77 .saturating_add((5_754_000 as Weight).saturating_mul(b as Weight))
78 .saturating_add(T::DbWeight::get().reads(2 as Weight))78 .saturating_add(T::DbWeight::get().reads(2 as Weight))
79 .saturating_add(T::DbWeight::get().writes(2 as Weight))79 .saturating_add(T::DbWeight::get().writes(2 as Weight))
80 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))80 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
86 // Storage: Refungible TokenData (r:0 w:4)86 // Storage: Refungible TokenData (r:0 w:4)
87 // Storage: Refungible Owned (r:0 w:4)87 // Storage: Refungible Owned (r:0 w:4)
88 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {88 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
89 (20_379_000 as Weight)89 (18_412_000 as Weight)
90 // Standard Error: 13_00090 // Standard Error: 13_000
91 .saturating_add((8_445_000 as Weight).saturating_mul(b as Weight))91 .saturating_add((8_482_000 as Weight).saturating_mul(b as Weight))
92 .saturating_add(T::DbWeight::get().reads(1 as Weight))92 .saturating_add(T::DbWeight::get().reads(1 as Weight))
93 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))93 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
94 .saturating_add(T::DbWeight::get().writes(1 as Weight))94 .saturating_add(T::DbWeight::get().writes(1 as Weight))
101 // Storage: Refungible Balance (r:0 w:4)101 // Storage: Refungible Balance (r:0 w:4)
102 // Storage: Refungible Owned (r:0 w:4)102 // Storage: Refungible Owned (r:0 w:4)
103 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {103 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
104 (25_605_000 as Weight)104 (12_968_000 as Weight)
105 // Standard Error: 12_000105 // Standard Error: 9_000
106 .saturating_add((6_276_000 as Weight).saturating_mul(b as Weight))106 .saturating_add((6_437_000 as Weight).saturating_mul(b as Weight))
107 .saturating_add(T::DbWeight::get().reads(1 as Weight))107 .saturating_add(T::DbWeight::get().reads(1 as Weight))
108 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))108 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
109 .saturating_add(T::DbWeight::get().writes(3 as Weight))109 .saturating_add(T::DbWeight::get().writes(3 as Weight))
114 // Storage: Refungible AccountBalance (r:1 w:1)114 // Storage: Refungible AccountBalance (r:1 w:1)
115 // Storage: Refungible Owned (r:0 w:1)115 // Storage: Refungible Owned (r:0 w:1)
116 fn burn_item_partial() -> Weight {116 fn burn_item_partial() -> Weight {
117 (24_247_000 as Weight)117 (23_758_000 as Weight)
118 .saturating_add(T::DbWeight::get().reads(3 as Weight))118 .saturating_add(T::DbWeight::get().reads(3 as Weight))
119 .saturating_add(T::DbWeight::get().writes(4 as Weight))119 .saturating_add(T::DbWeight::get().writes(4 as Weight))
120 }120 }
125 // Storage: Refungible TokenData (r:0 w:1)125 // Storage: Refungible TokenData (r:0 w:1)
126 // Storage: Refungible Owned (r:0 w:1)126 // Storage: Refungible Owned (r:0 w:1)
127 fn burn_item_fully() -> Weight {127 fn burn_item_fully() -> Weight {
128 (32_746_000 as Weight)128 (32_262_000 as Weight)
129 .saturating_add(T::DbWeight::get().reads(4 as Weight))129 .saturating_add(T::DbWeight::get().reads(4 as Weight))
130 .saturating_add(T::DbWeight::get().writes(6 as Weight))130 .saturating_add(T::DbWeight::get().writes(6 as Weight))
131 }131 }
132 // Storage: Refungible Balance (r:2 w:2)132 // Storage: Refungible Balance (r:2 w:2)
133 fn transfer_normal() -> Weight {133 fn transfer_normal() -> Weight {
134 (20_270_000 as Weight)134 (20_023_000 as Weight)
135 .saturating_add(T::DbWeight::get().reads(2 as Weight))135 .saturating_add(T::DbWeight::get().reads(2 as Weight))
136 .saturating_add(T::DbWeight::get().writes(2 as Weight))136 .saturating_add(T::DbWeight::get().writes(2 as Weight))
137 }137 }
138 // Storage: Refungible Balance (r:2 w:2)138 // Storage: Refungible Balance (r:2 w:2)
139 // Storage: Refungible AccountBalance (r:1 w:1)139 // Storage: Refungible AccountBalance (r:1 w:1)
140 // Storage: Refungible Owned (r:0 w:1)140 // Storage: Refungible Owned (r:0 w:1)
141 fn transfer_creating() -> Weight {141 fn transfer_creating() -> Weight {
142 (23_980_000 as Weight)142 (23_793_000 as Weight)
143 .saturating_add(T::DbWeight::get().reads(3 as Weight))143 .saturating_add(T::DbWeight::get().reads(3 as Weight))
144 .saturating_add(T::DbWeight::get().writes(4 as Weight))144 .saturating_add(T::DbWeight::get().writes(4 as Weight))
145 }145 }
146 // Storage: Refungible Balance (r:2 w:2)146 // Storage: Refungible Balance (r:2 w:2)
147 // Storage: Refungible AccountBalance (r:1 w:1)147 // Storage: Refungible AccountBalance (r:1 w:1)
148 // Storage: Refungible Owned (r:0 w:1)148 // Storage: Refungible Owned (r:0 w:1)
149 fn transfer_removing() -> Weight {149 fn transfer_removing() -> Weight {
150 (25_635_000 as Weight)150 (25_299_000 as Weight)
151 .saturating_add(T::DbWeight::get().reads(3 as Weight))151 .saturating_add(T::DbWeight::get().reads(3 as Weight))
152 .saturating_add(T::DbWeight::get().writes(4 as Weight))152 .saturating_add(T::DbWeight::get().writes(4 as Weight))
153 }153 }
154 // Storage: Refungible Balance (r:2 w:2)154 // Storage: Refungible Balance (r:2 w:2)
155 // Storage: Refungible AccountBalance (r:2 w:2)155 // Storage: Refungible AccountBalance (r:2 w:2)
156 // Storage: Refungible Owned (r:0 w:2)156 // Storage: Refungible Owned (r:0 w:2)
157 fn transfer_creating_removing() -> Weight {157 fn transfer_creating_removing() -> Weight {
158 (28_782_000 as Weight)158 (28_400_000 as Weight)
159 .saturating_add(T::DbWeight::get().reads(4 as Weight))159 .saturating_add(T::DbWeight::get().reads(4 as Weight))
160 .saturating_add(T::DbWeight::get().writes(6 as Weight))160 .saturating_add(T::DbWeight::get().writes(6 as Weight))
161 }161 }
162 // Storage: Refungible Balance (r:1 w:0)162 // Storage: Refungible Balance (r:1 w:0)
163 // Storage: Refungible Allowance (r:0 w:1)163 // Storage: Refungible Allowance (r:0 w:1)
164 fn approve() -> Weight {164 fn approve() -> Weight {
165 (15_814_000 as Weight)165 (15_894_000 as Weight)
166 .saturating_add(T::DbWeight::get().reads(1 as Weight))166 .saturating_add(T::DbWeight::get().reads(1 as Weight))
167 .saturating_add(T::DbWeight::get().writes(1 as Weight))167 .saturating_add(T::DbWeight::get().writes(1 as Weight))
168 }168 }
169 // Storage: Refungible Allowance (r:1 w:1)169 // Storage: Refungible Allowance (r:1 w:1)
170 // Storage: Refungible Balance (r:2 w:2)170 // Storage: Refungible Balance (r:2 w:2)
171 fn transfer_from_normal() -> Weight {171 fn transfer_from_normal() -> Weight {
172 (29_910_000 as Weight)172 (29_486_000 as Weight)
173 .saturating_add(T::DbWeight::get().reads(3 as Weight))173 .saturating_add(T::DbWeight::get().reads(3 as Weight))
174 .saturating_add(T::DbWeight::get().writes(3 as Weight))174 .saturating_add(T::DbWeight::get().writes(3 as Weight))
175 }175 }
178 // Storage: Refungible AccountBalance (r:1 w:1)178 // Storage: Refungible AccountBalance (r:1 w:1)
179 // Storage: Refungible Owned (r:0 w:1)179 // Storage: Refungible Owned (r:0 w:1)
180 fn transfer_from_creating() -> Weight {180 fn transfer_from_creating() -> Weight {
181 (34_203_000 as Weight)181 (40_096_000 as Weight)
182 .saturating_add(T::DbWeight::get().reads(4 as Weight))182 .saturating_add(T::DbWeight::get().reads(4 as Weight))
183 .saturating_add(T::DbWeight::get().writes(5 as Weight))183 .saturating_add(T::DbWeight::get().writes(5 as Weight))
184 }184 }
187 // Storage: Refungible AccountBalance (r:1 w:1)187 // Storage: Refungible AccountBalance (r:1 w:1)
188 // Storage: Refungible Owned (r:0 w:1)188 // Storage: Refungible Owned (r:0 w:1)
189 fn transfer_from_removing() -> Weight {189 fn transfer_from_removing() -> Weight {
190 (35_887_000 as Weight)190 (35_722_000 as Weight)
191 .saturating_add(T::DbWeight::get().reads(4 as Weight))191 .saturating_add(T::DbWeight::get().reads(4 as Weight))
192 .saturating_add(T::DbWeight::get().writes(5 as Weight))192 .saturating_add(T::DbWeight::get().writes(5 as Weight))
193 }193 }
196 // Storage: Refungible AccountBalance (r:2 w:2)196 // Storage: Refungible AccountBalance (r:2 w:2)
197 // Storage: Refungible Owned (r:0 w:2)197 // Storage: Refungible Owned (r:0 w:2)
198 fn transfer_from_creating_removing() -> Weight {198 fn transfer_from_creating_removing() -> Weight {
199 (38_780_000 as Weight)199 (38_264_000 as Weight)
200 .saturating_add(T::DbWeight::get().reads(5 as Weight))200 .saturating_add(T::DbWeight::get().reads(5 as Weight))
201 .saturating_add(T::DbWeight::get().writes(7 as Weight))201 .saturating_add(T::DbWeight::get().writes(7 as Weight))
202 }202 }
208 // Storage: Refungible TokenData (r:0 w:1)208 // Storage: Refungible TokenData (r:0 w:1)
209 // Storage: Refungible Owned (r:0 w:1)209 // Storage: Refungible Owned (r:0 w:1)
210 fn burn_from() -> Weight {210 fn burn_from() -> Weight {
211 (44_192_000 as Weight)211 (51_791_000 as Weight)
212 .saturating_add(T::DbWeight::get().reads(5 as Weight))212 .saturating_add(T::DbWeight::get().reads(5 as Weight))
213 .saturating_add(T::DbWeight::get().writes(7 as Weight))213 .saturating_add(T::DbWeight::get().writes(7 as Weight))
214 }214 }
215 // Storage: Refungible TokenData (r:1 w:1)215 // Storage: Refungible TokenData (r:1 w:1)
216 fn set_variable_metadata(_b: u32, ) -> Weight {216 fn set_variable_metadata(_b: u32, ) -> Weight {
217 (7_896_000 as Weight)217 (7_658_000 as Weight)
218 .saturating_add(T::DbWeight::get().reads(1 as Weight))218 .saturating_add(T::DbWeight::get().reads(1 as Weight))
219 .saturating_add(T::DbWeight::get().writes(1 as Weight))219 .saturating_add(T::DbWeight::get().writes(1 as Weight))
220 }220 }
229 // Storage: Refungible TokenData (r:0 w:1)229 // Storage: Refungible TokenData (r:0 w:1)
230 // Storage: Refungible Owned (r:0 w:1)230 // Storage: Refungible Owned (r:0 w:1)
231 fn create_item() -> Weight {231 fn create_item() -> Weight {
232 (21_044_000 as Weight)232 (22_458_000 as Weight)
233 .saturating_add(RocksDbWeight::get().reads(2 as Weight))233 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
234 .saturating_add(RocksDbWeight::get().writes(6 as Weight))234 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
235 }235 }
240 // Storage: Refungible TokenData (r:0 w:4)240 // Storage: Refungible TokenData (r:0 w:4)
241 // Storage: Refungible Owned (r:0 w:4)241 // Storage: Refungible Owned (r:0 w:4)
242 fn create_multiple_items(b: u32, ) -> Weight {242 fn create_multiple_items(b: u32, ) -> Weight {
243 (25_069_000 as Weight)243 (20_491_000 as Weight)
244 // Standard Error: 9_000244 // Standard Error: 9_000
245 .saturating_add((5_721_000 as Weight).saturating_mul(b as Weight))245 .saturating_add((5_754_000 as Weight).saturating_mul(b as Weight))
246 .saturating_add(RocksDbWeight::get().reads(2 as Weight))246 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
247 .saturating_add(RocksDbWeight::get().writes(2 as Weight))247 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
248 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))248 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(b as Weight)))
254 // Storage: Refungible TokenData (r:0 w:4)254 // Storage: Refungible TokenData (r:0 w:4)
255 // Storage: Refungible Owned (r:0 w:4)255 // Storage: Refungible Owned (r:0 w:4)
256 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {256 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
257 (20_379_000 as Weight)257 (18_412_000 as Weight)
258 // Standard Error: 13_000258 // Standard Error: 13_000
259 .saturating_add((8_445_000 as Weight).saturating_mul(b as Weight))259 .saturating_add((8_482_000 as Weight).saturating_mul(b as Weight))
260 .saturating_add(RocksDbWeight::get().reads(1 as Weight))260 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
261 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))261 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
262 .saturating_add(RocksDbWeight::get().writes(1 as Weight))262 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
269 // Storage: Refungible Balance (r:0 w:4)269 // Storage: Refungible Balance (r:0 w:4)
270 // Storage: Refungible Owned (r:0 w:4)270 // Storage: Refungible Owned (r:0 w:4)
271 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {271 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
272 (25_605_000 as Weight)272 (12_968_000 as Weight)
273 // Standard Error: 12_000273 // Standard Error: 9_000
274 .saturating_add((6_276_000 as Weight).saturating_mul(b as Weight))274 .saturating_add((6_437_000 as Weight).saturating_mul(b as Weight))
275 .saturating_add(RocksDbWeight::get().reads(1 as Weight))275 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
276 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))276 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(b as Weight)))
277 .saturating_add(RocksDbWeight::get().writes(3 as Weight))277 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
282 // Storage: Refungible AccountBalance (r:1 w:1)282 // Storage: Refungible AccountBalance (r:1 w:1)
283 // Storage: Refungible Owned (r:0 w:1)283 // Storage: Refungible Owned (r:0 w:1)
284 fn burn_item_partial() -> Weight {284 fn burn_item_partial() -> Weight {
285 (24_247_000 as Weight)285 (23_758_000 as Weight)
286 .saturating_add(RocksDbWeight::get().reads(3 as Weight))286 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
287 .saturating_add(RocksDbWeight::get().writes(4 as Weight))287 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
288 }288 }
293 // Storage: Refungible TokenData (r:0 w:1)293 // Storage: Refungible TokenData (r:0 w:1)
294 // Storage: Refungible Owned (r:0 w:1)294 // Storage: Refungible Owned (r:0 w:1)
295 fn burn_item_fully() -> Weight {295 fn burn_item_fully() -> Weight {
296 (32_746_000 as Weight)296 (32_262_000 as Weight)
297 .saturating_add(RocksDbWeight::get().reads(4 as Weight))297 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
298 .saturating_add(RocksDbWeight::get().writes(6 as Weight))298 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
299 }299 }
300 // Storage: Refungible Balance (r:2 w:2)300 // Storage: Refungible Balance (r:2 w:2)
301 fn transfer_normal() -> Weight {301 fn transfer_normal() -> Weight {
302 (20_270_000 as Weight)302 (20_023_000 as Weight)
303 .saturating_add(RocksDbWeight::get().reads(2 as Weight))303 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
304 .saturating_add(RocksDbWeight::get().writes(2 as Weight))304 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
305 }305 }
306 // Storage: Refungible Balance (r:2 w:2)306 // Storage: Refungible Balance (r:2 w:2)
307 // Storage: Refungible AccountBalance (r:1 w:1)307 // Storage: Refungible AccountBalance (r:1 w:1)
308 // Storage: Refungible Owned (r:0 w:1)308 // Storage: Refungible Owned (r:0 w:1)
309 fn transfer_creating() -> Weight {309 fn transfer_creating() -> Weight {
310 (23_980_000 as Weight)310 (23_793_000 as Weight)
311 .saturating_add(RocksDbWeight::get().reads(3 as Weight))311 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
312 .saturating_add(RocksDbWeight::get().writes(4 as Weight))312 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
313 }313 }
314 // Storage: Refungible Balance (r:2 w:2)314 // Storage: Refungible Balance (r:2 w:2)
315 // Storage: Refungible AccountBalance (r:1 w:1)315 // Storage: Refungible AccountBalance (r:1 w:1)
316 // Storage: Refungible Owned (r:0 w:1)316 // Storage: Refungible Owned (r:0 w:1)
317 fn transfer_removing() -> Weight {317 fn transfer_removing() -> Weight {
318 (25_635_000 as Weight)318 (25_299_000 as Weight)
319 .saturating_add(RocksDbWeight::get().reads(3 as Weight))319 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
320 .saturating_add(RocksDbWeight::get().writes(4 as Weight))320 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
321 }321 }
322 // Storage: Refungible Balance (r:2 w:2)322 // Storage: Refungible Balance (r:2 w:2)
323 // Storage: Refungible AccountBalance (r:2 w:2)323 // Storage: Refungible AccountBalance (r:2 w:2)
324 // Storage: Refungible Owned (r:0 w:2)324 // Storage: Refungible Owned (r:0 w:2)
325 fn transfer_creating_removing() -> Weight {325 fn transfer_creating_removing() -> Weight {
326 (28_782_000 as Weight)326 (28_400_000 as Weight)
327 .saturating_add(RocksDbWeight::get().reads(4 as Weight))327 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
328 .saturating_add(RocksDbWeight::get().writes(6 as Weight))328 .saturating_add(RocksDbWeight::get().writes(6 as Weight))
329 }329 }
330 // Storage: Refungible Balance (r:1 w:0)330 // Storage: Refungible Balance (r:1 w:0)
331 // Storage: Refungible Allowance (r:0 w:1)331 // Storage: Refungible Allowance (r:0 w:1)
332 fn approve() -> Weight {332 fn approve() -> Weight {
333 (15_814_000 as Weight)333 (15_894_000 as Weight)
334 .saturating_add(RocksDbWeight::get().reads(1 as Weight))334 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
335 .saturating_add(RocksDbWeight::get().writes(1 as Weight))335 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
336 }336 }
337 // Storage: Refungible Allowance (r:1 w:1)337 // Storage: Refungible Allowance (r:1 w:1)
338 // Storage: Refungible Balance (r:2 w:2)338 // Storage: Refungible Balance (r:2 w:2)
339 fn transfer_from_normal() -> Weight {339 fn transfer_from_normal() -> Weight {
340 (29_910_000 as Weight)340 (29_486_000 as Weight)
341 .saturating_add(RocksDbWeight::get().reads(3 as Weight))341 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
342 .saturating_add(RocksDbWeight::get().writes(3 as Weight))342 .saturating_add(RocksDbWeight::get().writes(3 as Weight))
343 }343 }
346 // Storage: Refungible AccountBalance (r:1 w:1)346 // Storage: Refungible AccountBalance (r:1 w:1)
347 // Storage: Refungible Owned (r:0 w:1)347 // Storage: Refungible Owned (r:0 w:1)
348 fn transfer_from_creating() -> Weight {348 fn transfer_from_creating() -> Weight {
349 (34_203_000 as Weight)349 (40_096_000 as Weight)
350 .saturating_add(RocksDbWeight::get().reads(4 as Weight))350 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
351 .saturating_add(RocksDbWeight::get().writes(5 as Weight))351 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
352 }352 }
355 // Storage: Refungible AccountBalance (r:1 w:1)355 // Storage: Refungible AccountBalance (r:1 w:1)
356 // Storage: Refungible Owned (r:0 w:1)356 // Storage: Refungible Owned (r:0 w:1)
357 fn transfer_from_removing() -> Weight {357 fn transfer_from_removing() -> Weight {
358 (35_887_000 as Weight)358 (35_722_000 as Weight)
359 .saturating_add(RocksDbWeight::get().reads(4 as Weight))359 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
360 .saturating_add(RocksDbWeight::get().writes(5 as Weight))360 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
361 }361 }
364 // Storage: Refungible AccountBalance (r:2 w:2)364 // Storage: Refungible AccountBalance (r:2 w:2)
365 // Storage: Refungible Owned (r:0 w:2)365 // Storage: Refungible Owned (r:0 w:2)
366 fn transfer_from_creating_removing() -> Weight {366 fn transfer_from_creating_removing() -> Weight {
367 (38_780_000 as Weight)367 (38_264_000 as Weight)
368 .saturating_add(RocksDbWeight::get().reads(5 as Weight))368 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
369 .saturating_add(RocksDbWeight::get().writes(7 as Weight))369 .saturating_add(RocksDbWeight::get().writes(7 as Weight))
370 }370 }
376 // Storage: Refungible TokenData (r:0 w:1)376 // Storage: Refungible TokenData (r:0 w:1)
377 // Storage: Refungible Owned (r:0 w:1)377 // Storage: Refungible Owned (r:0 w:1)
378 fn burn_from() -> Weight {378 fn burn_from() -> Weight {
379 (44_192_000 as Weight)379 (51_791_000 as Weight)
380 .saturating_add(RocksDbWeight::get().reads(5 as Weight))380 .saturating_add(RocksDbWeight::get().reads(5 as Weight))
381 .saturating_add(RocksDbWeight::get().writes(7 as Weight))381 .saturating_add(RocksDbWeight::get().writes(7 as Weight))
382 }382 }
383 // Storage: Refungible TokenData (r:1 w:1)383 // Storage: Refungible TokenData (r:1 w:1)
384 fn set_variable_metadata(_b: u32, ) -> Weight {384 fn set_variable_metadata(_b: u32, ) -> Weight {
385 (7_896_000 as Weight)385 (7_658_000 as Weight)
386 .saturating_add(RocksDbWeight::get().reads(1 as Weight))386 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
387 .saturating_add(RocksDbWeight::get().writes(1 as Weight))387 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
388 }388 }
modifiedpallets/unique/src/weights.rsdiffbeforeafterboth
61 // Storage: System Account (r:2 w:2)61 // Storage: System Account (r:2 w:2)
62 // Storage: Common CollectionById (r:0 w:1)62 // Storage: Common CollectionById (r:0 w:1)
63 fn create_collection() -> Weight {63 fn create_collection() -> Weight {
64 (28_650_000 as Weight)64 (29_195_000 as Weight)
65 .saturating_add(T::DbWeight::get().reads(4 as Weight))65 .saturating_add(T::DbWeight::get().reads(4 as Weight))
66 .saturating_add(T::DbWeight::get().writes(4 as Weight))66 .saturating_add(T::DbWeight::get().writes(4 as Weight))
67 }67 }
71 // Storage: Nonfungible TokensBurnt (r:0 w:1)71 // Storage: Nonfungible TokensBurnt (r:0 w:1)
72 // Storage: Common AdminAmount (r:0 w:1)72 // Storage: Common AdminAmount (r:0 w:1)
73 fn destroy_collection() -> Weight {73 fn destroy_collection() -> Weight {
74 (40_437_000 as Weight)74 (38_998_000 as Weight)
75 .saturating_add(T::DbWeight::get().reads(2 as Weight))75 .saturating_add(T::DbWeight::get().reads(2 as Weight))
76 .saturating_add(T::DbWeight::get().writes(5 as Weight))76 .saturating_add(T::DbWeight::get().writes(5 as Weight))
77 }77 }
78 // Storage: Common CollectionById (r:1 w:0)78 // Storage: Common CollectionById (r:1 w:0)
79 // Storage: Common Allowlist (r:0 w:1)79 // Storage: Common Allowlist (r:0 w:1)
80 fn add_to_allow_list() -> Weight {80 fn add_to_allow_list() -> Weight {
81 (15_316_000 as Weight)81 (15_015_000 as Weight)
82 .saturating_add(T::DbWeight::get().reads(1 as Weight))82 .saturating_add(T::DbWeight::get().reads(1 as Weight))
83 .saturating_add(T::DbWeight::get().writes(1 as Weight))83 .saturating_add(T::DbWeight::get().writes(1 as Weight))
84 }84 }
85 // Storage: Common CollectionById (r:1 w:0)85 // Storage: Common CollectionById (r:1 w:0)
86 // Storage: Common Allowlist (r:0 w:1)86 // Storage: Common Allowlist (r:0 w:1)
87 fn remove_from_allow_list() -> Weight {87 fn remove_from_allow_list() -> Weight {
88 (15_189_000 as Weight)88 (14_781_000 as Weight)
89 .saturating_add(T::DbWeight::get().reads(1 as Weight))89 .saturating_add(T::DbWeight::get().reads(1 as Weight))
90 .saturating_add(T::DbWeight::get().writes(1 as Weight))90 .saturating_add(T::DbWeight::get().writes(1 as Weight))
91 }91 }
92 // Storage: Common CollectionById (r:1 w:1)92 // Storage: Common CollectionById (r:1 w:1)
93 fn set_public_access_mode() -> Weight {93 fn set_public_access_mode() -> Weight {
94 (14_695_000 as Weight)94 (14_160_000 as Weight)
95 .saturating_add(T::DbWeight::get().reads(1 as Weight))95 .saturating_add(T::DbWeight::get().reads(1 as Weight))
96 .saturating_add(T::DbWeight::get().writes(1 as Weight))96 .saturating_add(T::DbWeight::get().writes(1 as Weight))
97 }97 }
98 // Storage: Common CollectionById (r:1 w:1)98 // Storage: Common CollectionById (r:1 w:1)
99 fn set_mint_permission() -> Weight {99 fn set_mint_permission() -> Weight {
100 (14_561_000 as Weight)100 (14_239_000 as Weight)
101 .saturating_add(T::DbWeight::get().reads(1 as Weight))101 .saturating_add(T::DbWeight::get().reads(1 as Weight))
102 .saturating_add(T::DbWeight::get().writes(1 as Weight))102 .saturating_add(T::DbWeight::get().writes(1 as Weight))
103 }103 }
104 // Storage: Common CollectionById (r:1 w:1)104 // Storage: Common CollectionById (r:1 w:1)
105 fn change_collection_owner() -> Weight {105 fn change_collection_owner() -> Weight {
106 (15_598_000 as Weight)106 (14_475_000 as Weight)
107 .saturating_add(T::DbWeight::get().reads(1 as Weight))107 .saturating_add(T::DbWeight::get().reads(1 as Weight))
108 .saturating_add(T::DbWeight::get().writes(1 as Weight))108 .saturating_add(T::DbWeight::get().writes(1 as Weight))
109 }109 }
110 // Storage: Common CollectionById (r:1 w:0)110 // Storage: Common CollectionById (r:1 w:0)
111 // Storage: Common IsAdmin (r:1 w:1)111 // Storage: Common IsAdmin (r:1 w:1)
112 // Storage: Common AdminAmount (r:1 w:1)112 // Storage: Common AdminAmount (r:1 w:1)
113 fn add_collection_admin() -> Weight {113 fn add_collection_admin() -> Weight {
114 (20_230_000 as Weight)114 (19_273_000 as Weight)
115 .saturating_add(T::DbWeight::get().reads(3 as Weight))115 .saturating_add(T::DbWeight::get().reads(3 as Weight))
116 .saturating_add(T::DbWeight::get().writes(2 as Weight))116 .saturating_add(T::DbWeight::get().writes(2 as Weight))
117 }117 }
118 // Storage: Common CollectionById (r:1 w:0)118 // Storage: Common CollectionById (r:1 w:0)
119 // Storage: Common IsAdmin (r:1 w:1)119 // Storage: Common IsAdmin (r:1 w:1)
120 // Storage: Common AdminAmount (r:1 w:1)120 // Storage: Common AdminAmount (r:1 w:1)
121 fn remove_collection_admin() -> Weight {121 fn remove_collection_admin() -> Weight {
122 (22_449_000 as Weight)122 (22_351_000 as Weight)
123 .saturating_add(T::DbWeight::get().reads(3 as Weight))123 .saturating_add(T::DbWeight::get().reads(3 as Weight))
124 .saturating_add(T::DbWeight::get().writes(2 as Weight))124 .saturating_add(T::DbWeight::get().writes(2 as Weight))
125 }125 }
126 // Storage: Common CollectionById (r:1 w:1)126 // Storage: Common CollectionById (r:1 w:1)
127 fn set_collection_sponsor() -> Weight {127 fn set_collection_sponsor() -> Weight {
128 (15_619_000 as Weight)128 (15_563_000 as Weight)
129 .saturating_add(T::DbWeight::get().reads(1 as Weight))129 .saturating_add(T::DbWeight::get().reads(1 as Weight))
130 .saturating_add(T::DbWeight::get().writes(1 as Weight))130 .saturating_add(T::DbWeight::get().writes(1 as Weight))
131 }131 }
132 // Storage: Common CollectionById (r:1 w:1)132 // Storage: Common CollectionById (r:1 w:1)
133 fn confirm_sponsorship() -> Weight {133 fn confirm_sponsorship() -> Weight {
134 (15_328_000 as Weight)134 (15_276_000 as Weight)
135 .saturating_add(T::DbWeight::get().reads(1 as Weight))135 .saturating_add(T::DbWeight::get().reads(1 as Weight))
136 .saturating_add(T::DbWeight::get().writes(1 as Weight))136 .saturating_add(T::DbWeight::get().writes(1 as Weight))
137 }137 }
138 // Storage: Common CollectionById (r:1 w:1)138 // Storage: Common CollectionById (r:1 w:1)
139 fn remove_collection_sponsor() -> Weight {139 fn remove_collection_sponsor() -> Weight {
140 (15_005_000 as Weight)140 (15_031_000 as Weight)
141 .saturating_add(T::DbWeight::get().reads(1 as Weight))141 .saturating_add(T::DbWeight::get().reads(1 as Weight))
142 .saturating_add(T::DbWeight::get().writes(1 as Weight))142 .saturating_add(T::DbWeight::get().writes(1 as Weight))
143 }143 }
144 // Storage: Common CollectionById (r:1 w:1)144 // Storage: Common CollectionById (r:1 w:1)
145 fn set_transfers_enabled_flag() -> Weight {145 fn set_transfers_enabled_flag() -> Weight {
146 (7_867_000 as Weight)146 (7_442_000 as Weight)
147 .saturating_add(T::DbWeight::get().reads(1 as Weight))147 .saturating_add(T::DbWeight::get().reads(1 as Weight))
148 .saturating_add(T::DbWeight::get().writes(1 as Weight))148 .saturating_add(T::DbWeight::get().writes(1 as Weight))
149 }149 }
150 // Storage: Common CollectionById (r:1 w:1)150 // Storage: Common CollectionById (r:1 w:1)
151 fn set_offchain_schema(_b: u32, ) -> Weight {151 fn set_offchain_schema(_b: u32, ) -> Weight {
152 (15_644_000 as Weight)152 (15_551_000 as Weight)
153 .saturating_add(T::DbWeight::get().reads(1 as Weight))153 .saturating_add(T::DbWeight::get().reads(1 as Weight))
154 .saturating_add(T::DbWeight::get().writes(1 as Weight))154 .saturating_add(T::DbWeight::get().writes(1 as Weight))
155 }155 }
156 // Storage: Common CollectionById (r:1 w:1)156 // Storage: Common CollectionById (r:1 w:1)
157 fn set_const_on_chain_schema(_b: u32, ) -> Weight {157 fn set_const_on_chain_schema(_b: u32, ) -> Weight {
158 (15_398_000 as Weight)158 (15_298_000 as Weight)
159 .saturating_add(T::DbWeight::get().reads(1 as Weight))159 .saturating_add(T::DbWeight::get().reads(1 as Weight))
160 .saturating_add(T::DbWeight::get().writes(1 as Weight))160 .saturating_add(T::DbWeight::get().writes(1 as Weight))
161 }161 }
162 // Storage: Common CollectionById (r:1 w:1)162 // Storage: Common CollectionById (r:1 w:1)
163 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {163 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {
164 (15_500_000 as Weight)164 (15_734_000 as Weight)
165 .saturating_add(T::DbWeight::get().reads(1 as Weight))165 .saturating_add(T::DbWeight::get().reads(1 as Weight))
166 .saturating_add(T::DbWeight::get().writes(1 as Weight))166 .saturating_add(T::DbWeight::get().writes(1 as Weight))
167 }167 }
168 // Storage: Common CollectionById (r:1 w:1)168 // Storage: Common CollectionById (r:1 w:1)
169 fn set_schema_version() -> Weight {169 fn set_schema_version() -> Weight {
170 (15_097_000 as Weight)170 (14_827_000 as Weight)
171 .saturating_add(T::DbWeight::get().reads(1 as Weight))171 .saturating_add(T::DbWeight::get().reads(1 as Weight))
172 .saturating_add(T::DbWeight::get().writes(1 as Weight))172 .saturating_add(T::DbWeight::get().writes(1 as Weight))
173 }173 }
174 // Storage: Common CollectionById (r:1 w:1)174 // Storage: Common CollectionById (r:1 w:1)
175 fn set_collection_limits() -> Weight {175 fn set_collection_limits() -> Weight {
176 (15_631_000 as Weight)176 (15_592_000 as Weight)
177 .saturating_add(T::DbWeight::get().reads(1 as Weight))177 .saturating_add(T::DbWeight::get().reads(1 as Weight))
178 .saturating_add(T::DbWeight::get().writes(1 as Weight))178 .saturating_add(T::DbWeight::get().writes(1 as Weight))
179 }179 }
180 // Storage: Common CollectionById (r:1 w:1)180 // Storage: Common CollectionById (r:1 w:1)
181 fn set_meta_update_permission_flag() -> Weight {181 fn set_meta_update_permission_flag() -> Weight {
182 (7_469_000 as Weight)182 (7_296_000 as Weight)
183 .saturating_add(T::DbWeight::get().reads(1 as Weight))183 .saturating_add(T::DbWeight::get().reads(1 as Weight))
184 .saturating_add(T::DbWeight::get().writes(1 as Weight))184 .saturating_add(T::DbWeight::get().writes(1 as Weight))
185 }185 }
192 // Storage: System Account (r:2 w:2)192 // Storage: System Account (r:2 w:2)
193 // Storage: Common CollectionById (r:0 w:1)193 // Storage: Common CollectionById (r:0 w:1)
194 fn create_collection() -> Weight {194 fn create_collection() -> Weight {
195 (28_650_000 as Weight)195 (29_195_000 as Weight)
196 .saturating_add(RocksDbWeight::get().reads(4 as Weight))196 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
197 .saturating_add(RocksDbWeight::get().writes(4 as Weight))197 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
198 }198 }
202 // Storage: Nonfungible TokensBurnt (r:0 w:1)202 // Storage: Nonfungible TokensBurnt (r:0 w:1)
203 // Storage: Common AdminAmount (r:0 w:1)203 // Storage: Common AdminAmount (r:0 w:1)
204 fn destroy_collection() -> Weight {204 fn destroy_collection() -> Weight {
205 (40_437_000 as Weight)205 (38_998_000 as Weight)
206 .saturating_add(RocksDbWeight::get().reads(2 as Weight))206 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
207 .saturating_add(RocksDbWeight::get().writes(5 as Weight))207 .saturating_add(RocksDbWeight::get().writes(5 as Weight))
208 }208 }
209 // Storage: Common CollectionById (r:1 w:0)209 // Storage: Common CollectionById (r:1 w:0)
210 // Storage: Common Allowlist (r:0 w:1)210 // Storage: Common Allowlist (r:0 w:1)
211 fn add_to_allow_list() -> Weight {211 fn add_to_allow_list() -> Weight {
212 (15_316_000 as Weight)212 (15_015_000 as Weight)
213 .saturating_add(RocksDbWeight::get().reads(1 as Weight))213 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
214 .saturating_add(RocksDbWeight::get().writes(1 as Weight))214 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
215 }215 }
216 // Storage: Common CollectionById (r:1 w:0)216 // Storage: Common CollectionById (r:1 w:0)
217 // Storage: Common Allowlist (r:0 w:1)217 // Storage: Common Allowlist (r:0 w:1)
218 fn remove_from_allow_list() -> Weight {218 fn remove_from_allow_list() -> Weight {
219 (15_189_000 as Weight)219 (14_781_000 as Weight)
220 .saturating_add(RocksDbWeight::get().reads(1 as Weight))220 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
221 .saturating_add(RocksDbWeight::get().writes(1 as Weight))221 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
222 }222 }
223 // Storage: Common CollectionById (r:1 w:1)223 // Storage: Common CollectionById (r:1 w:1)
224 fn set_public_access_mode() -> Weight {224 fn set_public_access_mode() -> Weight {
225 (14_695_000 as Weight)225 (14_160_000 as Weight)
226 .saturating_add(RocksDbWeight::get().reads(1 as Weight))226 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
227 .saturating_add(RocksDbWeight::get().writes(1 as Weight))227 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
228 }228 }
229 // Storage: Common CollectionById (r:1 w:1)229 // Storage: Common CollectionById (r:1 w:1)
230 fn set_mint_permission() -> Weight {230 fn set_mint_permission() -> Weight {
231 (14_561_000 as Weight)231 (14_239_000 as Weight)
232 .saturating_add(RocksDbWeight::get().reads(1 as Weight))232 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
233 .saturating_add(RocksDbWeight::get().writes(1 as Weight))233 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
234 }234 }
235 // Storage: Common CollectionById (r:1 w:1)235 // Storage: Common CollectionById (r:1 w:1)
236 fn change_collection_owner() -> Weight {236 fn change_collection_owner() -> Weight {
237 (15_598_000 as Weight)237 (14_475_000 as Weight)
238 .saturating_add(RocksDbWeight::get().reads(1 as Weight))238 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
239 .saturating_add(RocksDbWeight::get().writes(1 as Weight))239 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
240 }240 }
241 // Storage: Common CollectionById (r:1 w:0)241 // Storage: Common CollectionById (r:1 w:0)
242 // Storage: Common IsAdmin (r:1 w:1)242 // Storage: Common IsAdmin (r:1 w:1)
243 // Storage: Common AdminAmount (r:1 w:1)243 // Storage: Common AdminAmount (r:1 w:1)
244 fn add_collection_admin() -> Weight {244 fn add_collection_admin() -> Weight {
245 (20_230_000 as Weight)245 (19_273_000 as Weight)
246 .saturating_add(RocksDbWeight::get().reads(3 as Weight))246 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
247 .saturating_add(RocksDbWeight::get().writes(2 as Weight))247 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
248 }248 }
249 // Storage: Common CollectionById (r:1 w:0)249 // Storage: Common CollectionById (r:1 w:0)
250 // Storage: Common IsAdmin (r:1 w:1)250 // Storage: Common IsAdmin (r:1 w:1)
251 // Storage: Common AdminAmount (r:1 w:1)251 // Storage: Common AdminAmount (r:1 w:1)
252 fn remove_collection_admin() -> Weight {252 fn remove_collection_admin() -> Weight {
253 (22_449_000 as Weight)253 (22_351_000 as Weight)
254 .saturating_add(RocksDbWeight::get().reads(3 as Weight))254 .saturating_add(RocksDbWeight::get().reads(3 as Weight))
255 .saturating_add(RocksDbWeight::get().writes(2 as Weight))255 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
256 }256 }
257 // Storage: Common CollectionById (r:1 w:1)257 // Storage: Common CollectionById (r:1 w:1)
258 fn set_collection_sponsor() -> Weight {258 fn set_collection_sponsor() -> Weight {
259 (15_619_000 as Weight)259 (15_563_000 as Weight)
260 .saturating_add(RocksDbWeight::get().reads(1 as Weight))260 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
261 .saturating_add(RocksDbWeight::get().writes(1 as Weight))261 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
262 }262 }
263 // Storage: Common CollectionById (r:1 w:1)263 // Storage: Common CollectionById (r:1 w:1)
264 fn confirm_sponsorship() -> Weight {264 fn confirm_sponsorship() -> Weight {
265 (15_328_000 as Weight)265 (15_276_000 as Weight)
266 .saturating_add(RocksDbWeight::get().reads(1 as Weight))266 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
267 .saturating_add(RocksDbWeight::get().writes(1 as Weight))267 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
268 }268 }
269 // Storage: Common CollectionById (r:1 w:1)269 // Storage: Common CollectionById (r:1 w:1)
270 fn remove_collection_sponsor() -> Weight {270 fn remove_collection_sponsor() -> Weight {
271 (15_005_000 as Weight)271 (15_031_000 as Weight)
272 .saturating_add(RocksDbWeight::get().reads(1 as Weight))272 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
273 .saturating_add(RocksDbWeight::get().writes(1 as Weight))273 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
274 }274 }
275 // Storage: Common CollectionById (r:1 w:1)275 // Storage: Common CollectionById (r:1 w:1)
276 fn set_transfers_enabled_flag() -> Weight {276 fn set_transfers_enabled_flag() -> Weight {
277 (7_867_000 as Weight)277 (7_442_000 as Weight)
278 .saturating_add(RocksDbWeight::get().reads(1 as Weight))278 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
279 .saturating_add(RocksDbWeight::get().writes(1 as Weight))279 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
280 }280 }
281 // Storage: Common CollectionById (r:1 w:1)281 // Storage: Common CollectionById (r:1 w:1)
282 fn set_offchain_schema(_b: u32, ) -> Weight {282 fn set_offchain_schema(_b: u32, ) -> Weight {
283 (15_644_000 as Weight)283 (15_551_000 as Weight)
284 .saturating_add(RocksDbWeight::get().reads(1 as Weight))284 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
285 .saturating_add(RocksDbWeight::get().writes(1 as Weight))285 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
286 }286 }
287 // Storage: Common CollectionById (r:1 w:1)287 // Storage: Common CollectionById (r:1 w:1)
288 fn set_const_on_chain_schema(_b: u32, ) -> Weight {288 fn set_const_on_chain_schema(_b: u32, ) -> Weight {
289 (15_398_000 as Weight)289 (15_298_000 as Weight)
290 .saturating_add(RocksDbWeight::get().reads(1 as Weight))290 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
291 .saturating_add(RocksDbWeight::get().writes(1 as Weight))291 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
292 }292 }
293 // Storage: Common CollectionById (r:1 w:1)293 // Storage: Common CollectionById (r:1 w:1)
294 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {294 fn set_variable_on_chain_schema(_b: u32, ) -> Weight {
295 (15_500_000 as Weight)295 (15_734_000 as Weight)
296 .saturating_add(RocksDbWeight::get().reads(1 as Weight))296 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
297 .saturating_add(RocksDbWeight::get().writes(1 as Weight))297 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
298 }298 }
299 // Storage: Common CollectionById (r:1 w:1)299 // Storage: Common CollectionById (r:1 w:1)
300 fn set_schema_version() -> Weight {300 fn set_schema_version() -> Weight {
301 (15_097_000 as Weight)301 (14_827_000 as Weight)
302 .saturating_add(RocksDbWeight::get().reads(1 as Weight))302 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
303 .saturating_add(RocksDbWeight::get().writes(1 as Weight))303 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
304 }304 }
305 // Storage: Common CollectionById (r:1 w:1)305 // Storage: Common CollectionById (r:1 w:1)
306 fn set_collection_limits() -> Weight {306 fn set_collection_limits() -> Weight {
307 (15_631_000 as Weight)307 (15_592_000 as Weight)
308 .saturating_add(RocksDbWeight::get().reads(1 as Weight))308 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
309 .saturating_add(RocksDbWeight::get().writes(1 as Weight))309 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
310 }310 }
311 // Storage: Common CollectionById (r:1 w:1)311 // Storage: Common CollectionById (r:1 w:1)
312 fn set_meta_update_permission_flag() -> Weight {312 fn set_meta_update_permission_flag() -> Weight {
313 (7_469_000 as Weight)313 (7_296_000 as Weight)
314 .saturating_add(RocksDbWeight::get().reads(1 as Weight))314 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
315 .saturating_add(RocksDbWeight::get().writes(1 as Weight))315 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
316 }316 }