Skip to content

Commit

Permalink
eth/tracers: clean-up tracer collection (ethereum#24320)
Browse files Browse the repository at this point in the history
* eth/tracers: clean-up tracer collection

* Rm test for dropped tracer
  • Loading branch information
s1na authored Feb 1, 2022
1 parent b868ca1 commit c5436c8
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 175 deletions.
4 changes: 0 additions & 4 deletions eth/tracers/internal/tracetest/calltrace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ func TestCallTracerLegacy(t *testing.T) {
testCallTracer("callTracerLegacy", "call_tracer_legacy", t)
}

func TestCallTracerJs(t *testing.T) {
testCallTracer("callTracerJs", "call_tracer", t)
}

func TestCallTracerNative(t *testing.T) {
testCallTracer("callTracer", "call_tracer", t)
}
Expand Down
91 changes: 34 additions & 57 deletions eth/tracers/js/internal/tracers/assets.go

Large diffs are not rendered by default.

112 changes: 0 additions & 112 deletions eth/tracers/js/internal/tracers/call_tracer_js.js

This file was deleted.

2 changes: 1 addition & 1 deletion eth/tracers/native/noop.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

func init() {
register("noopTracerNative", newNoopTracer)
register("noopTracer", newNoopTracer)
}

// noopTracer is a go implementation of the Tracer interface which
Expand Down
2 changes: 1 addition & 1 deletion eth/tracers/native/prestate.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
)

func init() {
register("nativePrestateTracer", newPrestateTracer)
register("prestateTracer", newPrestateTracer)
}

type prestate = map[common.Address]*account
Expand Down

0 comments on commit c5436c8

Please sign in to comment.