nimbus-eth2/beacon_chain/spec
Jacek Sieka e5346e4e95
simplify state fork access pattern (#2912)
* simplify state fork access pattern

* fixes

* unsafeAddr needs to be dereferenced outside of case for best effect
* remove hash_tree_root of ForkedXxx (doesn't make sense)
* simplify state transition

* fix vc

* readd hash_tree_root(forkedbeaconblock)

* readd htr(fhbs) as well

...and add some protections to not hash the wrong items elsewhere
2021-09-28 20:08:03 +02:00
..
datatypes use `allSyncCommittees` everywhere (#2917) 2021-09-28 18:02:01 +00:00
eth2_apis Client SSZ API revisited. (#2907) 2021-09-27 20:31:11 +02:00
presets update 31 spec reference URLs to v1.1.0 (#2910) 2021-09-28 07:46:06 +00:00
beaconstate.nim update 30 spec URLs to v1.1.0 (#2914) 2021-09-28 14:01:46 +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 simplify state fork access pattern (#2912) 2021-09-28 20:08:03 +02:00
helpers.nim update 31 spec reference URLs to v1.1.0 (#2910) 2021-09-28 07:46:06 +00: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 mass update from beta.3 spec refs to beta.4 spec refs (#2862) 2021-09-10 18:56:03 +00:00
presets.nim use v1.1.0-beta.4 test vectors (#2861) 2021-09-10 17:35:14 +00:00
signatures.nim update 30 spec URLs to v1.1.0 (#2914) 2021-09-28 14:01:46 +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 simplify state fork access pattern (#2912) 2021-09-28 20:08:03 +02:00
state_transition_block.nim update 30 spec URLs to v1.1.0 (#2914) 2021-09-28 14:01:46 +00:00
state_transition_epoch.nim update 30 spec URLs to v1.1.0 (#2914) 2021-09-28 14:01:46 +00:00
validator.nim update 30 spec URLs to v1.1.0 (#2914) 2021-09-28 14:01:46 +00:00
weak_subjectivity.nim eth2.0-specs -> consensus-specs repo rename (#2801) 2021-08-20 23:37:45 +00:00