3

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.

Truffle.js config Truffle Config

Eth Amount Eth Amount

Truffle Deploy --network NetworkName Result Deploy Result

Ghassan Zein
  • 4,089
  • 3
  • 19
  • 30

2 Answers2

1

Please verify the folder structure:

truffle's folder structure

Gaskoin
  • 2,469
  • 13
  • 22
Silicon Socket
  • 121
  • 2
  • 2
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Oct 20 '21 at 09:25
0

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.

Ghassan Zein
  • 4,089
  • 3
  • 19
  • 30