Skip to content

Commit

Permalink
Remove some unnecessary error variants
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul committed Sep 11, 2024
1 parent 05f93dd commit 8a50f2a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions beacon_node/store/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,15 @@ pub enum Error {
},
AddPayloadLogicError,
SlotClockUnavailableForMigration,
MissingValidator(usize),
ValidatorPubkeyCacheError(String),
DuplicateValidatorPublicKey,
InvalidValidatorPubkeyBytes(bls::Error),
ValidatorPubkeyCacheUninitialized,
InvalidKey,
InvalidBytes,
UnableToDowngrade,
Hdiff(hdiff::Error),
InconsistentFork(InconsistentFork),
ZeroCacheSize,
Hdiff(hdiff::Error),
CacheBuildError(EpochCacheError),
ForwardsIterInvalidColumn(DBColumn),
ForwardsIterGap(DBColumn, Slot, Slot),
StateShouldNotBeRequired(Slot),
MissingBlock(Hash256),
NoAnchorInfo,
RandaoMixOutOfBounds,
GenesisStateUnknown,
ArithError(safe_arith::ArithError),
Expand Down

0 comments on commit 8a50f2a

Please sign in to comment.