nimbus-eth2/beacon_chain/spec
Etan Kissling 2bbffbde10
abort compile when fork epoch is forgotten (#2939)
There are a few locations in the code that compare the current epoch to
the various FORK_EPOCH constants and branch off into fork-specific code.
When a new fork is introduced, it is sometimes forgotten to update all
of those branch locations. This patch introduces a compile-time check
that ensures that all branches need to be covered exhaustively. This is
done by replacing if-elif structures with case expressions.
2021-10-04 08:31:21 +00:00
..
datatypes use `SyncAggregate.init()` everywhere (#2932) 2021-09-30 13:56:07 +00:00
eth2_apis add remaining REST spec references 2021-09-29 14:14:56 +03:00
presets update a dozen spec URLs (#2929) 2021-09-29 23:43:28 +00:00
beaconstate.nim update a dozen spec URLs (#2929) 2021-09-29 23:43:28 +00:00
crypto.nim add sync committee types and some helpers (#2829) 2021-08-28 09:00:00 +00:00
digest.nim update 30 spec URLs to v1.1.0 (#2914) 2021-09-28 14:01:46 +00:00
english_word_list.txt Bump testutils 2020-06-01 16:58:28 +03:00
eth2_merkleization.nim simplify state fork access pattern (#2912) 2021-09-28 20:08:03 +02:00
eth2_ssz_serialization.nim add merge SSZ consensus object tests (#2858) 2021-09-11 10:01:05 +02:00
forks.nim abort compile when fork epoch is forgotten (#2939) 2021-10-04 08:31:21 +00:00
helpers.nim add function to build merkle proofs (#2874) 2021-09-29 15:02:34 +02:00
keystore.nim eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00
light_client_sync.nim update 30 spec URLs to v1.1.0 (#2914) 2021-09-28 14:01:46 +00:00
network.nim merge hardfork database support (#2911) 2021-09-30 01:07:24 +00:00
presets.nim Altair config for mainnet 2021-09-29 14:19:20 +03:00
signatures.nim update 40 spec URLs to v1.1.0 (#2918) 2021-09-28 18:23:15 +00:00
signatures_batch.nim implement forked merge state/block support (#2890) 2021-09-27 14:22:58 +00:00
ssz_codec.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
state_transition.nim merge hardfork database support (#2911) 2021-09-30 01:07:24 +00:00
state_transition_block.nim update a dozen spec URLs (#2929) 2021-09-29 23:43:28 +00:00
state_transition_epoch.nim update a dozen spec URLs (#2929) 2021-09-29 23:43:28 +00:00
validator.nim update a dozen spec URLs (#2929) 2021-09-29 23:43:28 +00:00
weak_subjectivity.nim eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00