Skip to content

Commit

Permalink
Update README.md (#65)
Browse files Browse the repository at this point in the history
add additional config
  • Loading branch information
TheVanquiser authored Mar 4, 2024
1 parent 0260969 commit 4dc141c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ Allows you to see events, calls and storage operations when running your tests.
npm i hardhat-tracer
```

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

```
require("hardhat-tracer");
```
**Step 2:** Add to your `hardhat.config` file
| hardhat.config.js | hardhat.config.ts |
| :--- | :---: |
|``require("hardhat-tracer"); ``|``import "hardhat-tracer"``|

## Usage

Expand Down Expand Up @@ -209,4 +208,4 @@ DEBUG=hardhat-tracer:* npx hardhat test --trace

### Config parameters

List of supported configs is available in [TracerEnvUser](./src/types.ts).
List of supported configs is available in [TracerEnvUser](./src/types.ts).

0 comments on commit 4dc141c

Please sign in to comment.