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

difftreelog

fmt

Trubnikov Sergey2022-09-13parent: #b5cee7d.patch.diff
in: master

3 files changed

modifiedpallets/common/src/erc.rsdiffbeforeafterboth
74 ///74 ///
75 /// @param key Property key.75 /// @param key Property key.
76 /// @param value Propery value.76 /// @param value Propery value.
77 #[weight(<SelfWeightOf<T>>::set_collection_properties(1_u32))]77 #[weight(<SelfWeightOf<T>>::set_collection_properties(1))]
78 fn set_collection_property(78 fn set_collection_property(
79 &mut self,79 &mut self,
80 caller: caller,80 caller: caller,
94 /// Delete collection property.94 /// Delete collection property.
95 ///95 ///
96 /// @param key Property key.96 /// @param key Property key.
97 #[weight(<SelfWeightOf<T>>::delete_collection_properties(1_u32))]97 #[weight(<SelfWeightOf<T>>::delete_collection_properties(1))]
98 fn delete_collection_property(&mut self, caller: caller, key: string) -> Result<()> {98 fn delete_collection_property(&mut self, caller: caller, key: string) -> Result<()> {
99 self.consume_store_reads_and_writes(1, 1)?;99 self.consume_store_reads_and_writes(1, 1)?;
100100
modifiedpallets/common/src/eth.rsdiffbeforeafterboth
75 cross_account_id: &T::CrossAccountId,
76) -> (address, uint256)
75where77where
76 T::AccountId: AsRef<[u8; 32]>78 T::AccountId: AsRef<[u8; 32]>,
77{79{
78 if cross_account_id.is_canonical_substrate() {80 if cross_account_id.is_canonical_substrate() {
79 let sub = convert_cross_account_to_uint256::<T>(cross_account_id);81 let sub = convert_cross_account_to_uint256::<T>(cross_account_id);
modifiedpallets/evm-contract-helpers/src/eth.rsdiffbeforeafterboth

no syntactic changes