Sina Mahmoodi
935ff70d6d
replace opcode with byte
2024-03-07 10:30:13 +01:00
Sina Mahmoodi
1d0101969a
rm OnKeccakPreimage
2024-03-06 17:08:00 +01:00
Sina Mahmoodi
8b3cddabb5
rename tracer methods to On pattern
2024-03-06 16:34:18 +01:00
Sina Mahmoodi
37ce159500
rm OnStart and onEnd
2024-03-06 15:49:49 +01:00
Sina Mahmoodi
923c180058
rename Capture hooks to On
2024-02-29 17:18:43 +01:00
Sina Mahmoodi
f358e57490
rename scopeContext to opContext
2024-02-29 15:13:03 +01:00
Sina Mahmoodi
a2829c6f49
rename LiveLogger to hooks
2024-02-28 19:38:04 +01:00
Sina Mahmoodi
7d8db9b503
move logger interface to core/tracing
2024-02-28 19:34:49 +01:00
Sina Mahmoodi
fc35780124
full struct-based tracing infra
2024-02-21 18:47:59 +01:00
Sina Mahmoodi
57cd0c30df
rm OnNewAccount
2024-02-08 16:30:14 +01:00
Sina Mahmoodi
56862cf07f
emit onNewAccount when reseting account
2024-01-30 16:36:14 +01:00
Sina Mahmoodi
580f02527e
has call reverted to snapshot
2024-01-12 17:53:12 +03:30
Sina Mahmoodi
0d268b796c
fix TxStart for traceCall
2023-11-08 19:28:42 +03:00
Matthieu Vachon
ff3c15ff90
Full OnGasConsumed loop and added GasChangeReason ( #16 )
2023-09-12 17:19:15 +02:00
Sina Mahmoodi
9c999c36ff
Use noopTracer as base for loggers
2023-08-31 16:31:30 +02:00
Sina Mahmoodi
2faf3dbfd6
emit err on tx validation failure
2023-07-26 20:07:13 +02:00
Matthieu Vachon
5466fa3133
Capture balance reason ( #12 )
2023-07-26 10:49:04 +02:00
Sina Mahmoodi
54171ee4a8
pass env in TxStart
2023-06-28 21:58:38 +02:00
Sina Mahmoodi
619ac2948c
provide StateLogger for short-lived tracers
2023-06-28 18:00:44 +02:00
Sina Mahmoodi
378781654f
Upgrade TxStart and TxEnd hooks
2023-06-28 13:28:53 +02:00
Sina Mahmoodi
ee791b2b20
add gas consumption hook
2023-06-23 16:40:58 +02:00
Sina Mahmoodi
e25065bfc3
capture keccak preimage
2023-06-15 18:42:57 +02:00
Martin Holst Swende
2c6dda5ad7
eth/tracers: use non-threaded tracechain ( #24283 )
...
This makes non-JS tracers execute all block txs on a single goroutine.
In the previous implementation, we used to prepare every tx pre-state
on one goroutine, and then run the transactions again with tracing enabled.
Native tracers are usually faster, so it is faster overall to use their output as
the pre-state for tracing the next transaction.
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2023-01-10 15:11:53 +01:00
Martin Holst Swende
1f35988a00
eth/tracers, core/vm: remove time from trace output and tracing interface ( #26291 )
...
This removes the 'time' field from logs, as well as from the tracer interface. This change makes the trace output deterministic. If a tracer needs the time they can measure it themselves. No need for evm to do this.
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2022-12-05 16:57:47 +01:00
Sina Mahmoodi
53b624b56d
eth/tracers: add multiplexing tracer ( #26086 )
...
* eth/tracers: add native multiplexing tracer
* minor improv callTracer
* mv evm cancellation to api
2022-11-08 10:16:52 +01:00