Open
Wodann
opened this issue 1 year ago
•
0 comments
Definition of done
We need to define a Rust type to represent a solidity stack trace.
It should be similar to https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat-core/src/internal/hardhat-network/stack-traces/solidity-stack-trace.ts
We don't want to copy 1:1 though, as that version has a design error: it mixes information about the solidity stack trace, the decoded returndata, and errors inferred by us. This limits how we can present it to the user.
Our new format should be exclusively about the stack trace information.