Fix bugs in fork choice, add more tests

This commit is contained in:
Paul Hauner
2019-06-23 14:47:23 +10:00
parent f8fb011d6c
commit 77fba0b98e
6 changed files with 455 additions and 119 deletions

View File

@@ -19,6 +19,10 @@ pub enum BeaconChainError {
InsufficientValidators,
BadRecentBlockRoots,
UnableToReadSlot,
RevertedFinalizedEpoch {
previous_epoch: Epoch,
new_epoch: Epoch,
},
BeaconStateError(BeaconStateError),
DBInconsistent(String),
DBError(store::Error),