| 117 | } |
| 118 | |
| 119 | string Eth::eth_getStorageAt(string const& _address, string const& _position, string const& _blockNumber) |
| 120 | { |
| 121 | try |
| 122 | { |
| 123 | return toJS(toCompactBigEndian(client()->stateAt(jsToAddress(_address), jsToU256(_position), jsToBlockNumber(_blockNumber)), 32)); |
| 124 | } |
| 125 | catch (...) |
| 126 | { |
| 127 | BOOST_THROW_EXCEPTION(JsonRpcException(Errors::ERROR_RPC_INVALID_PARAMS)); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | string Eth::eth_getStorageRoot(string const& _address, string const& _blockNumber) |
| 132 | { |
no test coverage detected