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
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
132132
133/// Collection handle contains information about collection data and id.133/// Collection handle contains information about collection data and id.
134/// Also provides functionality to count consumed gas.134/// Also provides functionality to count consumed gas.
135/// CollectionHandle is used as a generic wrapper for collections of all types.
136/// It allows to perform common operations and queries on any collection type,
137/// both completely general for all, as well as their respective implementations of [CommonCollectionOperations].
135#[must_use = "Should call submit_logs or save, otherwise some data will be lost for evm side"]138#[must_use = "Should call submit_logs or save, otherwise some data will be lost for evm side"]
136pub struct CollectionHandle<T: Config> {139pub struct CollectionHandle<T: Config> {
137 /// Collection id140 /// Collection id