aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-03-24 06:20:51 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-03-24 06:20:51 +0800
commit75c86f8646ed6a21116d6c5f5e400dd966bb218d (patch)
tree6c979fd121e7721328b9502f1855387b602dcd87 /rpc
parent9866f19d6af607f629be311cb1c879e8f6472773 (diff)
parent0cfa21fc7f34d9da93abc41541dd4a98d70eb9dd (diff)
downloaddexon-75c86f8646ed6a21116d6c5f5e400dd966bb218d.tar
dexon-75c86f8646ed6a21116d6c5f5e400dd966bb218d.tar.gz
dexon-75c86f8646ed6a21116d6c5f5e400dd966bb218d.tar.bz2
dexon-75c86f8646ed6a21116d6c5f5e400dd966bb218d.tar.lz
dexon-75c86f8646ed6a21116d6c5f5e400dd966bb218d.tar.xz
dexon-75c86f8646ed6a21116d6c5f5e400dd966bb218d.tar.zst
dexon-75c86f8646ed6a21116d6c5f5e400dd966bb218d.zip
Merge pull request #2141 from obscuren/evm-init
core, core/vm, tests: changed the initialisation behaviour of the EVM
Diffstat (limited to 'rpc')
-rw-r--r--rpc/javascript.go27
1 files changed, 21 insertions, 6 deletions
diff --git a/rpc/javascript.go b/rpc/javascript.go
index 72290a2a6..c4fa80c0b 100644
--- a/rpc/javascript.go
+++ b/rpc/javascript.go
@@ -291,9 +291,24 @@ web3._extend({
params: 1
}),
new web3._extend.Method({
- name: 'processBlock',
- call: 'debug_processBlock',
- params: 1
+ name: 'traceBlock',
+ call: 'debug_traceBlock',
+ params: 2
+ }),
+ new web3._extend.Method({
+ name: 'traceBlockByFile',
+ call: 'debug_traceBlockByFile',
+ params: 2
+ }),
+ new web3._extend.Method({
+ name: 'traceBlockByNumber',
+ call: 'debug_traceBlockByNumber',
+ params: 2
+ }),
+ new web3._extend.Method({
+ name: 'traceBlockByHash',
+ call: 'debug_traceBlockByHash',
+ params: 2
}),
new web3._extend.Method({
name: 'seedHash',
@@ -382,9 +397,9 @@ web3._extend({
params: 1
}),
new web3._extend.Method({
- name: 'replayTransaction',
- call: 'debug_replayTransaction',
- params: 4
+ name: 'traceTransaction',
+ call: 'debug_traceTransaction',
+ params: 2
})
],
properties: []