Releases: zemse/hardhat-tracer
Releases · zemse/hardhat-tracer
hardhat-tracer v3
hardhat-tracer v2
Improvements
- Performance improvements by directly using hardhat vm. Consumes minimal RAM as compared to v1 implementation.
tracecall
task allows to perform arbitary calls on mainnet to inspect state.- State overrides allows to set storage, bytecode, balance, nonce for any address, which can be useful to see how a mainnet tx trace would be with local solidity contracts code (containing any console logs for mainnet debugging).
- Faster abi decoding by using 4byte directory.
- Allows to print trace for just failed txs or calls while running tests using
--v
or--vv
, or everything using--vvv
or--vvvv
. - Adds chai assertion method for expecting internal message calls, e.g.
expect(hre.tracer.lastTrace()).to.have.messageCall(await contract.populateTransaction.someMethodInCalledInTx(param1, param2))
- Export trace in JSON formats.
hardhat-tracer/v1.1.0-rc.2
- Added support for viewing message calls/internal transactions in hardhat tests.
- Added a
trace
task to generate trace for a mainnet transaction.
hardhat-tracer/v1.0.0-alpha.5
import { wrapEthersProvider } from "hardhat-tracer/dist/src/wrapper";
import { artifacts } from "hardhat";
const provider = new ethers.providers.InfuraProvider("kovan"); // Only JsonRpcProvider and derived providers supported
const providerWithTracer = wrapEthersProvider(provider, artifacts);
hardhat-tracer/v1.0.0-alpha.3
hardhat-tracer/v1.0.0-alpha.2
- Fix duplicate name tags in events (#3)
hardhat-tracer/v1.0.0-alpha.1
- Allow printing logs in console while running tests with
--logs
flag