Simple assert failure results in impossible stack trace. #1350
LinuxIsCool
started this conversation in
General
Replies: 1 comment 1 reply
-
Yes, we are working on adding true stack trace support to ape soon. Currently, you are seeing the python stack trace, which as you note isn't very helpful at all with debugging. Adding this feature is taking some significant effort, but we will be able to release it soon in the mean time, try |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It took me two days to figure out that my contract failure was from a simple assert statement. I don't see any reference to the assert statement anywhere in the massive stack trace. Is there a better way to debug a contract? Am I missing something?
From the open auction contract here: https://docs.vyperlang.org/en/stable/vyper-by-example.html
Contract:
Test:
Stack Trace:
Beta Was this translation helpful? Give feedback.
All reactions