erigon-pulse/eth/tracers/api.go

25 lines
592 B
Go
Raw Normal View History

package tracers
import (
"encoding/json"
"github.com/ledgerwatch/erigon-lib/common/hexutil"
"github.com/ledgerwatch/erigon/eth/tracers/logger"
"github.com/ledgerwatch/erigon/turbo/adapter/ethapi"
)
// TraceConfig holds extra parameters to trace functions.
type TraceConfig struct {
*logger.LogConfig
Tracer *string
TracerConfig *json.RawMessage
Timeout *string
Reexec *uint64
NoRefunds *bool // Turns off gas refunds when tracing
StateOverrides *ethapi.StateOverrides
BorTraceEnabled *bool
BorTx *bool
TxIndex *hexutil.Uint
}