Closed arjunaskykok closed 2 weeks ago
Just to verify, renaming Nonce.vy
to something else doesn't change the behavior does it?
Just to verify, renaming
Nonce.vy
to something else doesn't change the behavior does it?
Nope. The original example is coming from here: https://github.com/PacktPublishing/Hands-On-Blockchain-for-Python-Developers--2nd-Edition/tree/main/chapter_6/voting_app
That's not the only one. Another example is: https://github.com/PacktPublishing/Hands-On-Blockchain-for-Python-Developers--2nd-Edition/tree/main/chapter_16/dex
Many code for my upcoming book are broken with Ape 0.8.
What network / provider are you using?
What network / provider are you using?
I was running the test when I got the error.
(.venv8) $ ape test
What is the provider being used when we're running the test? Don't know. EthereumTester (eth-tester) perhaps?
What is the provider being used when we're running the test? Don't know. EthereumTester (eth-tester) perhaps?
eth-tester is the default but most projects these days use ape-foundry
or ape-hardhat
which offers better tracing support needed for coverage and stuff.
Nonetheless, thank you! This is the info I need to help repro and fix the problem(s). ◡̈
I have a fix incoming for this!
Thanks!
Environment information
ape
and plugin versions: 0.8.2What went wrong?
Here's how to reproduce.
But Ape version 0.7 is fine.
Thank you!