aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorNick Johnson <arachnid@notdot.net>2017-11-20 23:18:50 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-11-20 23:18:50 +0800
commit72ed186f46a31ec29bb255bfcadfbfd036cce791 (patch)
treec50d3831a4b43544cb58e041d948ac8a739ef2db /internal
parent7b95cca56c28975eb66cd59f143a83178b969ddf (diff)
downloaddexon-72ed186f46a31ec29bb255bfcadfbfd036cce791.tar
dexon-72ed186f46a31ec29bb255bfcadfbfd036cce791.tar.gz
dexon-72ed186f46a31ec29bb255bfcadfbfd036cce791.tar.bz2
dexon-72ed186f46a31ec29bb255bfcadfbfd036cce791.tar.lz
dexon-72ed186f46a31ec29bb255bfcadfbfd036cce791.tar.xz
dexon-72ed186f46a31ec29bb255bfcadfbfd036cce791.tar.zst
dexon-72ed186f46a31ec29bb255bfcadfbfd036cce791.zip
eth, internal: Implement getModifiedAccountsBy(Hash|Number) using trie diffs (#15512)
* eth, internal: Implement using trie diffs * eth, internal: Changes in response to review * eth: More fixes to getModifiedAccountsBy* * eth: minor polishes on error capitalization
Diffstat (limited to 'internal')
-rw-r--r--internal/web3ext/web3ext.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index 1ae6e2d73..ef0d2b4e6 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -354,6 +354,18 @@ web3._extend({
call: 'debug_storageRangeAt',
params: 5,
}),
+ new web3._extend.Method({
+ name: 'getModifiedAccountsByNumber',
+ call: 'debug_getModifiedAccountsByNumber',
+ params: 2,
+ inputFormatter: [null, null],
+ }),
+ new web3._extend.Method({
+ name: 'getModifiedAccountsByHash',
+ call: 'debug_getModifiedAccountsByHash',
+ params: 2,
+ inputFormatter:[null, null],
+ }),
],
properties: []
});