stonecoldpat / anonymousvoting

Anonymous voting on Ethereum without a tally authority. Protocol from this paper http://homepages.cs.ncl.ac.uk/feng.hao/files/OpenVote_IET.pdf
340 stars 88 forks source link

Problems following the video tutorial #21

Open teogenesmoura opened 6 years ago

teogenesmoura commented 6 years ago

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?

descampsk commented 6 years ago

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

teogenesmoura commented 6 years ago

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