aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-04-14 20:10:29 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-04-14 20:10:29 +0800
commit53016c12254d581d630e331da1cacb985734edc3 (patch)
tree3c6dd9bb9e58c4bd3b83f7aa5c9283eb0d3d33ed /rpc
parentbbc77f488ec9ef51457a2030d78b6cbd5ea27d5d (diff)
downloadgo-tangerine-53016c12254d581d630e331da1cacb985734edc3.tar.gz
go-tangerine-53016c12254d581d630e331da1cacb985734edc3.tar.zst
go-tangerine-53016c12254d581d630e331da1cacb985734edc3.zip
eth, rpc: make trace configs optional
Diffstat (limited to 'rpc')
-rw-r--r--rpc/javascript.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/rpc/javascript.go b/rpc/javascript.go
index 475691a87..4d2bd1cde 100644
--- a/rpc/javascript.go
+++ b/rpc/javascript.go
@@ -268,22 +268,22 @@ web3._extend({
new web3._extend.Method({
name: 'traceBlock',
call: 'debug_traceBlock',
- params: 2
+ params: 1
}),
new web3._extend.Method({
name: 'traceBlockByFile',
call: 'debug_traceBlockByFile',
- params: 2
+ params: 1
}),
new web3._extend.Method({
name: 'traceBlockByNumber',
call: 'debug_traceBlockByNumber',
- params: 2
+ params: 1
}),
new web3._extend.Method({
name: 'traceBlockByHash',
call: 'debug_traceBlockByHash',
- params: 2
+ params: 1
}),
new web3._extend.Method({
name: 'seedHash',
@@ -390,7 +390,7 @@ web3._extend({
new web3._extend.Method({
name: 'traceTransaction',
call: 'debug_traceTransaction',
- params: 2
+ params: 1
})
],
properties: []