NEAR 协议编译错误
大家好,我在附近(@ MacBook M1芯片终端)收到了一个CompilationError,我打电话给Helloworld函数,但我遇到了这个错误。有人知道为什么吗?预先感谢您的帮助:)
near call dev-1649760447277-15731695561522 helloWorld --accountId kadirg.testnet
Scheduling a call: dev-1649760447277-15731695561522.helloWorld()
Doing account.functionCall()
Failure [dev-1649760447277-15731695561522]: Error: Cannot find contract code for account dev-1649760447277-15731695561522
type: 'CodeDoesNotExist'
Hello Guys I got a CompilationError at Near (@ Macbook M1 Chip Terminal) I called the helloWorld function but I got that error. Does anyone have an idea why? Thanks in advance for help :)
near call dev-1649760447277-15731695561522 helloWorld --accountId kadirg.testnet
Scheduling a call: dev-1649760447277-15731695561522.helloWorld()
Doing account.functionCall()
Failure [dev-1649760447277-15731695561522]: Error: Cannot find contract code for account dev-1649760447277-15731695561522
type: 'CodeDoesNotExist'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
入住
“ https://stats.gallery/testnet/dev-1649760447277-15731695561522/contract?t = week?
:
附近testnet
此帐户该帐户没有合同部署。
因此,这不是“编译错误”,也许您没有编译,并且可以肯定您没有部署它。
您需要对其进行编译:
然后进行部署:
您可以遵循本指南:
第一份合同
checking in:
Stats Gallery - Contract
and:
NEAR Testnet
This account has no contract deployed.
So this is not a "Compilation Error", maybe you didn't compiled and for sure you didn't deploy it.
You need to compile it with:
and then deploy with:
You can follow this guide:
First contract AS
您可以检查功能名称
helloworld
在index.ts文件中是正确的吗?Can you check function name
helloWorld
is correct in index.ts file.