anonymousvoting icon indicating copy to clipboard operation
anonymousvoting copied to clipboard

Problems following the video tutorial

Open teogenesmoura opened this issue 6 years ago • 2 comments

Hi, how are you? I'm using the Open Vote Network as the basis for my final research project as an undergraduate at university. I'm trying to follow the video in the Readme, but I can't seem to compile the contract with the Ethereum Wallet app. I receive the following error:

Could not compile source code. 

 "throw" is deprecated in favour of "revert()", "require()" and "assert()".
            throw;
            ^---^
, 

and trying to correct this only leads to more errors. Is there anything I can do to compile the contracts and deploy them to a private net? Maybe using Truffle instead of the Ethereum Wallet?

teogenesmoura avatar Jun 05 '18 21:06 teogenesmoura

Hi, Just use the 0.8.10 version of Ethereum Wallet. It's a compiler issue.

descampsk avatar Aug 12 '18 22:08 descampsk

Hi @descampsk, I figured that some time ago and it worked. Thanks for the reply!

teogenesmoura avatar Aug 20 '18 19:08 teogenesmoura