bsc/eth/tracers
Sina Mahmoodi bf693228a3
eth/tracers/js: goja tracer (#23773)
This adds a JS tracer runtime environment based on the Goja VM. The new
runtime replaces the duktape runtime, which will be removed soon.

Goja is implemented in Go and is faster for cases where the Go <-> JS
transition overhead dominates overall performance. It is faster because
duktape is written in C, and the transition cost includes the cost of using
cgo. Another reason for using Goja is that go-duktape is not maintained
anymore.

We expect the performace of JS tracing to be at least as good or better with
this change.
2022-05-18 16:34:18 +02:00
..
internal/tracetest eth/tracers/js: goja tracer (#23773) 2022-05-18 16:34:18 +02:00
js eth/tracers/js: goja tracer (#23773) 2022-05-18 16:34:18 +02:00
logger eth/tracers/logger: remove unnecessary comparisons in accessList.equal (#24663) 2022-04-22 01:30:15 +02:00
native eth/tracers: make txhash blockhash accessible to native tracers (#24679) 2022-04-12 21:09:27 +02:00
api_test.go eth/tracers: refactor traceTx to separate out struct logging (#24326) 2022-04-06 09:34:18 +02:00
api.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
tracers_test.go all: move loggers to eth/tracers (#23892) 2021-11-25 14:17:09 +02:00
tracers.go eth/tracers: package restructuring (#23857) 2021-11-09 12:09:35 +01:00