edr
edr copied to clipboard
Implement stack traces improver based on the heuristics that Hardhat Network has
Under certain situations, Hardhat Network improves the error generated by applying source maps. This is done with heuristics, but not every heuristic does this kind of improvement. We need to understand which are there to improve a stack trace, and which "mix" other kind of information with the stack trace.
Definition of done
- We need a module that gets a stack trace as generated in #252, its EVM trace, and tries to improve it. It should return the same format if possible. Otherwise, we need to define two stack trace formats.