git.delta.rocks / unique-network / refs/commits / 31c5482db3c6

difftreelog

doc: Fix PR

Trubnikov Sergey2022-07-15parent: #7dcd3b7.patch.diff
in: master

3 files changed

modifiedpallets/common/src/dispatch.rsdiffbeforeafterboth
--- a/pallets/common/src/dispatch.rs
+++ b/pallets/common/src/dispatch.rs
@@ -94,6 +94,6 @@
 	/// Get the collection handle for the corresponding implementation.
 	fn into_inner(self) -> CollectionHandle<T>;
 
-	/// Получить реализацию [CommonCollectionOperations].
+	/// Get the implementation of [CommonCollectionOperations].
 	fn as_dyn(&self) -> &dyn CommonCollectionOperations<T>;
 }
modifiedpallets/common/src/eth.rsdiffbeforeafterboth
14// You should have received a copy of the GNU General Public License14// You should have received a copy of the GNU General Public License
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17//! The module contains a number of functions for converting and checking etherium identifiers.17//! The module contains a number of functions for converting and checking ethereum identifiers.
1818
19use up_data_structs::CollectionId;19use up_data_structs::CollectionId;
20use sp_core::H160;20use sp_core::H160;
modifiedpallets/common/src/lib.rsdiffbeforeafterboth
--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -132,6 +132,9 @@
 
 /// Collection handle contains information about collection data and id.
 /// Also provides functionality to count consumed gas.
+/// CollectionHandle is used as a generic wrapper for collections of all types.
+/// It allows to perform common operations and queries on any collection type,
+/// both completely general for all, as well as their respective implementations of [CommonCollectionOperations].
 #[must_use = "Should call submit_logs or save, otherwise some data will be lost for evm side"]
 pub struct CollectionHandle<T: Config> {
 	/// Collection id