Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing errors in Verifier.sol file #4

Open
junaid02012 opened this issue Feb 26, 2020 · 0 comments
Open

Facing errors in Verifier.sol file #4

junaid02012 opened this issue Feb 26, 2020 · 0 comments

Comments

@junaid02012
Copy link

Hello Everyone,

This is Junaid and I have been working on incorporating ZK SNARKs within a voting application. I am facing some issues regarding the deployment of the contracts.

I am sharing the link for the repo that I have been working on.
https://github.com/Blockchain-E-Voting/EthzkSNARK-Voting/tree/master/contracts

First I am facing the issue in the 'verifier.sol' file for the switch statement. When I tried to resolve it by replacing the switch statement with if/else statement but then the compiler didn't able to identify the 'call' function and threw error 'Call' function not identified. I am using the solc (solidity compiler) version 0.4.23.
It would be great if anyone would help me in getting this application run properly.

Looking forward to your contribution.

Best Regards,

switch error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant