@@ -172,9 +172,6 @@ class GasAndRefund:
172
172
def discard_evm_trace (
173
173
evm : object , # noqa: U100
174
174
event : TraceEvent , # noqa: U100
175
- trace_memory : bool = False , # noqa: U100
176
- trace_stack : bool = True , # noqa: U100
177
- trace_return_data : bool = False , # noqa: U100
178
175
) -> None :
179
176
"""
180
177
An [`EvmTracer`] that discards all events.
@@ -199,10 +196,6 @@ def __call__(
199
196
self ,
200
197
evm : object ,
201
198
event : TraceEvent ,
202
- / ,
203
- trace_memory : bool = False , # noqa: U100
204
- trace_stack : bool = True , # noqa: U100
205
- trace_return_data : bool = False , # noqa: U100
206
199
) -> None :
207
200
"""
208
201
Call `self` as a function, recording a trace event.
@@ -212,13 +205,6 @@ def __call__(
212
205
213
206
`event`, a [`TraceEvent`], is the reason why the tracer was triggered.
214
207
215
- `trace_memory` requests a full memory dump in the resulting trace.
216
-
217
- `trace_stack` requests the full stack in the resulting trace.
218
-
219
- `trace_return_data` requests that return data be included in the
220
- resulting trace.
221
-
222
208
See [`discard_evm_trace`] for an example function implementing this
223
209
protocol.
224
210
@@ -251,10 +237,6 @@ def set_evm_trace(tracer: EvmTracer) -> EvmTracer:
251
237
def evm_trace (
252
238
evm : object ,
253
239
event : TraceEvent ,
254
- / ,
255
- trace_memory : bool = False ,
256
- trace_stack : bool = True ,
257
- trace_return_data : bool = False ,
258
240
) -> None :
259
241
"""
260
242
Emit a trace to the active [`EvmTracer`].
@@ -265,7 +247,4 @@ def evm_trace(
265
247
_evm_trace (
266
248
evm ,
267
249
event ,
268
- trace_memory = trace_memory ,
269
- trace_stack = trace_stack ,
270
- trace_return_data = trace_return_data ,
271
250
)
0 commit comments