SuperCodeBrah
  • Member for 3 years, 5 months
  • Last seen more than a month ago
2 answers
1 votes
889 views
Can't deploy contract with web3.js and ganache-cli
Accepted answer
2 votes

Found the answer. It turns out that the web3 options aren't exactly optional for Ganache: I had to change: const provider = ganache.provider() const web3 = new Web3(provider); To: const provider ...

View answer
1 answers
1 votes
618 views
Web3 "Transaction ran out of gas" on method that creates a contract
1 votes

Turned out to be a very simple issue. I was tweaking my solidity code and updating the ABI, but not updating the address of the Parent contract after redeploying. I actually had other getter methods ...

View answer