rm embedding of noop tracer

This commit is contained in:
Sina Mahmoodi 2024-03-06 16:44:19 +01:00 committed by Matthieu Vachon
parent 03e48ee451
commit 7190602bd2
8 changed files with 0 additions and 12 deletions

View file

@ -98,8 +98,6 @@ func fromBuf(vm *goja.Runtime, bufType goja.Value, buf goja.Value, allowString b
// jsTracer is an implementation of the Tracer interface which evaluates
// JS functions on the relevant EVM hooks. It uses Goja as its JS engine.
type jsTracer struct {
directory.NoopTracer
vm *goja.Runtime
env *tracing.VMContext
toBig toBigFn // Converts a hex string into a JS bigint

View file

@ -21,7 +21,6 @@ import (
"github.com/ethereum/go-ethereum/core/tracing"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/eth/tracers/directory"
)
// accessList is an accumulator for the set of accounts and storage slots an EVM
@ -103,7 +102,6 @@ func (al accessList) accessList() types.AccessList {
// AccessListTracer is a tracer that accumulates touched accounts and storage
// slots into an internal set.
type AccessListTracer struct {
directory.NoopTracer
excl map[common.Address]struct{} // Set of account to exclude from the list
list accessList // Set of accounts and storage slots touched
}

View file

@ -108,7 +108,6 @@ func (s *StructLog) ErrorString() string {
// a track record of modified storage which is used in reporting snapshots of the
// contract their storage.
type StructLogger struct {
directory.NoopTracer
cfg Config
env *tracing.VMContext
@ -339,7 +338,6 @@ func WriteLogs(writer io.Writer, logs []*types.Log) {
}
type mdLogger struct {
directory.NoopTracer
out io.Writer
cfg *Config
env *tracing.VMContext

View file

@ -25,11 +25,9 @@ import (
"github.com/ethereum/go-ethereum/core/tracing"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/eth/tracers/directory"
)
type JSONLogger struct {
directory.NoopTracer
encoder *json.Encoder
cfg *Config
env *tracing.VMContext

View file

@ -48,7 +48,6 @@ func init() {
// 0xc281d19e-0: 1
// }
type fourByteTracer struct {
directory.NoopTracer
ids map[string]int // ids aggregates the 4byte ids found
interrupt atomic.Bool // Atomic flag to signal execution interruption
reason error // Textual reason for the interruption

View file

@ -105,7 +105,6 @@ type callFrameMarshaling struct {
}
type callTracer struct {
directory.NoopTracer
callstack []callFrame
config callTracerConfig
gasLimit uint64

View file

@ -110,7 +110,6 @@ type flatCallResultMarshaling struct {
// flatCallTracer reports call frame information of a tx in a flat format, i.e.
// as opposed to the nested format of `callTracer`.
type flatCallTracer struct {
directory.NoopTracer
tracer *callTracer
config flatCallTracerConfig
ctx *directory.Context // Holds tracer context data

View file

@ -58,7 +58,6 @@ type accountMarshaling struct {
}
type prestateTracer struct {
directory.NoopTracer
env *tracing.VMContext
pre stateMap
post stateMap