nimbus-eth2/tests/mocking
Jacek Sieka a086cf01ac
altair fork handling cleanups (#3050)
* fix stack overflow crash in REST/debug/getStateV2
* introduce `ForkyXxx` for generic type matching of `Xxx` across
branches (SomeHashedBeaconState -> ForkyHashedBeaconState et al) -
`Some` is already used for other types of type classes
* consolidate function naming in BeaconChainDB, use some generics
* import `forks.nim` from other spec modules and move `Forked*` helpers
around to resolve circular imports
* remove `ForkedBeaconState`, use `ForkedHashedBeaconState` throughout
(less data shuffling between the types)
* fix several cases of states being stored on stack in tests, causing
random failures on some platforms
* remove reading json support from ncli - this should be ported to the
rest json reading instead (doesn't currently work because stack sizes)
2021-11-05 08:34:34 +01:00
..
mock_attestations.nim altair fork handling cleanups (#3050) 2021-11-05 08:34:34 +01:00
mock_blocks.nim altair fork handling cleanups (#3050) 2021-11-05 08:34:34 +01:00
mock_deposits.nim update 18 spec URLs to v1.1.2; switch from eth2.0-specs to consensus-specs (#2990) 2021-10-14 06:30:21 +00:00
mock_genesis.nim clean up fork enum and field names 2021-10-19 11:06:38 +03:00
mock_state.nim reward accounting for altair+ (#2981) 2021-10-13 16:24:36 +02:00