New answers tagged

0 votes

Property 'revertedWith' does not exist on type 'Assertion'

I'm using typescript, and for me, this code solves the problem: import chai, { expect } from "chai"; import { solidity } from "ethereum-waffle"; chai.use(solidity); cheers.
Y YYY's user avatar
  • 1
0 votes

Hardhat Errors: Invalid value null supplied to : QUANTITY

I commented out the forking url that I had pasted in the Hardhat.config.ts file. The test cases run easily. Looks like the mainnet rpc url used in forking was not working at times
Pankaj Jagtap's user avatar
0 votes

Error: you must provide the json interface of the contract when instantiating a contract object

Here you have another example to load contracts with no require function. Working on Web3.js v4 2024 const loadContracts = async () => { const networkID = await; ...
Seelen Meister's user avatar

Top 50 recent answers are included