eth/tracers: make txhash blockhash accessible to native tracers (#24679)
This commit is contained in:
@ -51,7 +51,7 @@ type prestateTracer struct {
|
||||
reason error // Textual reason for the interruption
|
||||
}
|
||||
|
||||
func newPrestateTracer() tracers.Tracer {
|
||||
func newPrestateTracer(ctx *tracers.Context) tracers.Tracer {
|
||||
// First callframe contains tx context info
|
||||
// and is populated on start and end.
|
||||
return &prestateTracer{prestate: prestate{}}
|
||||
|
Reference in New Issue
Block a user