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
94 /// Get the collection handle for the corresponding implementation.94 /// Get the collection handle for the corresponding implementation.
95 fn into_inner(self) -> CollectionHandle<T>;95 fn into_inner(self) -> CollectionHandle<T>;
9696
97 /// Получить реализацию [CommonCollectionOperations].97 /// Get the implementation of [CommonCollectionOperations].
98 fn as_dyn(&self) -> &dyn CommonCollectionOperations<T>;98 fn as_dyn(&self) -> &dyn CommonCollectionOperations<T>;
99}99}
100100
modifiedpallets/common/src/eth.rsdiffbeforeafterboth
--- a/pallets/common/src/eth.rs
+++ b/pallets/common/src/eth.rs
@@ -14,7 +14,7 @@
 // You should have received a copy of the GNU General Public License
 // along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
 
-//! The module contains a number of functions for converting and checking etherium identifiers.
+//! The module contains a number of functions for converting and checking ethereum identifiers.
 
 use up_data_structs::CollectionId;
 use 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