:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
If I pass --gasLimit or --gasPrice multiple times (as I was accidentally doing while starting ganache programmitically), it successfully starts but the price and block limit are set to arrays containing all of the values passed. The error messages returned are then very unhelpful (e.g. Exceeds block gas limit), when really the problem is that the gas limit is an array.
If I pass
--gasLimit
or--gasPrice
multiple times (as I was accidentally doing while starting ganache programmitically), it successfully starts but the price and block limit are set to arrays containing all of the values passed. The error messages returned are then very unhelpful (e.g.Exceeds block gas limit
), when really the problem is that the gas limit is an array.