Similar to this question, I am trying to debug a setup that is exceeding the default gas limit since upgrading to Truffle 4.
Turning on the newly disabled (by default) optimizer seems to be a commonly suggested solution that commonly does not work (as in my case). I tried increasing the gasLimit
in my truffle.js
file and the contracts indeed compiled and passed their tests as they did with Truffle 3.
I want to find out which contract or contracts are too large and therefore need to be refactored to pass the default gas limits. The error message currently gives no indications which contract or contracts are exceeding block gas limits. Any debugging techniques would be helpful.
Thanks!