Open 0xdomrom opened 2 years ago
Hey @0xdomrom I just pointed this to the right branch "develop" and there are some conflicts. Could you please solve those?
On a second thought, maybe don't. This isn't really a fix.
If you're hitting the case where a function name is undefined within a contract that is in the set, then this means that something is wrong beforehand.
Further analysis should be done to fix the code prior to that condition. Would you be OK sharing the code with me synchronously or even doing some synchronous debugging?
Hey @GNSPS thanks for having a look, it can be reproduced on this repo: https://github.com/lyra-finance/lyra-protocol
with the command surya ftrace OptionMarket::openPosition all contracts/OptionMarket.sol -i
The repo uses my branch with the "fix" (more of a bandaid) to produce the correct output.
this same issue shows up in a Foundry project that I am working with. The workaround unblocked the ftrace functionality on it.
Hi all, I have a pretty complex set of contracts and I run into issues when tracing certain functions.
I've isolated the issue to ftrace.js and have been able to resolve the issue by modifying it slightly. Can share the codebase if anyone is interested in reproducing, but it is private at the moment.