Questions tagged [mastering-ethereum]

Content related to/ or from the book Mastering Ethereum.

Filter by
Sorted by
Tagged with
12 votes
1 answer

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

Error while buying test ether from - 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