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

Commit e2be9d0

Browse files
committed
Pipeline fix
1 parent b1bfb59 commit e2be9d0

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

packages/web3-eth-debug/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,5 +158,5 @@ export interface TraceTransaction {
158158
failed: boolean;
159159
gas: number;
160160
returnValue: string;
161-
structLogs: [];
161+
structLogs: any[];
162162
}

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

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,23 @@ debug.traceBlock("", {disableStack: true, disableMemory: true, disableStorage: t
121121
debug.traceBlockByHash("0x07801257594649d586712d84357b6626d81f33465519ba7994de585f3adf7f06");
122122

123123
// $ExpectType Promise<any>
124-
debug.traceBlockByHash("0x07801257594649d586712d84357b6626d81f33465519ba7994de585f3adf7f06", {disableStack: true, disableMemory: true, disableStorage: true});
124+
debug.traceBlockByHash(
125+
"0x07801257594649d586712d84357b6626d81f33465519ba7994de585f3adf7f06",
126+
{disableStack: true, disableMemory: true, disableStorage: true}
127+
);
125128

126129
// $ExpectType Promise<any>
127-
debug.traceBlockByHash("0x07801257594649d586712d84357b6626d81f33465519ba7994de585f3adf7f06", (error: Error, result: any) => {});
130+
debug.traceBlockByHash(
131+
"0x07801257594649d586712d84357b6626d81f33465519ba7994de585f3adf7f06",
132+
(error: Error, result: any) => {}
133+
);
128134

129135
// $ExpectType Promise<any>
130-
debug.traceBlockByHash("0x07801257594649d586712d84357b6626d81f33465519ba7994de585f3adf7f06", {disableStack: true, disableMemory: true, disableStorage: true}, (error: Error, result: any) => {});
136+
debug.traceBlockByHash(
137+
"0x07801257594649d586712d84357b6626d81f33465519ba7994de585f3adf7f06",
138+
{disableStack: true, disableMemory: true, disableStorage: true},
139+
(error: Error, result: any) => {}
140+
);
131141

132142
// $ExpectType Promise<any>
133143
debug.traceBlockByNumber(10);
@@ -157,13 +167,23 @@ debug.traceBlockFromFile("", {disableStack: true, disableMemory: true, disableSt
157167
debug.traceTransaction("0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f");
158168

159169
// $ExpectType Promise<TraceTransaction>
160-
debug.traceTransaction("0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f", {disableStack: true, disableMemory: true, disableStorage: true});
170+
debug.traceTransaction(
171+
"0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f",
172+
{disableStack: true, disableMemory: true, disableStorage: true}
173+
);
161174

162175
// $ExpectType Promise<TraceTransaction>
163-
debug.traceTransaction("0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f", (error: Error, result: TraceTransaction) => {});
176+
debug.traceTransaction(
177+
"0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f",
178+
(error: Error, result: TraceTransaction) => {}
179+
);
164180

165181
// $ExpectType Promise<TraceTransaction>
166-
debug.traceTransaction("0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f", {disableStack: true, disableMemory: true, disableStorage: true}, (error: Error, result: TraceTransaction) => {});
182+
debug.traceTransaction(
183+
"0xfc9359e49278b7ba99f59edac0e3de49956e46e530a53c15aa71226b7aa92c6f",
184+
{disableStack: true, disableMemory: true, disableStorage: true},
185+
(error: Error, result: TraceTransaction) => {}
186+
);
167187

168188
// $ExpectType Promise<any>
169189
debug.verbosity(5);

0 commit comments

Comments
 (0)