edr icon indicating copy to clipboard operation
edr copied to clipboard

Port the Error inferred from Hardhat Network

Open alcuadrado opened this issue 1 year ago • 0 comments

We have multiple heuristics implemented in https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat-core/src/internal/hardhat-network/stack-traces/error-inferrer.ts

We need to split the ones that decode returndata (covered in #250) from the ones that improve stack traces (covered in #261), and the ones that detect common error scenarios (covered by this issue).

Definition of done

  • We need to port all the heuristics in error-inferred.ts

alcuadrado avatar Dec 23 '23 21:12 alcuadrado