Ubuntu環境下truffle migrate提示「VM Exception while processing transaction: invalid opcode」,合約未能部署成功

在部署項目合約時,使用的以太坊客戶端是testrpc。好不容易通過了編譯,下一步該部署了,結果在truffle migrate後,部署到一半,跳出了一個問題,提示「Error: Returned error: VM Exception while processing transaction: invalid opcode」。 如圖: 在網上找了很多解決辦法。嘗試,將問題解決。 使用Ganache
相關文章
相關標籤/搜索