difftreelog
fix gramar
in: master
5 files changed
pallets/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);
pallets/unique/src/lib.rsdiffbeforeafterboth--- a/pallets/unique/src/lib.rs
+++ b/pallets/unique/src/lib.rs
@@ -104,7 +104,7 @@
pub mod weights;
use weights::WeightInfo;
-/// 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;
decl_error! {
@@ -279,34 +279,34 @@
{
type Error = Error<T>;
- #[doc = "Maximum number of levels of depth in the token nesting tree."]
+ #[doc = "A maximum number of levels of depth in the token nesting tree."]
const NESTING_BUDGET: u32 = NESTING_BUDGET;
- #[doc = "Maximum length for collection name."]
+ #[doc = "Maximal length of a collection name."]
const MAX_COLLECTION_NAME_LENGTH: u32 = MAX_COLLECTION_NAME_LENGTH;
- #[doc = "Maximum length for collection description."]
+ #[doc = "Maximal length of a collection description."]
const MAX_COLLECTION_DESCRIPTION_LENGTH: u32 = MAX_COLLECTION_DESCRIPTION_LENGTH;
- #[doc = "Maximal token prefix length."]
+ #[doc = "Maximal length of a token prefix."]
const MAX_TOKEN_PREFIX_LENGTH: u32 = MAX_TOKEN_PREFIX_LENGTH;
#[doc = "Maximum admins per collection."]
const COLLECTION_ADMINS_LIMIT: u32 = COLLECTION_ADMINS_LIMIT;
- #[doc = "Maximal lenght of property key."]
+ #[doc = "Maximal length of a property key."]
const MAX_PROPERTY_KEY_LENGTH: u32 = MAX_PROPERTY_KEY_LENGTH;
- #[doc = "Maximal lenght of property value."]
+ #[doc = "Maximal length of a property value."]
const MAX_PROPERTY_VALUE_LENGTH: u32 = MAX_PROPERTY_VALUE_LENGTH;
- #[doc = "Maximum properties that can be assigned to token."]
+ #[doc = "A maximum number of token properties."]
const MAX_PROPERTIES_PER_ITEM: u32 = MAX_PROPERTIES_PER_ITEM;
#[doc = "Maximum size for all collection properties."]
const MAX_COLLECTION_PROPERTIES_SIZE: u32 = MAX_COLLECTION_PROPERTIES_SIZE;
- #[doc = "Maximum size for all token properties."]
+ #[doc = "Maximum size of all token properties."]
const MAX_TOKEN_PROPERTIES_SIZE: u32 = MAX_TOKEN_PROPERTIES_SIZE;
#[doc = "Default NFT collection limit."]
primitives/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`.
primitives/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
tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth254 * Default FT collection limit.254 * Default FT collection limit.255 **/255 **/256 ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;256 ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;257 /**257 /**258 * Maximum length for collection description.258 * Maximal length of a collection description.259 **/259 **/260 maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;260 maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;261 /**261 /**262 * Maximum length for collection name.262 * Maximal length of a collection name.263 **/263 **/264 maxCollectionNameLength: u32 & AugmentedConst<ApiType>;264 maxCollectionNameLength: u32 & AugmentedConst<ApiType>;265 /**265 /**266 * Maximum size for all collection properties.266 * Maximum size for all collection properties.267 **/267 **/268 maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;268 maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;269 /**269 /**270 * Maximum properties that can be assigned to token.270 * A maximum number of token properties.271 **/271 **/272 maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;272 maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;273 /**273 /**274 * Maximal lenght of property key.274 * Maximal length of a property key.275 **/275 **/276 maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;276 maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;277 /**277 /**278 * Maximal lenght of property value.278 * Maximal length of a property value.279 **/279 **/280 maxPropertyValueLength: u32 & AugmentedConst<ApiType>;280 maxPropertyValueLength: u32 & AugmentedConst<ApiType>;281 /**281 /**282 * Maximal token prefix length.282 * Maximal length of a token prefix.283 **/283 **/284 maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;284 maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;285 /**285 /**286 * Maximum size for all token properties.286 * Maximum size of all token properties.287 **/287 **/288 maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;288 maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;289 /**289 /**290 * Maximum number of levels of depth in the token nesting tree.290 * A maximum number of levels of depth in the token nesting tree.291 **/291 **/292 nestingBudget: u32 & AugmentedConst<ApiType>;292 nestingBudget: u32 & AugmentedConst<ApiType>;293 /**293 /**294 * Default NFT collection limit.294 * Default NFT collection limit.