hardhat
hardhat copied to clipboard
Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
Edit by @fvictorio: reproduction steps [here](https://github.com/NomicFoundation/hardhat/issues/2451#issuecomment-1366089200) and [here](https://github.com/NomicFoundation/hardhat/issues/3600). ## Description I've recently upgraded Hardhat to the latest version and one of my [tests](https://github.com/hifi-finance/hifi/blob/f3cb5431edd53945d15557d26d3349858515156e/packages/flash-swap/test/integration/flashUniswapV2/effects/uniswapV2Call/index.ts#L57) started to fail. Did you, by chance,...
Hey, I was trying to simulate an `openTrading` and `transfer` transaction series that happens in the same block but when I try to send two transactions in the same block...
I have a project with a bunch of +10Kb sized contracts, and many tests that work fine. But when I run `hardhat coverage`, I first get the warning, which would...
Currently when the `verify:verify` subtask is executed programmatically to verify contracts (e.g. in a deployment script) it runs the `compile` task as well. The compilation is rerun multiple times during...
When forking other EVM chains (like Avax, Avax testnet, Aurora, Polygon, ...), the blockhash getting from `eth_getBlockByNumber` is not match with the RPC, the reason is: - In this: [ForkBlockchain.ts#L272](https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat-core/src/internal/hardhat-network/provider/fork/ForkBlockchain.ts#L272),...
If you deploy a contract that exceeds the size limit on kovan, you get an error like this (happens both with ethers and with hardhat-truffle5): ``` ProviderError: The execution failed...
- [X] Because this PR includes a **new feature**, it uses the `development` branch as its base branch. - [X] Because this PR includes a **new feature**, the change was...
Fix #1362 Fix #654
Putting the etherscan config within `networks` instead of doing it at the root of the config seems to be a common mistake (see comments in [this issue](https://github.com/NomicFoundation/hardhat/issues/2351)). This PR adds...
When upgrading to undici we introduced two problems: 1. We are not passing the [`bodyTimeout`](https://github.com/nodejs/undici/blob/main/docs/api/Dispatcher.md#parameter-dispatchoptions) [here](https://github.com/NomicFoundation/hardhat/blob/master/packages/hardhat-core/src/internal/core/providers/http.ts#L172) 2. The way we are detecting if an error is a timeout is outdated...