You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set throwOnCallFailures to false with hardhat, the eth_call promise still rejects with the parsed error from ethers, but the matcher fails with the following error:
AssertionError: Expected transaction to be reverted with SomeError(1), but other exception was thrown: Error: call revert exception (method="viewMethodThatReverts()", errorArgs=[1], errorName="SomeError", errorSignature="SomeError(uint8)", reason=null, code=CALL_EXCEPTION, version=abi/5.5.0)
The text was updated successfully, but these errors were encountered:
If you set
throwOnCallFailures
tofalse
with hardhat, theeth_call
promise still rejects with the parsed error from ethers, but the matcher fails with the following error:The text was updated successfully, but these errors were encountered: