gpt4 book ai didi

blockchain - 在 remix Ide 中,这个通知是什么意思? "You have not set a script to run. Set it with @custom:dev-run-script NatSpec tag"

转载 作者:行者123 更新时间:2023-12-05 08:03:06 24 4
gpt4 key购买 nike

You have not set a script to run. Set it with @custom:dev-run-script NatSpec tag

The notification message

我在Remix IDE中写了一个简单的Hello World程序。

最佳答案

这是一个简单的修复 -只需在宣布契约(Contract)之前添加这些行即可。

  /**
* @title ContractName
* @dev ContractDescription
* @custom:dev-run-script file_path
*/
contract ContractName {}

here 了解更多信息

关于blockchain - 在 remix Ide 中,这个通知是什么意思? "You have not set a script to run. Set it with @custom:dev-run-script NatSpec tag",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74492453/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com