mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-31 05:07:12 +00:00
Gloas fork choice redux (#9025)
Co-Authored-By: hopinheimer <knmanas6@gmail.com> Co-Authored-By: Michael Sproul <michael@sigmaprime.io> Co-Authored-By: hopinheimer <48147533+hopinheimer@users.noreply.github.com> Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com> Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com> Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com> Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com> Co-Authored-By: Daniel Knopik <107140945+dknopik@users.noreply.github.com>
This commit is contained in:
@@ -54,6 +54,14 @@ pub enum Error {
|
||||
},
|
||||
InvalidEpochOffset(u64),
|
||||
Arith(ArithError),
|
||||
InvalidNodeVariant {
|
||||
block_root: Hash256,
|
||||
},
|
||||
BrokenBlock {
|
||||
block_root: Hash256,
|
||||
},
|
||||
NoViableChildren,
|
||||
OnBlockRequiresProposerIndex,
|
||||
}
|
||||
|
||||
impl From<ArithError> for Error {
|
||||
|
||||
Reference in New Issue
Block a user