Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 87d3776

Browse files
committed
Build Pipeline fix
1 parent 8997c0b commit 87d3776

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/web3-eth-debug/types/tests/debug-tests.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* @date 2019
1818
*/
1919

20-
import {Debug, Stats} from 'web3-eth-debug';
20+
import {Debug, Stats, TraceTransaction} from 'web3-eth-debug';
2121

2222
const debug = new Debug('http://localhost:8545');
2323

@@ -153,17 +153,17 @@ debug.traceBlockFromFile("", (error: Error, result: any) => {});
153153
// $ExpectType Promise<any>
154154
debug.traceBlockFromFile("", {disableStack: true, disableMemory: true, disableStorage: true}, (error: Error, result: any) => {});
155155

156-
// $ExpectType Promise<any>
156+
// $ExpectType Promise<TraceTransaction>
157157
debug.traceTransaction("0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f");
158158

159-
// $ExpectType Promise<any>
159+
// $ExpectType Promise<TraceTransaction>
160160
debug.traceTransaction("0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f", {disableStack: true, disableMemory: true, disableStorage: true});
161161

162-
// $ExpectType Promise<any>
163-
debug.traceTransaction("0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f", (error: Error, result: any) => {});
162+
// $ExpectType Promise<TraceTransaction>
163+
debug.traceTransaction("0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f", (error: Error, result: TraceTransaction) => {});
164164

165-
// $ExpectType Promise<any>
166-
debug.traceTransaction("0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f", {disableStack: true, disableMemory: true, disableStorage: true}, (error: Error, result: any) => {});
165+
// $ExpectType Promise<TraceTransaction>
166+
debug.traceTransaction("0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f", {disableStack: true, disableMemory: true, disableStorage: true}, (error: Error, result: TraceTransaction) => {});
167167

168168
// $ExpectType Promise<any>
169169
debug.verbosity(5);

0 commit comments

Comments
 (0)