difftreelog
Merge pull request #273 from UniqueNetwork/feature/CORE-269
in: master
3 files changed
pallets/common/src/lib.rsdiffbeforeafterboth163163164 type Currency: Currency<Self::AccountId>;164 type Currency: Currency<Self::AccountId>;165166 #[pallet::constant]165 type CollectionCreationPrice: Get<167 type CollectionCreationPrice: Get<166 <<Self as Config>::Currency as Currency<Self::AccountId>>::Balance,168 <<Self as Config>::Currency as Currency<Self::AccountId>>::Balance,167 >;169 >;primitives/data-structs/src/lib.rsdiffbeforeafterboth64// Schema limits64// Schema limits65pub const OFFCHAIN_SCHEMA_LIMIT: u32 = 8192;65pub const OFFCHAIN_SCHEMA_LIMIT: u32 = 8192;66pub const VARIABLE_ON_CHAIN_SCHEMA_LIMIT: u32 = 8192;66pub const VARIABLE_ON_CHAIN_SCHEMA_LIMIT: u32 = 8192;67pub const CONST_ON_CHAIN_SCHEMA_LIMIT: u32 = 1048576;67pub const CONST_ON_CHAIN_SCHEMA_LIMIT: u32 = 32768;686869pub const MAX_COLLECTION_NAME_LENGTH: u32 = 64;69pub const MAX_COLLECTION_NAME_LENGTH: u32 = 64;70pub const MAX_COLLECTION_DESCRIPTION_LENGTH: u32 = 256;70pub const MAX_COLLECTION_DESCRIPTION_LENGTH: u32 = 256;runtime/src/lib.rsdiffbeforeafterboth250 pub const SS58Prefix: u8 = 42;250 pub const SS58Prefix: u8 = 42;251}251}252252253/*2548880 - Unique2558881 - Quartz2568882 - Opal257*/253parameter_types! {258parameter_types! {254 pub const ChainId: u64 = 8888;259 pub const ChainId: u64 = 8882;255}260}256261257pub struct FixedFee;262pub struct FixedFee;874879875parameter_types! {880parameter_types! {876 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();881 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();877 pub const CollectionCreationPrice: Balance = 100 * UNIQUE;882 pub const CollectionCreationPrice: Balance = 2 * UNIQUE;878}883}879884880impl pallet_common::Config for Runtime {885impl pallet_common::Config for Runtime {