Jacek Sieka bc80ac3be1
harden REST API atSlot against non-finalized blocks (#3538)
* harden validator API against pre-finalized slot requests
* check `syncHorizon` when responding to validator api requests too far
from `head`
* limit state-id based requests to one epoch ahead of `head`
* put historic data bounds on block/attestation/etc validator production API, preventing them from being used with already-finalized slots
* add validator block smoke tests
* make rest test create a new genesis with the tests running roughly in
the first epoch to allow testing a few more boundary conditions
2022-03-23 12:42:16 +01:00
..
2022-03-16 08:20:40 +01:00
2022-03-16 08:20:40 +01:00
2021-10-19 16:09:26 +02:00
2022-01-08 22:06:34 +02:00
2022-03-16 08:20:40 +01:00