Skip to content

Commit 0958770

Browse files
danslofjl
authored andcommitted
internal/web3ext: fix debug.traceBlockFromFile wrapper (#14774)
As stated in the documentation, this method should be called traceBlockFromFile and not traceBlockByFile. Previously this would result in a 'The method ... does not exist/is not available' error.
1 parent 4f7a380 commit 0958770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/web3ext/web3ext.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ web3._extend({
208208
params: 1
209209
}),
210210
new web3._extend.Method({
211-
name: 'traceBlockByFile',
212-
call: 'debug_traceBlockByFile',
211+
name: 'traceBlockFromFile',
212+
call: 'debug_traceBlockFromFile',
213213
params: 1
214214
}),
215215
new web3._extend.Method({

0 commit comments

Comments
 (0)