New answers tagged

1 vote

Listening to events in unit test using Viem

what I did in the end import ERC20ABI from "@openzeppelin/contracts/build/contracts/ERC20.json"; // [...] it('perform a complex multi-contract operation', async function () { // Load the ...
codekoriko's user avatar
0 votes

Hardhat chai .revertWith() not catching reverted error from Smart Contract

most likely you called wrong method or wrong contract address because in most cases empty revert string will be returned if the contract receives non-existent function selector. Also, you aren't ...
Nulik's user avatar
  • 4,051

Top 50 recent answers are included