Files
lighthouse/beacon_node
Michael Sproul 0074a3b5f5 Fix block & state queries prior to genesis (#4761)
## Issue Addressed

Closes #4751

## Proposed Changes

Prevent `state_root_at_slot` and `block_root_at_slot` from erroring out due to a call to `self.slot()?` that fails before genesis. This fixes pre-genesis queries for:

- block at slot 0
- block by genesis block root
- state at slot 0
- state by genesis state root
- state at `finalized` tag
- state at `justified` tag
2023-09-21 06:38:33 +00:00
..
2023-08-24 14:33:24 -04:00
2023-08-14 00:29:43 +00:00
2023-09-15 03:07:24 +00:00
2023-09-04 02:56:52 +00:00