git.delta.rocks / unique-network / refs/commits / e7cef407d08f

difftreelog

change collection creation price and data storage limit. change evm network id

Igor Kozyrev2022-02-17parent: #f522faa.patch.diff
in: master

2 files changed

modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
64// Schema limits64// Schema limits
65pub 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;
6868
69pub 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;
modifiedruntime/src/lib.rsdiffbeforeafterboth
250 pub const SS58Prefix: u8 = 42;250 pub const SS58Prefix: u8 = 42;
251}251}
252252
253/*
2548880 - Unique
2558881 - Quartz
2568882 - Opal
257*/
253parameter_types! {258parameter_types! {
254 pub const ChainId: u64 = 8888;259 pub const ChainId: u64 = 8882;
255}260}
256261
257pub struct FixedFee;262pub struct FixedFee;
874879
875parameter_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}
879884
880impl pallet_common::Config for Runtime {885impl pallet_common::Config for Runtime {