aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web3ext/web3ext.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web3ext/web3ext.go')
-rw-r--r--internal/web3ext/web3ext.go44
1 files changed, 24 insertions, 20 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index ef0d2b4e6..e11aa402f 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -197,26 +197,6 @@ web3._extend({
params: 1
}),
new web3._extend.Method({
- name: 'traceBlock',
- call: 'debug_traceBlock',
- params: 1
- }),
- new web3._extend.Method({
- name: 'traceBlockFromFile',
- call: 'debug_traceBlockFromFile',
- params: 1
- }),
- new web3._extend.Method({
- name: 'traceBlockByNumber',
- call: 'debug_traceBlockByNumber',
- params: 1
- }),
- new web3._extend.Method({
- name: 'traceBlockByHash',
- call: 'debug_traceBlockByHash',
- params: 1
- }),
- new web3._extend.Method({
name: 'seedHash',
call: 'debug_seedHash',
params: 1
@@ -333,6 +313,30 @@ web3._extend({
params: 1
}),
new web3._extend.Method({
+ name: 'traceBlock',
+ call: 'debug_traceBlock',
+ params: 2,
+ inputFormatter: [null, null]
+ }),
+ new web3._extend.Method({
+ name: 'traceBlockFromFile',
+ call: 'debug_traceBlockFromFile',
+ params: 2,
+ inputFormatter: [null, null]
+ }),
+ new web3._extend.Method({
+ name: 'traceBlockByNumber',
+ call: 'debug_traceBlockByNumber',
+ params: 2,
+ inputFormatter: [null, null]
+ }),
+ new web3._extend.Method({
+ name: 'traceBlockByHash',
+ call: 'debug_traceBlockByHash',
+ params: 2,
+ inputFormatter: [null, null]
+ }),
+ new web3._extend.Method({
name: 'traceTransaction',
call: 'debug_traceTransaction',
params: 2,