hardhat icon indicating copy to clipboard operation
hardhat copied to clipboard

@nomicfoundation/hardhat-chai-matchers fails to decode revert message when method is called indirectly

Open n0thingness opened this issue 1 year ago • 0 comments

Version of Hardhat

2.19.5

What happened?

Hardhat Chai Matchers fails to decode the revert message when the method is called indirectly via a call from another contract.

Minimal reproduction steps

https://github.com/n0thingness/hardhat-chai-matchers-decoding-error

Please pull the repo and run npm install; npx hardhat test;

Search terms

hardhat chai matchers decoding error abi deferred

n0thingness avatar Jan 31 '24 05:01 n0thingness