Constant runtime_common::constants::did::MAX_SERVICE_ENDPOINT_BYTE_LENGTH
source · pub const MAX_SERVICE_ENDPOINT_BYTE_LENGTH: u32 = _; // 4_108u32
Expand description
Max length of a single service entry. It is the sum of:
- the maximum service ID length
- the maximum service type length * the maximum number of service types for a single service
- the maximum service URL length * the maximum number of URLs for a single service
- Additional padding bytes to make up for the different encoding size of the different const values (each BoundedVec has additional bytes encoded in compact form indicating the max length of the vec)