Tidy old comments
This commit is contained in:
parent
3b75e93122
commit
f27308e377
@ -582,12 +582,6 @@ impl EpochProcessable for BeaconState {
|
|||||||
|
|
||||||
self.process_penalties_and_exits(spec);
|
self.process_penalties_and_exits(spec);
|
||||||
|
|
||||||
/*
|
|
||||||
let e = self.slot / spec.epoch_length;
|
|
||||||
self.latest_penalized_balances[((e + 1) % spec.latest_penalized_exit_length).as_usize()] =
|
|
||||||
self.latest_penalized_balances[(e % spec.latest_penalized_exit_length).as_usize()];
|
|
||||||
|
|
||||||
*/
|
|
||||||
self.latest_index_roots[(next_epoch.as_usize() + spec.entry_exit_delay as usize)
|
self.latest_index_roots[(next_epoch.as_usize() + spec.entry_exit_delay as usize)
|
||||||
% spec.latest_index_roots_length] = hash_tree_root(get_active_validator_indices(
|
% spec.latest_index_roots_length] = hash_tree_root(get_active_validator_indices(
|
||||||
&self.validator_registry,
|
&self.validator_registry,
|
||||||
|
@ -40,14 +40,6 @@ pub enum AttestationParticipantsError {
|
|||||||
CommitteesError(CommitteesError),
|
CommitteesError(CommitteesError),
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
#[derive(Debug, PartialEq)]
|
|
||||||
pub enum SlotProcessingError {
|
|
||||||
CommitteesError(CommitteesError),
|
|
||||||
EpochProcessingError(EpochError),
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq)]
|
||||||
pub enum AttestationValidationError {
|
pub enum AttestationValidationError {
|
||||||
IncludedTooEarly,
|
IncludedTooEarly,
|
||||||
|
Loading…
Reference in New Issue
Block a user