good morning!!!!

Skip to content
Snippets Groups Projects
Commit 844e9111 authored by Felix Lange's avatar Felix Lange
Browse files

internal/debug: rename debug_trace to debug_goTrace

Reduces confusion with EVM execution tracing methods.
parent 2d7d7ef2
No related branches found
No related tags found
No related merge requests found
...@@ -131,9 +131,9 @@ func (h *HandlerT) StopCPUProfile() error { ...@@ -131,9 +131,9 @@ func (h *HandlerT) StopCPUProfile() error {
return nil return nil
} }
// Trace turns on tracing for nsec seconds and writes // GoTrace turns on tracing for nsec seconds and writes
// trace data to file. // 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 { if err := h.StartTrace(file); err != nil {
return err return err
} }
......
...@@ -366,8 +366,8 @@ web3._extend({ ...@@ -366,8 +366,8 @@ web3._extend({
params: 0 params: 0
}), }),
new web3._extend.Method({ new web3._extend.Method({
name: 'trace', name: 'goTrace',
call: 'debug_trace', call: 'debug_goTrace',
params: 2 params: 2
}), }),
new web3._extend.Method({ new web3._extend.Method({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment