I have been developing my contracts using the truffle framework. Everything has been fine, but now when running tests for one of my contracts I am getting the error
The contract code couldn't be stored, please check your gas amount. I'd like to reference EIP-170 as I haven't seen other questions regarding this error reference it.
There is in fact a hard limit on the size of contracts. How can I determine if my contract exceeds the size set forth in EIP 170, if it is a problem with truffle, or if it is a problem with my code.