git.delta.rocks / unique-network / refs/commits / 85380b555aab

difftreelog

cargo fmt

Daniel Shiposha2022-07-04parent: #64965b2.patch.diff
in: master

2 files changed

modifiedpallets/nonfungible/src/common.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/common.rs
+++ b/pallets/nonfungible/src/common.rs
@@ -225,7 +225,14 @@
 		let weight = <CommonWeights<T>>::set_token_properties(properties.len() as u32);
 
 		with_weight(
-			<Pallet<T>>::set_token_properties(self, &sender, token_id, properties, false, nesting_budget),
+			<Pallet<T>>::set_token_properties(
+				self,
+				&sender,
+				token_id,
+				properties,
+				false,
+				nesting_budget,
+			),
 			weight,
 		)
 	}
@@ -240,7 +247,13 @@
 		let weight = <CommonWeights<T>>::delete_token_properties(property_keys.len() as u32);
 
 		with_weight(
-			<Pallet<T>>::delete_token_properties(self, &sender, token_id, property_keys, nesting_budget),
+			<Pallet<T>>::delete_token_properties(
+				self,
+				&sender,
+				token_id,
+				property_keys,
+				nesting_budget,
+			),
 			weight,
 		)
 	}
modifiedpallets/nonfungible/src/erc.rsdiffbeforeafterboth
93 collection: self,92 collection: self,
94 token_id: TokenId(token_id),93 token_id: TokenId(token_id),
95 is_token_create,94 is_token_create,
96 nesting_budget: &nesting_budget95 nesting_budget: &nesting_budget,
97 });96 });
9897
99 <Pallet<T>>::set_token_property(Property { key, value }, &mut guard)98 <Pallet<T>>::set_token_property(Property { key, value }, &mut guard)
118 collection: self,116 collection: self,
119 token_id: TokenId(token_id),117 token_id: TokenId(token_id),
120 is_token_create,118 is_token_create,
121 nesting_budget: &nesting_budget119 nesting_budget: &nesting_budget,
122 });120 });
123121
124 <Pallet<T>>::delete_token_property(key, &mut guard).map_err(dispatch_to_evm::<T>)122 <Pallet<T>>::delete_token_property(key, &mut guard).map_err(dispatch_to_evm::<T>)