You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rpc, evm: align debug trace flags with execution-apis spec (#762)
Replace disableMemory/disableReturnData (opt-out, default ON) with
enableMemory/enableReturnData (opt-in, default OFF) to match the
ethereum/execution-apis#762 spec and Geth behavior. Also adds
returnData emission to JsonStreamLogger which was previously missing.
evm tool flags (--nomemory/--noreturndata) preserve existing behavior.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Aligns Erigon with the execution-apis specification ([ethereum/execution-apis#762](https://github.com/ethereum/execution-apis/pull/762)) and Geth behavior.
10
+
11
+
**What changed:**
12
+
13
+
| Field | Before (Erigon) | After (Erigon / Geth / Spec) |
| Return data in trace |`disableReturnData` (default: included) |`enableReturnData` (default: excluded) |
17
+
18
+
The change is **twofold**:
19
+
1. The JSON key is renamed (`disable*` → `enable*`).
20
+
2. The default value is inverted: previously memory and return data were **included** by default (opt-out model); now they are **excluded** by default (opt-in model), matching the spec and Geth.
21
+
22
+
**Migration:**
23
+
24
+
```jsonc
25
+
// Before — disable memory explicitly
26
+
{ "disableMemory":true }
27
+
28
+
// After — enable memory explicitly
29
+
{ "enableMemory":true }
30
+
31
+
// Before — memory included by default (no flag needed)
0 commit comments