| 77 | } |
| 78 | |
| 79 | bool Test::test_addBlock(std::string const& _rlp) |
| 80 | { |
| 81 | try |
| 82 | { |
| 83 | asClientTest(m_eth).addBlock(_rlp); |
| 84 | } |
| 85 | catch (std::exception const&) |
| 86 | { |
| 87 | BOOST_THROW_EXCEPTION(JsonRpcException(Errors::ERROR_RPC_INTERNAL_ERROR)); |
| 88 | } |
| 89 | return true; |
| 90 | } |
| 91 | |
| 92 | bool Test::test_rewindToBlock(int _number) |
| 93 | { |
no test coverage detected