Skip to content

1.0.9-viem.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@cgewecke cgewecke released this 31 Jan 02:38
· 71 commits to master since this release
bae9546

This pre-release contains a work-around patch to make the gas reporter work with Hardhat's viem tooling. It can be installed with:

npm install --save-dev hardhat-gas-reporter@viem

⚠️ Important: for the plugin to work correctly, it must be listed before the hardhat-viem plugin in hardhat.config.ts e.g

import "hardhat-gas-reporter" // <--- first
import "@nomicfoundation/hardhat-toolbox-viem"

There is ongoing work to make this part of the normally published package in #167 but it will not be released until v2.0 (probably end of February at the earliest).