|
|
@ -1728,7 +1728,7 @@ var methods = [ |
|
|
|
outputFormatter: formatters.convertToBigNumber}, |
|
|
|
{ name: 'getStorageAt', call: 'eth_getStorageAt', addDefaultblock: 3, |
|
|
|
inputFormatter: utils.toHex}, |
|
|
|
{ name: 'getData', call: 'eth_getData', addDefaultblock: 2}, |
|
|
|
{ name: 'getCode', call: 'eth_getCode', addDefaultblock: 2}, |
|
|
|
{ name: 'getBlock', call: blockCall, |
|
|
|
outputFormatter: formatters.outputBlockFormatter, |
|
|
|
inputFormatter: [utils.toHex, function(param){ return (!param) ? false : true; }]}, |
|
|
@ -1763,7 +1763,7 @@ var methods = [ |
|
|
|
{ name: 'stateAt', call: 'eth_stateAt', newMethod: 'eth.getStorageAt' }, |
|
|
|
{ name: 'storageAt', call: 'eth_storageAt', newMethod: 'eth.getStorage' }, |
|
|
|
{ name: 'countAt', call: 'eth_countAt', newMethod: 'eth.getTransactionCount' }, |
|
|
|
{ name: 'codeAt', call: 'eth_codeAt', newMethod: 'eth.getData' }, |
|
|
|
{ name: 'codeAt', call: 'eth_codeAt', newMethod: 'eth.getCode' }, |
|
|
|
{ name: 'transact', call: 'eth_transact', newMethod: 'eth.sendTransaction' }, |
|
|
|
{ name: 'block', call: blockCall, newMethod: 'eth.getBlock' }, |
|
|
|
{ name: 'transaction', call: transactionFromBlockCall, newMethod: 'eth.getTransaction' }, |
|
|
|