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"