松露+ NPM异常
启动前端应用程序时,我将在Chrome控制台屏幕中获得以下例外。你能帮我如何找出这个问题吗
index.ts:261 Uncaught (in promise) Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="bets(uint8)", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.6.1)
at Logger.makeError (index.ts:261:1)
at Logger.throwError (index.ts:273:1)
at Interface.decodeFunctionResult (interface.ts:429:1)
at Contract.<anonymous> (index.ts:400:1)
at Generator.next (<anonymous>)
at fulfilled (index.ts:1:1)
I am getting the following exception in Chrome console screen when I start my frontend app. Can you help me how to figure out the issue
index.ts:261 Uncaught (in promise) Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="bets(uint8)", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.6.1)
at Logger.makeError (index.ts:261:1)
at Logger.throwError (index.ts:273:1)
at Interface.decodeFunctionResult (interface.ts:429:1)
at Contract.<anonymous> (index.ts:400:1)
at Generator.next (<anonymous>)
at fulfilled (index.ts:1:1)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
显然我忘了将合同张贴在松露中
Apparently I forgot to post the contracts in truffle