mirror of https://github.com/hyperledger/besu
added blockhash as alias for blockHash param; added tests (#1567)
* JsonAlias Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>pull/1598/head
parent
fabb6a852d
commit
2898bc6f8d
@ -0,0 +1,28 @@ |
||||
{ |
||||
"request": { |
||||
"id": 406, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getLogs", |
||||
"params": [{ |
||||
"address": [], |
||||
"topics": [["0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b", "0x65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be580"]], |
||||
"blockHash": "0x3c419f39b340a4c35cc27b8f7880b779dc1abb9814ad13a2a5a55b885cc8ec2d" |
||||
}] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 406, |
||||
"result" : [{ |
||||
"logIndex" : "0x0", |
||||
"removed": false, |
||||
"blockNumber" : "0x17", |
||||
"blockHash" : "0x3c419f39b340a4c35cc27b8f7880b779dc1abb9814ad13a2a5a55b885cc8ec2d", |
||||
"transactionHash" : "0x97a385bf570ced7821c6495b3877ddd2afd5c452f350f0d4876e98d9161389c6", |
||||
"transactionIndex" : "0x0", |
||||
"address" : "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"data" : "0x000000000000000000000000000000000000000000000000000000000000002a", |
||||
"topics" : ["0x65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be580"] |
||||
}] |
||||
}, |
||||
"statusCode": 200 |
||||
} |
Loading…
Reference in new issue