[Dapp]發生Attempting to run transaction which calls a contract function, but recipient address 0 xdfbcbf6aa1667c94542fa134f128978be31ba9e5 is not a contract address
當發生
Attempting to run transaction which calls a contract function, but recipient address 0
xdfbcbf6aa1667c94542fa134f128978be31ba9e5 is not a contract address
是因為之前compiler 已經上傳到不同網路,需要把build\contracts 的 *.json 當刪除
然後再重新
truffle compile
然後再 deploy
truffle migrate --reset --network development
就可以解決了
Attempting to run transaction which calls a contract function, but recipient address 0
xdfbcbf6aa1667c94542fa134f128978be31ba9e5 is not a contract address
是因為之前compiler 已經上傳到不同網路,需要把build\contracts 的 *.json 當刪除
然後再重新
truffle compile
然後再 deploy
truffle migrate --reset --network development
就可以解決了
留言
張貼留言