mirror of https://github.com/hyperledger/besu
PAN-2711 - Don't require 'to' in 'blocks' queries (#1464)
{blocks(from:7777777) {number}} should work, instead it is requiring a to: argument when it should be implied as latest Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>pull/2/head
parent
2a64902bd2
commit
11f28ac7bd
@ -0,0 +1,19 @@ |
||||
{ |
||||
"request": "{ blocks(from:30) { number } }", |
||||
"response": { |
||||
"data": { |
||||
"blocks": [ |
||||
{ |
||||
"number": 30 |
||||
}, |
||||
{ |
||||
"number": 31 |
||||
}, |
||||
{ |
||||
"number": 32 |
||||
} |
||||
] |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
Loading…
Reference in new issue