Skip to content

Commit a211685

Browse files
committed
make TraceCallAction.value optional
1 parent 8cdf4b0 commit a211685

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

evm/evm-normalization/src/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export interface TraceCreateResult {
124124
export interface TraceCallAction {
125125
from: Bytes20,
126126
to: Bytes20,
127-
value: Qty,
127+
value?: Qty,
128128
gas: Qty,
129129
input: Bytes,
130130
sighash?: Bytes,

evm/evm-normalization/src/mapping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function* mapDebugFrame(
100100
callType: frame.type.toLowerCase(),
101101
from: frame.from,
102102
to: assertNotNull(frame.to),
103-
value: assertNotNull(frame.value),
103+
value: frame.value ?? undefined,
104104
gas: frame.gas,
105105
input: frame.input,
106106
sighash: getSigHash(frame.input)

0 commit comments

Comments
 (0)