Error: The contract code couldn't be stored, please check your gas amount. whenever I deploy to any test network (rinkeby, ropsten) or the live network. Deploy to a local Ganache works perfect.
According to other SE, GH and Medium posts, I realize this doesn't necessarily means I'm lacking gas, rather that the deployed EVM byte code is too large.
I'm using Truffle of course.
How can I tell how large the deployed code is???