nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
421 stars 154 forks source link

智能合约调用方法总是报:contract check failed #80

Open liuchonglin opened 6 years ago

liuchonglin commented 6 years ago

您好,智能合约能正常部署,{"gas_price":"1000000","gas_limit":"2000000","contract_address":"n1nVx7aVXouGW5UZKtf2tpi7wMS6StcYpSm","status":1,"gas_used":"22016"},status=1,但调用save()或takeout()方法时 总是报:{"error":"contract check failed"},请帮忙看看,谢谢~

flashinglight commented 6 years ago

Might worth checking the "to" address is the same with the contract address you just deployed.

ChengOrangeJu commented 6 years ago

Thanks @flashinglight , @liuchonglin please make sure you have the right contract address

liuchonglin commented 6 years ago

It's my fault ,I have ignored the parameter 'to' is the contract address! Thanks @flashinglight @ChengOrangeJu

weiht12 commented 5 years ago

你好,此版本为星云旧版wiki,欢迎将您的问题提交星云新版wiki,以便于及时与星云开发人员及其他社区开发者进行交流。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/ (英文);https://wiki.nebulas.io/zh_CN/latest/ (中文) Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English); https://wiki.nebulas.io/zh_CN/latest/ (Chinese)