EthereumCasts
EthereumCasts copied to clipboard
Companion repo to an Ethereum/Solidity course on Udemy
You constructor function has stopped working instead we have to use construct keyword. as well as a memory keyword. I am also facing similar problems in the compiler and other...
I'm getting `creation of CampaignFactory errored: transaction execution failed` error when trying to deploy CampaignFactory to JS VM. Plus Campaign's contract constructor should be marked as payable
Lecture 90 Compiled successfully but received Uncaught promise in console, I did read in some other post that there maybe change to Metamask in November 2018: > Uncaught (in promise)...
``` function finalizeRequest(uint index) public restricted { Request storage request = requests[index]; require(request.approvalCount > (approversCount / 2)); require(!request.complete); request.recipient.transfer(request.value); request.complete = true; } ``` When we are sending money to...
Kept receiving the error "UnhandledPromiseRejectionWarning: Error: The contract code couldn't be stored, please check your gas limit" when trying to deploy the Inbox contract with node. Seems there is some...
The line assert(false); throws an exception and its handled by the catch clause, so test may show a false positive.
Following code in `Lotter.test.js` should explicitly convert output of `web3.utils.toWei` to `int` as `parseInt(await web3.utils.toWei('0.01', 'ether')`. I understand the type casting implicit conversion but for pedagogical purpose above seems more...
In EthereumCasts/kickstart/test/Campaign.test.js and in the other test.js files the provider changes are missing - so they don't work... `const provider = ganache.provider(); const myweb3 = new Web3(provider);` and in beforeEach()...