Skip to content

Commit 72777b3

Browse files
committed
fix: always enable traces
1 parent 97744f7 commit 72777b3

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

  • packages/hardhat-core/src/internal/hardhat-network/provider

‎packages/hardhat-core/src/internal/hardhat-network/provider/provider.ts‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ import type {
2121
AccountOverride,
2222
} from "@nomicfoundation/edr";
2323
import { privateToAddress } from "@ethereumjs/util";
24-
import { ContractDecoder, precompileP256Verify } from "@nomicfoundation/edr";
24+
import {
25+
ContractDecoder,
26+
IncludeTraces,
27+
precompileP256Verify,
28+
} from "@nomicfoundation/edr";
2529
import picocolors from "picocolors";
2630
import debug from "debug";
2731
import { EventEmitter } from "events";
@@ -267,7 +271,9 @@ export class EdrProviderWrapper
267271
},
268272
},
269273
networkId: BigInt(config.networkId),
270-
observability: {},
274+
observability: {
275+
includeCallTraces: IncludeTraces.All,
276+
},
271277
ownedAccounts,
272278
// Turn off the Osaka EIP-7825 per transaction gas limit for HH2
273279
// when being run from `solidity-coverage`.

0 commit comments

Comments
 (0)