mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
32d05a3b40
This is a similar PR of https://github.com/ethereum/go-ethereum/pull/28460, support traceCall in the middle of a block Signed-off-by: jsvisa <delweng@gmail.com>
25 lines
592 B
Go
25 lines
592 B
Go
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
|
|
}
|