Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit add0a5d

Browse files
committed
Include raw call data in txlog in all cases
1 parent 5affa18 commit add0a5d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/debugger/lib/txlog/reducers.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,14 @@ function transactionLog(state = DEFAULT_TX_LOG, action) {
185185
(kind === "function" || kind === "library") &&
186186
action.absorbNextInternalCall;
187187
}
188+
//include raw data regardless
189+
call.raw = {};
190+
if (calldata) {
191+
call.raw.calldata = calldata;
192+
}
193+
if (binary) {
194+
call.raw.binary = binary;
195+
}
188196
return {
189197
byPointer: {
190198
...state.byPointer,

0 commit comments

Comments
 (0)