web3ext: add eth_storageRoot RPC method to console

This commit is contained in:
Bas van Kervel 2016-11-03 10:55:28 +01:00
parent 9392153a75
commit 6a2a16702a
1 changed files with 6 additions and 0 deletions

View File

@ -486,6 +486,12 @@ web3._extend({
},
params: 2,
inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter, web3._extend.utils.toHex]
}),
new web3._extend.Method({
name: 'storageRoot',
call: 'eth_storageRoot',
params: 2,
inputFormatter: [web3._extend.formatters.inputAddressFormatter, null]
})
],
properties: