1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/core/vm
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
..
runtime eth/tracers/js: goja tracer (#23773) 2022-05-18 16:34:18 +02:00
testdata
analysis.go core/vm: reverse bit order in bytes of code bitmap (#24120) 2021-12-17 10:32:00 +01:00
analysis_test.go core/vm: reverse bit order in bytes of code bitmap (#24120) 2021-12-17 10:32:00 +01:00
common.go
contract.go
contracts.go core/vm: clean up some dead functions (#24851) 2022-05-11 08:03:35 +03:00
contracts_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
doc.go
eips.go core/vm: implement EIP-3855: PUSH0 instruction (#24039) 2022-05-06 14:36:45 +02:00
errors.go
evm.go core/evm: RANDOM opcode (EIP-4399) (#24141) 2022-01-10 09:44:21 +02:00
gas.go
gas_table.go
gas_table_test.go
instructions.go core/vm: clean up some dead functions (#24851) 2022-05-11 08:03:35 +03:00
instructions_test.go core/vm: reduce overhead in instructions-benchmark (#24860) 2022-05-17 09:21:43 +02:00
interface.go
interpreter.go core/vm: fix typo (#24714) 2022-04-20 16:13:47 +02:00
interpreter_test.go
jump_table.go core/evm: RANDOM opcode (EIP-4399) (#24141) 2022-01-10 09:44:21 +02:00
logger.go core,eth: implement tx-level hooks for tracers (#24510) 2022-03-31 11:51:44 +02:00
memory.go core/vm: optimize Memory.Set32 (#24847) 2022-05-11 11:00:29 +02:00
memory_table.go
opcodes.go core/vm: separate opcode group for 0x20 range (#24850) 2022-05-11 08:04:16 +03:00
operations_acl.go core/vm: fix sstore gas comment type (#24583) 2022-03-29 11:21:11 +03:00
stack.go core/vm: clean up some dead functions (#24851) 2022-05-11 08:03:35 +03:00
stack_table.go