Skip to content

Commit

Permalink
eth/tracers: make native 4byte default, remove js version (ethereum#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
s1na authored and jagdeep sidhu committed Nov 16, 2021
1 parent 27a309c commit 3a253eb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 95 deletions.
70 changes: 0 additions & 70 deletions eth/tracers/js/internal/tracers/4byte_tracer.js

This file was deleted.

23 changes: 0 additions & 23 deletions eth/tracers/js/internal/tracers/assets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions eth/tracers/native/4byte.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ import (
)

func init() {
register("4byte", newFourByteTracer)
register("4byteTracer", newFourByteTracer)
}

// fourByteTracer searches for 4byte-identifiers, and collects them for post-processing.
// It collects the methods identifiers along with the size of the supplied data, so
// a reversed signature can be matched against the size of the data.
//
// Example:
// > debug.traceTransaction( "0x214e597e35da083692f5386141e69f47e973b2c56e7a8073b1ea08fd7571e9de", {tracer: "4byte"})
// > debug.traceTransaction( "0x214e597e35da083692f5386141e69f47e973b2c56e7a8073b1ea08fd7571e9de", {tracer: "4byteTracer"})
// {
// 0x27dc297e-128: 1,
// 0x38cc4831-0: 2,
Expand Down

0 comments on commit 3a253eb

Please sign in to comment.