Closed ice09 closed 6 years ago
The same thing but for web3... and everything: testrpc, ganache-cli, ganache. Looks like it is a bug in web3 or testrpc which both ganache & ganache-cli uses. The most intresting thing is that contract is actually deployed!
By the way it happenes not to all smartcontracts but when deploying some of them. Very strange behaviour.
The solution is to start tesrpc/ganache-cli with params
--gasPrice 1 --gasLimit 10000000000
OR
-g 1 -l 1000000000
This will ensure that you have enought gas for deployment.
Thanks, I wanted to try it, but in the current version the errors is not reproducible anyways. So, for me it is solved with the current version.
Error
When trying to deploy the standard Ballot.sol contract from http://remix.ethereum.org/ with web3 provider connected to ganache at Port 7545 (accounts are read correctly), the following error occurs, independent of chosen gas limit:
Versions