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

Add num256 modulo math checks #569

Merged
merged 1 commit into from
Dec 25, 2017

Conversation

DavidKnott
Copy link
Contributor

- What I did

Add num256 modulo checks to make sure that num%zero throws.
Thanks @yzhang90

- How I did it

Added assert_tx_failed tests with num%zero and got them to throw.

- How to verify it

Look at the tests I added

- Description for the changelog

None

- Cute Animal Picture

image

@DavidKnott DavidKnott merged commit c0c50da into vyperlang:master Dec 25, 2017
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

Successfully merging this pull request may close these issues.

2 participants