GitPedia
zemse

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
zemsezemse·2y ago·May 23, 2024
GitHub

This plugin now works on Hardhat version >=2.21 which introduced the EDR.

hardhat-tracer v2v2.0.0
zemsezemse·3y ago·February 18, 2023
GitHub

📦 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
zemsezemse·4y ago·March 27, 2022
GitHub

📋 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
zemsezemse·5y ago·April 19, 2021
GitHub

📋 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
zemsezemse·5y ago·March 23, 2021
GitHub

📋 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
zemsezemse·5y ago·March 23, 2021
GitHub

📋 Changes

  • Fix duplicate name tags in events (#3)
hardhat-tracer/v1.0.0-alpha.1v1.0.0-alpha.1Pre-release
zemsezemse·5y ago·February 20, 2021
GitHub

📋 Changes

  • Allow printing logs in console while running tests with `--logs` flag