bsc/eth/tracers
Sina Mahmoodi ba47d800b1
eth/tracers/js: drop duktape engine (#24934)
#23773 added a JS tracer which uses Goja as its engine. In this PR I remove the previous tracer which used duktape as well as remove the dependencies.

This PR also comes with 2 fixes in the Goja tracer and one small behavioural change:

    I had handled errors in the native Go functions by panicing. My oversight was that Goja only handles panics with a Goja.Value as argument. The difference is panic(goja.Value) allows JS to catch the exception whereas Interrupt(error) doesn't.
    There was a race in how I handled Stop.
    Because of 1. some of the methods that simply return nil on error (like memory.slice) now throw an exception.
2022-05-23 22:26:10 +02:00
..
internal/tracetest eth/tracers/js: drop duktape engine (#24934) 2022-05-23 22:26:10 +02:00
js eth/tracers/js: drop duktape engine (#24934) 2022-05-23 22:26:10 +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