git.delta.rocks / unique-network / refs/commits / 5bd1ef9e8720

difftreelog

Merge pull request #256 from UniqueNetwork/feature/CORE-255

kozyrevdev2021-12-02parents: #6d5ea17 #93e1344.patch.diff
in: master
change chain limits

1 file changed

modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
31pub const MAX_SPONSOR_TIMEOUT: u32 = 10_368_000;31pub const MAX_SPONSOR_TIMEOUT: u32 = 10_368_000;
3232
33pub const MAX_TOKEN_OWNERSHIP: u32 = if cfg!(not(feature = "limit-testing")) {33pub const MAX_TOKEN_OWNERSHIP: u32 = if cfg!(not(feature = "limit-testing")) {
34 10_000_00034 100_000
35} else {35} else {
36 1036 10
37};37};
61pub const SPONSOR_APPROVE_TIMEOUT: u32 = 5;61pub const SPONSOR_APPROVE_TIMEOUT: u32 = 5;
6262
63// Schema limits63// Schema limits
64pub const OFFCHAIN_SCHEMA_LIMIT: u32 = 1024;64pub const OFFCHAIN_SCHEMA_LIMIT: u32 = 8192;
65pub const VARIABLE_ON_CHAIN_SCHEMA_LIMIT: u32 = 1024;65pub const VARIABLE_ON_CHAIN_SCHEMA_LIMIT: u32 = 8192;
66pub const CONST_ON_CHAIN_SCHEMA_LIMIT: u32 = 1024;66pub const CONST_ON_CHAIN_SCHEMA_LIMIT: u32 = 1048576;
6767
68pub const MAX_COLLECTION_NAME_LENGTH: usize = 64;68pub const MAX_COLLECTION_NAME_LENGTH: usize = 64;
69pub const MAX_COLLECTION_DESCRIPTION_LENGTH: usize = 256;69pub const MAX_COLLECTION_DESCRIPTION_LENGTH: usize = 256;