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

for whatever reason, it doesn't throw exception. i fixed the test to check for failed tx status instead: https://github.com/pauluhn/election/blob/paul/test/election.js#L54 #64

Open
HimikaP opened this issue Nov 11, 2022 · 0 comments

Comments

@HimikaP
Copy link

HimikaP commented Nov 11, 2022

    for whatever reason, it doesn't throw exception. i fixed the test to check for failed tx status instead: https://github.com/pauluhn/election/blob/paul/test/election.js#L54

Originally posted by @pauluhn in #1 (comment)

I am still getting an error and my "double voting" test is failing

  1. Contract: Election
    vote fails for double voting:
    AssertionError: accepts first vote: expected <BN: 0> to equal 1
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