As shown below, when running truffle deploy contracts are being compiled in /build directory, but they are never migrated to the specified network.
There are NO LOGS at all for truffle deploy to allow debugging of the issue. even while running --versbose-rpc, it shows nothing that makes sense.
I have enough Eth and blockchain is running fine.
I found out what the issue is. I was deploying to a previous backup of geth blockchain, which is not possible in this case.
This has been solved by creating a fresh new blockchain directory and then deploying all the solidity files there.
What bothers here is why truffle doesnt log these issues. I hope they add more and more logging on the next release.
Please verify the folder structure:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.