So I am minding my own business, running tests in Ape core and all of a sudden I get random assertions errors in ape-etherscan for now reason... ok.
I really am easily peeved by assertion errors in production code. That should never happen.
So I go and look and comes to find out we are not handling the empty list case at all. So i fix it, and guess what happens? I get something even more dreadful
RuntimeError: No active exception to reraise
what.... why would there ever be an empty raise statement in production code?
So i go and fix that too.
What I did
So I am minding my own business, running tests in Ape core and all of a sudden I get random assertions errors in ape-etherscan for now reason... ok.
I really am easily peeved by assertion errors in production code. That should never happen.
So I go and look and comes to find out we are not handling the empty list case at all. So i fix it, and guess what happens? I get something even more dreadful
what.... why would there ever be an empty raise statement in production code? So i go and fix that too.
How I did it
How to verify it
Run this test in ape core:
Checklist