Questions tagged [mastering-ethereum]

Content related to/ or from the book Mastering Ethereum.

Filter by
Sorted by
Tagged with
12 votes
1 answer
9k views

Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead [duplicate]

The warning is from running sample code from Mastering Ethereum, I get the above error and it says Use "constructor(...) { ... }" instead. function Migrations() public {
Vignesh Karthikeyan's user avatar
5 votes
2 answers
13k views

Error while buying test ether from https://faucet.metamask.io/ - Mastering Ethereum

I am using Ethereum wallet MetaMask chrome extension and I am connected to Ropsten test network. I am following the instructions from the book Mastering Ethereum: Building Smart Contracts and DApps ...
Joshua DSouza's user avatar