nimbus-eth2/tests/fork_choice/scenarios
Jacek Sieka f0720faf17
Fork choice fixes (#1350)
* remove cruft

* reenable fork choice and fix several issues

* in addForkChoice_v2, the `.error` field would be accessed even when
Result is ok
* remove workaround for invalid block structure in fork choice
* fix `tmpState` being used recursively in callback, causing state
corruption while processing attestation
* fix block callback being called twice per block
* pass state to callback to avoid unnecessary rewinding

* enable head select, fix another bug

* never use `get` without `isOk`
* log nil blockref in case blockref is nil

* add missing error checking

* use correct epoch when updating attestation message
2020-07-22 11:42:55 +02:00
..
ffg_01.nim Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
ffg_02.nim Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
no_votes.nim Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
votes.nim Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00