From 2e6559774ca997a96a75144303bbc7bd15a0d886 Mon Sep 17 00:00:00 2001 From: Antonio Antonino Date: Mon, 12 Feb 2024 08:04:49 +0100 Subject: [PATCH] Increase service URL size limit --- runtimes/common/src/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtimes/common/src/constants.rs b/runtimes/common/src/constants.rs index d9561acd9..86abaa735 100644 --- a/runtimes/common/src/constants.rs +++ b/runtimes/common/src/constants.rs @@ -385,7 +385,7 @@ pub mod did { pub const MAX_SERVICE_ID_LENGTH: u32 = 50; pub const MAX_SERVICE_TYPE_LENGTH: u32 = 50; pub const MAX_NUMBER_OF_TYPES_PER_SERVICE: u32 = 1; - pub const MAX_SERVICE_URL_LENGTH: u32 = 200; + pub const MAX_SERVICE_URL_LENGTH: u32 = 2_000; pub const MAX_NUMBER_OF_URLS_PER_SERVICE: u32 = 2; parameter_types! {