Skip to content

Commit

Permalink
chore: debug tracing ethers
Browse files Browse the repository at this point in the history
  • Loading branch information
mfw78 committed Jan 11, 2024
1 parent 3c98126 commit 1ad2154
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import { getAddress, isHexString } from "ethers/lib/utils";
import { dumpDb, replayBlock, replayTx, run, runMulti } from "./commands";
import { initLogging } from "./utils";
import { version, description } from "../package.json";
import { ethers, utils } from "ethers";

// Enable trace logging
ethers.utils.Logger.setLogLevel(utils.Logger.levels.DEBUG);

const DEFAULT_DATABASE_PATH = "./database";

Expand Down

0 comments on commit 1ad2154

Please sign in to comment.