edr
edr copied to clipboard
Raw/naive stack trace generation
Definition of done
- We need to create a module that given an EVM trace and a contract identifier, it generates the stack trace of the EVM messages involved.
- This should be exclusively about applying source maps and simulating a solidity call stack.
- It should generate a stack trace with the format defined in #251
- Something similar is implemented in https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat-core/src/internal/hardhat-network/stack-traces/solidityTracer.ts