mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-27 05:57:28 +00:00
7ce3f7b158
State sync transactions can be enabled using `"borTraceEnabled": true` parameter, this is to ensure that the current behaviour is unchanged.
23 lines
509 B
Go
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
|
|
}
|