max code size exceeded

简介: max code size exceeded

Warning! Error encountered during contract execution [max code size exceeded]

智能合约编译时提示

contracts/core/CORE.sol:15:1: Warning: Contract code size exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
contract KywRouter is IKywRouter02 {
^ (Relevant source part starts here and spans across multiple lines).
UsingForDirective
contracts/core/CORE.sol 15:4
No quick fixes available

大概意思是智能合约字节码的大小超过了24576字节, 尝试将合约部署到以太坊主网时可能会出现问题。


相关文章
|
7月前
Maximum call stack size exceeded报错的原因及解决办法
Maximum call stack size exceeded报错的原因及解决办法
1969 0
|
4月前
|
JSON PHP 数据格式
PHP Allowed memory size of 134217728 bytes exhausted (tried to allocate 10489856 bytes)
PHP Allowed memory size of 134217728 bytes exhausted (tried to allocate 10489856 bytes)
84 2
|
Java 应用服务中间件
【异常】The field file exceeds its maximum permitted size of 1048576 bytes.
【异常】The field file exceeds its maximum permitted size of 1048576 bytes.
172 0
|
移动开发 安全 JavaScript
MAX4/11/03/016/08/1/1/00 MAX-4/11/01/008/08/1/1/00
MAX4/11/03/016/08/1/1/00 MAX-4/11/01/008/08/1/1/00
56 0
C400/A8/1/1/1/00 MAX-4/11/03/128/99/1/0/00
C400/A8/1/1/1/00 MAX-4/11/03/128/99/1/0/00
41 0
|
Java Spring
The field file exceeds its maximum permitted size of 1048576 bytes 文件上传大小受到限制,报错!!
The field file exceeds its maximum permitted size of 1048576 bytes 文件上传大小受到限制,报错!!
780 0
|
Java 应用服务中间件
The field file exceeds its maximum permitted size of 1048576 bytes.
The field file exceeds its maximum permitted size of 1048576 bytes.
|
程序员 算法框架/工具 Caffe
解决办法:error: 'size_t' does not name a type、unknown type name 'size_t'
解决办法:error: 'size_t' does not name a type、unknown type name 'size_t'
753 0
|
小程序
小程序Error: 系统错误,错误码:80200,main package source size 2590KB exceed max limit 2MB
小程序Error: 系统错误,错误码:80200,main package source size 2590KB exceed max limit 2MB
1509 0
小程序Error: 系统错误,错误码:80200,main package source size 2590KB exceed max limit 2MB