@Test
public void testEthGetLogsWithNumericBlockRange() throws Exception {

    web3j.ethGetLogs(new EthFilter(
            DefaultBlockParameterNumber.valueOf(Numeric.toBigInt("0xe8")),
            DefaultBlockParameterName.LATEST, ""))
            .send();
    verifyResult(
            "{\"jsonrpc\":\"2.0\",\"method\":\"eth_getLogs\","
                    + "\"params\":[{\"topics\":[],\"fromBlock\":\"0xe8\","
                    + "\"toBlock\":\"latest\",\"address\":[\"\"]}],\"id\":1}");
}