nimbus-eth2/beacon_chain/ssz
tersec 146fa48454
use ForkedHashedBeaconState in StateData (#2634)
* use ForkedHashedBeaconState in StateData

* fix FAR_FUTURE_EPOCH -> slot overflow; almost always use assign()

* avoid stack allocation in maybeUpgradeStateToAltair()

* create and use dispatch functions for check_attester_slashing(), check_proposer_slashing(), and check_voluntary_exit()

* use getStateRoot() instead of various state.data.hbsPhase0.root

* remove withStateVars.hashedState(), which doesn't work as a design anymore

* introduce spec/datatypes/altair into beacon_chain_db

* fix inefficient codegen for getStateField(largeStateField)

* state_transition_slots() doesn't either need/use blocks or runtime presets

* combine process_slots(HBS)/state_transition_slots(HBS) which differ only in last-slot htr optimization

* getStateField(StateData, ...) was replaced by getStateField(ForkedHashedBeaconState, ...)

* fix rollback

* switch some state_transition(), process_slots, makeTestBlocks(), etc to use ForkedHashedBeaconState

* remove state_transition(phase0.HashedBeaconState)

* remove process_slots(phase0.HashedBeaconState)

* remove state_transition_block(phase0.HashedBeaconState)

* remove unused callWithBS(); separate case expression from if statement

* switch back from nested-ref-object construction to (ref Foo)(Bar())
2021-06-11 20:51:46 +03:00
..
bitseqs.nim fix subnet logic (#2555) 2021-05-11 22:03:40 +02:00
bytes_reader.nim proposed structure for altair (#2323) 2021-05-28 15:25:58 +00:00
dynamic_navigator.nim Bump modules to take advantage of the new Json format flavors support 2021-03-25 09:37:35 +02:00
merkleization.nim bump spec refs from v1.0.0 to v1.0.1 and update copyright years (#2357) 2021-02-25 13:37:22 +00:00
navigator.nim fix broken metrics during replay (#2090) 2020-11-27 23:16:13 +01:00
spec_types.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
ssz_serialization.nim Db1 cont (#2573) 2021-05-17 18:37:26 +02:00
sszdump.nim use ForkedHashedBeaconState in StateData (#2634) 2021-06-11 20:51:46 +03:00
types.nim Revamp attestation pool 2021-04-13 20:24:02 +03:00