From 53e8da2ad1155f9f91dca2c3b64ab6d4722b6749 Mon Sep 17 00:00:00 2001 From: springrain Date: Tue, 13 Sep 2022 13:43:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9contractNameMaxSize=E6=9C=80?= =?UTF-8?q?=E5=A4=A7=E9=95=BF=E5=BA=A6=E4=B8=BA64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/contract/util.go | 2 +- kernel/permission/acl/utils/def.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/contract/util.go b/kernel/contract/util.go index 3e28bbf2..8dafff9b 100644 --- a/kernel/contract/util.go +++ b/kernel/contract/util.go @@ -10,7 +10,7 @@ var ( ) const ( - contractNameMaxSize = 16 + contractNameMaxSize = 64 contractNameMinSize = 4 ) diff --git a/kernel/permission/acl/utils/def.go b/kernel/permission/acl/utils/def.go index 25b3d713..b737c937 100644 --- a/kernel/permission/acl/utils/def.go +++ b/kernel/permission/acl/utils/def.go @@ -7,7 +7,7 @@ const ( const ( accountSize = 16 - contractNameMaxSize = 16 + contractNameMaxSize = 64 contractNameMinSize = 4 accountPrefix = "XC" accountBucket = "XCAccount"