NomicFoundation / edr

An Ethereum development runtime implementation that can be reused to build new developer tools.
MIT License
58 stars 14 forks source link

Reduce FFI roundtrips when generating Solidity stack trace for requests #682

Open Xanewok opened 2 months ago

Xanewok commented 2 months ago

Currently, there's a lot of back and forth going on between the EDR and Hardhat when we generate a Solidity stack trace for a response that results with an error. Since we now have ported the relevant logic to Rust and released it in Hardhat 2.22.12, we can collapse the paths we take in order to generate the user-facing trace.

We roughly need to:

EDR TS data flow(2)(1)