Skip to content

Releases: zemse/hardhat-tracer

hardhat-tracer v3

23 May 06:01
97be297
Compare
Choose a tag to compare

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

hardhat-tracer v2

18 Feb 17:47
69cf2c2
Compare
Choose a tag to compare

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

27 Mar 20:20
74ac648
Compare
Choose a tag to compare
Pre-release
  • 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

19 Apr 20:20
a49115b
Compare
Choose a tag to compare
Pre-release
  • Fix a bug that incorrect nameTags (949cc72)
  • Expose a ethers provider wrapper (9bb0ced)
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

23 Mar 00:58
bccebe7
Compare
Choose a tag to compare
Pre-release
  • Fix incompability with hardhat-gas-reporter (#3, 0636282)
  • Fix name tag tip content (ef76f1b)

hardhat-tracer/v1.0.0-alpha.2

23 Mar 00:56
7139c2f
Compare
Choose a tag to compare
Pre-release
  • Fix duplicate name tags in events (#3)

hardhat-tracer/v1.0.0-alpha.1

20 Feb 10:37
bbddf78
Compare
Choose a tag to compare
Pre-release
  • Allow printing logs in console while running tests with --logs flag