Skip to content

Problems following the video tutorial #21

@oteomoura

Description

@oteomoura

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions