hardhat
hardhat copied to clipboard
@nomicfoundation/hardhat-chai-matchers fails to decode revert message when method is called indirectly
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