eth, rpc: make trace configs optional

This commit is contained in:
Péter Szilágyi
2016-04-14 15:10:29 +03:00
parent bbc77f488e
commit 53016c1225
2 changed files with 19 additions and 13 deletions

View File

@ -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: []