aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web3ext
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2018-10-04 23:15:37 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-10-04 23:15:37 +0800
commit89a32451aeb418db3fd5d9c427a0c29fddb1e85b (patch)
tree24df0d470d52030635712364a947bc7a8293d366 /internal/web3ext
parent8c63d0d2e44128c6a0f12fb9db8f0a32528b4a7d (diff)
downloadgo-tangerine-89a32451aeb418db3fd5d9c427a0c29fddb1e85b.tar
go-tangerine-89a32451aeb418db3fd5d9c427a0c29fddb1e85b.tar.gz
go-tangerine-89a32451aeb418db3fd5d9c427a0c29fddb1e85b.tar.bz2
go-tangerine-89a32451aeb418db3fd5d9c427a0c29fddb1e85b.tar.lz
go-tangerine-89a32451aeb418db3fd5d9c427a0c29fddb1e85b.tar.xz
go-tangerine-89a32451aeb418db3fd5d9c427a0c29fddb1e85b.tar.zst
go-tangerine-89a32451aeb418db3fd5d9c427a0c29fddb1e85b.zip
core/vm: faster create/create2 (#17806)
* core/vm/runtim: benchmark create/create2 * core/vm: do less hashing in CREATE2 * core/vm: avoid storing jumpdest analysis for initcode * core/vm: avoid unneccesary lookups, remove unused fields * core/vm: go formatting tests * core/vm: save jumpdest analysis locally * core/vm: use common.Hash instead of nil, fix review comments * core/vm: removed type destinations * core/vm: correct check for empty hash * eth: more elegant api_tracer * core/vm: address review concerns
Diffstat (limited to 'internal/web3ext')
-rw-r--r--internal/web3ext/web3ext.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index bf4b7808f..addf3c766 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -379,6 +379,12 @@ web3._extend({
inputFormatter: [null, null]
}),
new web3._extend.Method({
+ name: 'traceBadBlock',
+ call: 'debug_traceBadBlock',
+ params: 1,
+ inputFormatter: [null]
+ }),
+ new web3._extend.Method({
name: 'traceBlockByNumber',
call: 'debug_traceBlockByNumber',
params: 2,