Skip to content

Hardhat v3.12.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Jul 19:16
b5e4a1d

This release includes two new features: negative test filtering with the --grep-exclude flag for both Solidity tests and Mocha test suite, and experimental Amsterdam "EIP-7843: SLOTNUM" support, see our Amsterdam support guide.

Changes

  • #8442 4904c72 Thanks @ChristopherDedominici! - Support test name filter negation (--grep-exclude) for Solidity and Mocha tests.

  • #8472 2a66c2e Added experimental EIP-7843 support to the Amsterdam hardfork: blocks now include the slotNumber header field, and the SLOTNUM (0x4b) opcode returns it. EDR has no consensus layer, so the value is simulated: it increments by one per mined block, starting at 0 on a new chain, or from the forked block's slot number when forking.

  • #8464 b2b69f7 Thanks @nishant-uxs! - Prefer environment variables over configurationVariables hooks when resolving config vars.

  • #8474 49cc2f0 Thanks @Wodann! - Report chain type to Google Analytics

  • #8458 0c60e08 Thanks @schaable! - Fixed project initialization so that compilation and build output directories are never copied from a template into a new project.

  • #8472 2a66c2e Thanks @kanej! - Fixed empty stack traces on Solidity test failures when running with -vvv or above.

  • #8472 2a66c2e Thanks @kanej! - Fixed missing stack traces when an invariant already fails on its initial check, when running with -vvv or above.

  • #8470 341807c Thanks @kanej! - Update the chokidar runtime dependency to its latest major version.

  • #8470 4a71543 Thanks @kanej! - Update the p-map dependency.

  • #8461 841423a Thanks @kanej! - Reduce installation warnings with updated dependencies.


💡 The Nomic Foundation is hiring! Check our open positions.