-
Notifications
You must be signed in to change notification settings - Fork 24
Build command does not find contract to build #306
Comments
Hey @jem-Solytica, apologies for the slight delay in getting to this one! First up, regarding the contracts apparently not building it sounds like it could be related to the slightly confusing UX in that if you right-click on a contract, the context menu ("Build This Contract", see below) only targets that contract alone vs all of the contracts in the directory. To get it to build all the contracts you need to right-click on the containing directory above or the play-like button above the explorer view (examples of both below). Again, this is possibly a little confusing and something we'll likely change going forward. Regarding deployment, again it's a case of right-clicking the top-level directory or the broadcast icon on the menu above. Apologies for the potential confusion here and let us know if any further questions. 👍 |
Hey again @jem-Solytica, thanks so much for the detailed repo steps! I'm able to reproduce on my side and it's definitely an issue. I've also done a bit of digging and the issue is occurring here...it looks like it might be a regression that got introduced as from memory it used to work. Great that you have a workaround in the interim and we'll aim to get it addressed asap! Thanks again 👍 |
Trying to build a contract from the GUI results in a "Everything is up to date, there is nothing to compile" message and the contract does not compile. It's as though truffle doesn't recognize that the file is located in the
./contracts/
folder.Running the exact GUI-specific command from the CLI provides the same result, but:
Once the contracts are built, there is never an option to deploy them when I right click on the contract.
GUI output
The text was updated successfully, but these errors were encountered: