Remove todo! lines from gloas (#8383)

This commit is contained in:
ethDreamer
2025-11-07 12:57:50 -06:00
committed by GitHub
parent 4adc558a17
commit fd50ba60d4
7 changed files with 37 additions and 26 deletions

View File

@@ -5792,7 +5792,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
execution_payload_value,
)
}
BeaconState::Gloas(_) => todo!("Gloas block production"),
BeaconState::Gloas(_) => return Err(BlockProductionError::GloasNotImplemented),
};
let block = SignedBeaconBlock::from_block(

View File

@@ -319,6 +319,8 @@ pub enum BlockProductionError {
FailedToBuildBlobSidecars(String),
MissingExecutionRequests,
SszTypesError(ssz_types::Error),
// TODO(gloas): Remove this once Gloas is implemented
GloasNotImplemented,
}
easy_from_to!(BlockProcessingError, BlockProductionError);