Skip to content

Commit 8469e17

Browse files
committed
fix debugger e2e
1 parent fd91357 commit 8469e17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/remix-debug/src/trace/traceAnalyser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class TraceAnalyser {
6868
buildCalldata (index, step, tx, newContext) {
6969
let calldata = ''
7070
if (index === 0) {
71-
calldata = tx.input
71+
calldata = tx.input || tx.data
7272
this.traceCache.pushCallDataChanges(index, calldata)
7373
} else if (!newContext) {
7474
const lastCall = this.traceCache.callsData[this.traceCache.callDataChanges[this.traceCache.callDataChanges.length - 2]]

0 commit comments

Comments
 (0)