nimbus-eth2/beacon_chain
Etan Kissling c95d4f31ed
improve getStateField compile checks (#2889)
The current `getStateField` implementation fails at run-time when called
on a post-Altair state. This is improved by replacing the `if` structure
with a `case` expression, which is checked for exhaustive coverage at
compile time. Care is taken to preserve the `unsafeAddr` optimization.
2021-09-22 20:06:50 +00:00
..
2021-09-14 12:12:49 +03:00
2021-09-01 18:08:24 +02:00
2021-03-26 07:52:01 +01:00
2021-03-26 07:52:01 +01:00
2021-08-12 13:08:20 +00:00