erigon-pulse/eth/tracers/api.go
Anshal Shukla 7ce3f7b158
State sync transactions added to debug_traceBlockByNumber call (#6830)
State sync transactions can be enabled using `"borTraceEnabled": true`
parameter, this is to ensure that the current behaviour is unchanged.
2023-02-20 08:04:11 +00:00

23 lines
509 B
Go

package tracers
import (
"encoding/json"
"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
}