Booted up ganache with this command:
ganache-cli --gasLimit=0x1fffffffffffff --allowUnlimitedContractSize -e 1000000000
because I was running into this error on
truffle migrate in my development environment:
"ContractName" ran out of gas. Something in the constructor (ex: infinite loop) caused gas estimation to fail. Try: * Making your contract constructor more efficient * Setting the gas manually in your config or as a deployment parameter * Using the solc optimizer settings in 'truffle-config.js' * Setting a higher network block limit if you are on a private network or test client (like ganache).
Was my contract failing because it's too big or is it just an issue with Truffle? Said another way, by running this ganache command am I just kicking the can down the road?