plugeth/eth
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
..
catalyst core, eth, les, rpc: polish catalyst errors, add context 2022-05-20 12:15:54 +03:00
downloader all: replace strings.Replace with string.ReplaceAll (#24835) 2022-05-09 13:13:23 +03:00
ethconfig cmd, eth: fix required blocks regression 2022-05-04 19:55:17 +03:00
fetcher eth/fetcher: avoid hang in tests (partial fix for #23331) (#23351) 2022-05-06 15:23:43 +02:00
filters eth/fetcher: avoid hang in tests (partial fix for #23331) (#23351) 2022-05-06 15:23:43 +02:00
gasprice graphql: fee history fields (#24452) 2022-03-10 13:59:22 +01:00
protocols eth: fix flaky test, don't attach empty slots/proofs (#24885) 2022-05-17 11:19:51 +03:00
tracers eth/tracers/js: drop duktape engine (#24934) 2022-05-23 22:26:10 +02:00
api_backend.go core, eth, internal, rpc: implement final block (#24282) 2022-05-18 17:30:42 +03:00
api_test.go cmd/geth, eth, core: snapshot dump + unify with trie dump (#22795) 2021-05-12 11:05:39 +03:00
api.go core, eth, internal, rpc: implement final block (#24282) 2022-05-18 17:30:42 +03:00
backend.go cmd, eth: fix required blocks regression 2022-05-04 19:55:17 +03:00
bloombits.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
discovery.go cmd/utils: use eth DNS tree for snap discovery (#22808) 2021-05-04 11:29:32 +02:00
handler_eth_test.go core/types: faster RLP encoding of Header, StateAcccount, ReceiptForStorage (#24420) 2022-02-18 08:10:26 +01:00
handler_eth.go core, eth, les, trie: remove the sync bloom, used by fast sync 2021-12-03 12:32:41 +02:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
handler.go cmd, eth: fix required blocks regression 2022-05-04 19:55:17 +03:00
peer.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
peerset.go eth/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +02:00
state_accessor.go all: core rework for the merge transition (#23761) 2021-11-26 13:23:02 +02:00
sync_test.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
sync.go core: eth: implement Kiln-v2 spec (#24506) 2022-03-17 17:20:03 +02:00