git.delta.rocks / unique-network / refs/commits / 152d9533b75d

difftreelog

fix gramar

PraetorP2022-11-29parent: #4afba37.patch.diff
in: master

5 files changed

modifiedpallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth
--- a/pallets/proxy-rmrk-core/src/lib.rs
+++ b/pallets/proxy-rmrk-core/src/lib.rs
@@ -178,7 +178,7 @@
 
 use RmrkProperty::*;
 
-/// Maximum number of levels of depth in the token nesting tree.
+/// A maximum number of levels of depth in the token nesting tree.
 pub const NESTING_BUDGET: u32 = 5;
 
 type PendingTarget = (CollectionId, TokenId);
modifiedpallets/unique/src/lib.rsdiffbeforeafterboth
104pub mod weights;104pub mod weights;
105use weights::WeightInfo;105use weights::WeightInfo;
106106
107/// Maximum number of levels of depth in the token nesting tree.107/// A maximum number of levels of depth in the token nesting tree.
108pub const NESTING_BUDGET: u32 = 5;108pub const NESTING_BUDGET: u32 = 5;
109109
110decl_error! {110decl_error! {
279 {279 {
280 type Error = Error<T>;280 type Error = Error<T>;
281281
282 #[doc = "Maximum number of levels of depth in the token nesting tree."]282 #[doc = "A maximum number of levels of depth in the token nesting tree."]
283 const NESTING_BUDGET: u32 = NESTING_BUDGET;283 const NESTING_BUDGET: u32 = NESTING_BUDGET;
284284
285 #[doc = "Maximum length for collection name."]285 #[doc = "Maximal length of a collection name."]
286 const MAX_COLLECTION_NAME_LENGTH: u32 = MAX_COLLECTION_NAME_LENGTH;286 const MAX_COLLECTION_NAME_LENGTH: u32 = MAX_COLLECTION_NAME_LENGTH;
287287
288 #[doc = "Maximum length for collection description."]288 #[doc = "Maximal length of a collection description."]
289 const MAX_COLLECTION_DESCRIPTION_LENGTH: u32 = MAX_COLLECTION_DESCRIPTION_LENGTH;289 const MAX_COLLECTION_DESCRIPTION_LENGTH: u32 = MAX_COLLECTION_DESCRIPTION_LENGTH;
290290
291 #[doc = "Maximal token prefix length."]291 #[doc = "Maximal length of a token prefix."]
292 const MAX_TOKEN_PREFIX_LENGTH: u32 = MAX_TOKEN_PREFIX_LENGTH;292 const MAX_TOKEN_PREFIX_LENGTH: u32 = MAX_TOKEN_PREFIX_LENGTH;
293293
294 #[doc = "Maximum admins per collection."]294 #[doc = "Maximum admins per collection."]
295 const COLLECTION_ADMINS_LIMIT: u32 = COLLECTION_ADMINS_LIMIT;295 const COLLECTION_ADMINS_LIMIT: u32 = COLLECTION_ADMINS_LIMIT;
296296
297 #[doc = "Maximal lenght of property key."]297 #[doc = "Maximal length of a property key."]
298 const MAX_PROPERTY_KEY_LENGTH: u32 = MAX_PROPERTY_KEY_LENGTH;298 const MAX_PROPERTY_KEY_LENGTH: u32 = MAX_PROPERTY_KEY_LENGTH;
299299
300 #[doc = "Maximal lenght of property value."]300 #[doc = "Maximal length of a property value."]
301 const MAX_PROPERTY_VALUE_LENGTH: u32 = MAX_PROPERTY_VALUE_LENGTH;301 const MAX_PROPERTY_VALUE_LENGTH: u32 = MAX_PROPERTY_VALUE_LENGTH;
302302
303 #[doc = "Maximum properties that can be assigned to token."]303 #[doc = "A maximum number of token properties."]
304 const MAX_PROPERTIES_PER_ITEM: u32 = MAX_PROPERTIES_PER_ITEM;304 const MAX_PROPERTIES_PER_ITEM: u32 = MAX_PROPERTIES_PER_ITEM;
305305
306 #[doc = "Maximum size for all collection properties."]306 #[doc = "Maximum size for all collection properties."]
307 const MAX_COLLECTION_PROPERTIES_SIZE: u32 = MAX_COLLECTION_PROPERTIES_SIZE;307 const MAX_COLLECTION_PROPERTIES_SIZE: u32 = MAX_COLLECTION_PROPERTIES_SIZE;
308308
309 #[doc = "Maximum size for all token properties."]309 #[doc = "Maximum size of all token properties."]
310 const MAX_TOKEN_PROPERTIES_SIZE: u32 = MAX_TOKEN_PROPERTIES_SIZE;310 const MAX_TOKEN_PROPERTIES_SIZE: u32 = MAX_TOKEN_PROPERTIES_SIZE;
311311
312 #[doc = "Default NFT collection limit."]312 #[doc = "Default NFT collection limit."]
modifiedprimitives/data-structs/CHANGELOG.mddiffbeforeafterboth
--- a/primitives/data-structs/CHANGELOG.md
+++ b/primitives/data-structs/CHANGELOG.md
@@ -44,4 +44,4 @@
 
 ### Added
 
-- Аields with properties to `CreateReFungibleData` and `CreateRefungibleExData`.
+- Fields with properties to `CreateReFungibleData` and `CreateRefungibleExData`.
modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
--- a/primitives/data-structs/src/lib.rs
+++ b/primitives/data-structs/src/lib.rs
@@ -120,22 +120,22 @@
 // TODO: not used. Delete?
 pub const COLLECTION_FIELD_LIMIT: u32 = CONST_ON_CHAIN_SCHEMA_LIMIT;
 
-/// Maximum length for collection name.
+/// Maximal length of a collection name.
 pub const MAX_COLLECTION_NAME_LENGTH: u32 = 64;
 
-/// Maximum length for collection description.
+/// Maximal length of a collection description.
 pub const MAX_COLLECTION_DESCRIPTION_LENGTH: u32 = 256;
 
-/// Maximal token prefix length.
+/// Maximal length of a token prefix.
 pub const MAX_TOKEN_PREFIX_LENGTH: u32 = 16;
 
-/// Maximal lenght of property key.
+/// Maximal length of a property key.
 pub const MAX_PROPERTY_KEY_LENGTH: u32 = 256;
 
-/// Maximal lenght of property value.
+/// Maximal length of a property value.
 pub const MAX_PROPERTY_VALUE_LENGTH: u32 = 32768;
 
-/// Maximum properties that can be assigned to token.
+/// A maximum number of token properties.
 pub const MAX_PROPERTIES_PER_ITEM: u32 = 64;
 
 /// Maximal lenght of extended property value.
@@ -144,7 +144,7 @@
 /// Maximum size for all collection properties.
 pub const MAX_COLLECTION_PROPERTIES_SIZE: u32 = 40960;
 
-/// Maximum size for all token properties.
+/// Maximum size of all token properties.
 pub const MAX_TOKEN_PROPERTIES_SIZE: u32 = 32768;
 
 /// How much items can be created per single
modifiedtests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth
--- a/tests/src/interfaces/augment-api-consts.ts
+++ b/tests/src/interfaces/augment-api-consts.ts
@@ -255,11 +255,11 @@
        **/
       ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;
       /**
-       * Maximum length for collection description.
+       * Maximal length of a collection description.
        **/
       maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;
       /**
-       * Maximum length for collection name.
+       * Maximal length of a collection name.
        **/
       maxCollectionNameLength: u32 & AugmentedConst<ApiType>;
       /**
@@ -267,27 +267,27 @@
        **/
       maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;
       /**
-       * Maximum properties that can be assigned to token.
+       * A maximum number of token properties.
        **/
       maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;
       /**
-       * Maximal lenght of property key.
+       * Maximal length of a property key.
        **/
       maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;
       /**
-       * Maximal lenght of property value.
+       * Maximal length of a property value.
        **/
       maxPropertyValueLength: u32 & AugmentedConst<ApiType>;
       /**
-       * Maximal token prefix length.
+       * Maximal length of a token prefix.
        **/
       maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;
       /**
-       * Maximum size for all token properties.
+       * Maximum size of all token properties.
        **/
       maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;
       /**
-       * Maximum number of levels of depth in the token nesting tree.
+       * A maximum number of levels of depth in the token nesting tree.
        **/
       nestingBudget: u32 & AugmentedConst<ApiType>;
       /**