diff options
author | Felix Lange <fjl@twurst.com> | 2016-05-06 16:24:16 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-05-06 16:27:24 +0800 |
commit | 844e911129dbebd80ff57ec68336a845b52c5eff (patch) | |
tree | f121356b810704b325d4bc2ac905220e653c2fd1 /internal | |
parent | 2d7d7ef2fe08db84b0cd44ad2ec820cc965d4cad (diff) | |
download | go-tangerine-844e911129dbebd80ff57ec68336a845b52c5eff.tar go-tangerine-844e911129dbebd80ff57ec68336a845b52c5eff.tar.gz go-tangerine-844e911129dbebd80ff57ec68336a845b52c5eff.tar.bz2 go-tangerine-844e911129dbebd80ff57ec68336a845b52c5eff.tar.lz go-tangerine-844e911129dbebd80ff57ec68336a845b52c5eff.tar.xz go-tangerine-844e911129dbebd80ff57ec68336a845b52c5eff.tar.zst go-tangerine-844e911129dbebd80ff57ec68336a845b52c5eff.zip |
internal/debug: rename debug_trace to debug_goTrace
Reduces confusion with EVM execution tracing methods.
Diffstat (limited to 'internal')
-rw-r--r-- | internal/debug/api.go | 4 | ||||
-rw-r--r-- | internal/web3ext/web3ext.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/internal/debug/api.go b/internal/debug/api.go index 2cb264040..a0bff2768 100644 --- a/internal/debug/api.go +++ b/internal/debug/api.go @@ -131,9 +131,9 @@ func (h *HandlerT) StopCPUProfile() error { return nil } -// Trace turns on tracing for nsec seconds and writes +// GoTrace turns on tracing for nsec seconds and writes // trace data to file. -func (h *HandlerT) Trace(file string, nsec uint) error { +func (h *HandlerT) GoTrace(file string, nsec uint) error { if err := h.StartTrace(file); err != nil { return err } diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go index 14700b05c..2a4698ee7 100644 --- a/internal/web3ext/web3ext.go +++ b/internal/web3ext/web3ext.go @@ -366,8 +366,8 @@ web3._extend({ params: 0 }), new web3._extend.Method({ - name: 'trace', - call: 'debug_trace', + name: 'goTrace', + call: 'debug_goTrace', params: 2 }), new web3._extend.Method({ |