Skip to content

Commit

Permalink
refactor: remove unused NewLiveTracer
Browse files Browse the repository at this point in the history
  • Loading branch information
arrivets committed Oct 22, 2024
1 parent aa2d647 commit 0803635
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions x/evm/types/tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,6 @@ func NewTracer(tracer string, msg *core.Message, rules params.Rules) *tracers.Tr
}
}

func NewLiveTracer(tracer string) (*tracers.Tracer, error) {
h, err := tracers.LiveDirectory.New(tracer, nil)
if err != nil {
return nil, fmt.Errorf("initializing live tracer %s: %w", tracer, err)
}

return &tracers.Tracer{
Hooks: h,
}, nil
}

func NewFirehoseCosmosLiveTracer() (*cosmostracing.Hooks, error) {
h, err := cosmostracers.NewCosmosFirehoseTracer(false)
if err != nil {
Expand Down

0 comments on commit 0803635

Please sign in to comment.