zemse/hardhat-tracer
🕵️ allows you to see internal calls, events and storage operations in the console
7 Releases
Latest: 2y ago
hardhat-tracer v3v3.0.0Latest
This plugin now works on Hardhat version >=2.21 which introduced the EDR.
hardhat-tracer v2v2.0.0
📦 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.2v1.1.0-rc.2Pre-release
📋 Changes
- 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.5v1.0.0-alpha.5Pre-release
📋 Changes
- Fix a bug that incorrect nameTags (949cc72ab3ba71deb48f92d89610da6475272961)
- Expose a ethers provider wrapper (9bb0cedf27df2e7a1acf369799ff9e53aa16cc7e)
hardhat-tracer/v1.0.0-alpha.3v1.0.0-alpha.3Pre-release
📋 Changes
- Fix incompability with hardhat-gas-reporter (#3, 0636282a546ade53b53fdeaa51e024e76e687bec)
- Fix name tag tip content (ef76f1b49737e8754b5213c02f108aefbbed4c46)
hardhat-tracer/v1.0.0-alpha.2v1.0.0-alpha.2Pre-release
📋 Changes
- Fix duplicate name tags in events (#3)
hardhat-tracer/v1.0.0-alpha.1v1.0.0-alpha.1Pre-release
📋 Changes
- Allow printing logs in console while running tests with `--logs` flag
