nimbus-eth2/beacon_chain
Jacek Sieka adfe655b16
db: make block loading generic (#3413)
Streamline lookup with Forky and BeaconBlockFork (then we can do the
same for era)

We use type to avoid conditionals, as fork is often already known at a
"higher" level.

* load blockid before loading block by root - this is needed to map root
to slot and will eventually be done via block summary table for "old"
blocks

Co-authored-by: tersec <tersec@users.noreply.github.com>
2022-02-21 09:48:02 +01:00
..
2021-03-26 07:52:01 +01:00
2021-03-26 07:52:01 +01:00
2021-10-14 14:13:51 +03:00
2022-01-11 11:01:54 +01:00
2022-02-15 22:55:29 +02:00