edr icon indicating copy to clipboard operation
edr copied to clipboard

Include error details from EDR

Open zemse opened this issue 9 months ago • 0 comments

Describe the feature

Currently if there is an error from EDR, only the name of the error is thrown on the javascript side, with empty data.

https://github.com/NomicFoundation/edr/blob/cffc411f04777f90a40f055e368585c88d3a3102/crates/edr_provider/src/requests/eth/transactions.rs#L460

For e.g. the Invalid Chain id error, it would be great if it could also print the expected and actual chainid.

Search terms

EDR errors

zemse avatar May 23 '24 07:05 zemse