mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-05 18:42:19 +00:00
683f022c69
Created to handle #6758. Just takes the parameters and passes them down the pipe. A local test against mainnet showed the trace size varied accordingly when passing true/false values for `onlyTopCall`.
20 lines
462 B
Go
20 lines
462 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
|
|
}
|