Closed xrchz closed 3 months ago
Interesting. The recursion error comes from our non-reentrant function (Added in this PR: https://github.com/ApeWorX/ape/pull/1503)
Which I thought existed for unrelated reasons to testing.
I'll investigate more.
I see some weird things probably related this in the test code, like the usage of internal methods rather than public ape apis.
for example:
project._get_attr('ETH-pipe')
should probably be
project.get_contract('ETH-pipe')
etc.
Edit: after i fixed this locally, I was able to reproduce the failure.
Yes sorry I already had that fix but hadn't committed - now committed it.
OK so we fixed the bug, thank you so much for raising this issue. It is not only a bug-fix but a performance upgrade as well (going to try and do some measuring on that).
Environment information
ape
and plugin versions:ape-config.yaml
(NOTE: do not post anything private like RPC urls or secrets!):›What went wrong?
Please include information like:
ape test --network :mainnet-fork --nf --sw
How can it be fixed?
Fill this in if you have ideas on how the bug could be fixed.