Jump to content
FIBOS社区
Sign in to follow this  
yesky93

按照教程部署hello合约 遇到cpu limit错误

Recommended Posts

按照这个教程 https://fibos.io/docs/guide/basic/deploycontracts.md.html 来部署合约 

fibos deploy.js

返回错误

{"code":500,"message":"Internal Service Error","error":{"code":3080004,"name":"tx_cpu_usage_exceeded","what":"Transaction exceeded the current CPU usage limit imposed on the transaction","details":[]}}

在本地节点上 也可以看到部署时候发生的错误

2018-09-10T09:42:39.109 thread-1   http_plugin.cpp:473           handle_exception     ] FC Exception encountered while processing chain.push_transaction
2018-09-10T09:42:39.199 thread-1   http_plugin.cpp:474           handle_exception     ] Exception Details: 3080004 tx_cpu_usage_exceeded: Transaction exceeded the current CPU usage limit imposed on the transaction
billed CPU time (209584 us) is greater than the maximum billable CPU time for the transaction (150000 us)
    {"billed":209584,"billable":150000}
    thread-1  transaction_context.cpp:374 validate_cpu_usage_to_bill

请问如何解决? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×