| 129 | } |
| 130 | |
| 131 | string Eth::eth_getStorageRoot(string const& _address, string const& _blockNumber) |
| 132 | { |
| 133 | try |
| 134 | { |
| 135 | return toString(client()->stateRootAt(jsToAddress(_address), jsToBlockNumber(_blockNumber))); |
| 136 | } |
| 137 | catch (...) |
| 138 | { |
| 139 | BOOST_THROW_EXCEPTION(JsonRpcException(Errors::ERROR_RPC_INVALID_PARAMS)); |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | string Eth::eth_pendingTransactions() |
| 144 | { |
no test coverage detected