-
-
Notifications
You must be signed in to change notification settings - Fork 783
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
"Invalid Jump Destination" #1091
Comments
@haydenadams does this occur on |
@jacqueswww It occurs on failing web3 function calls that are not constant. |
@jacqueswww wait sorry I misunderstood. You mean Vyper asserts not pytest asserts. Yeah I think thats the case. |
After a lot of digging, I have figured out what is causing this. Doing an invalid jump, was the old method of throwing in a contract, before REVERT came to be.
|
I've noticed that ever since switching to a vyper version using #901 the only error I get (on transactions that should fail) is
eth.exceptions.InvalidJumpDestination: Invalid Jump Destination
Here is my testing setup:
https://github.com/Uniswap/contracts-vyper/blob/master/tests/conftest.py
Version Information
Error Output:
The text was updated successfully, but these errors were encountered: