8000 GitHub - zemse/hardhat-tracer at v1.0.0-alpha.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zemse/hardhat-tracer

Repository files navigation

hardhat-tracer 🕵️

Allows you to see emitted events when running your tests.

Installation

Step 1: Install the package

npm i hardhat-tracer

Step 2: Add to your hardhat.config.js file

require("hardhat-tracer");

Usage

Just add the --logs after your test command.

npx hardhat test --logs

Console test

Address name tags

You can set display names / name tags for address by adding new entry to hre.tracer.nameTags object in your test cases, see following example:

hre.tracer.nameTags[this.arbitrager.address] = "Arbitrager";

About

🕵️ allows you to see internal calls, events and storage operations in the console

Topics

Resources

License

Stars

Watchers

Forks

Contributors 18

0