Clear todos

This commit is contained in:
Pawan Dhananjay
2024-10-16 15:40:46 -07:00
parent b28d010629
commit c8dfe7d3d7
2 changed files with 2 additions and 2 deletions

View File

@@ -120,7 +120,8 @@ pub fn initialize_beacon_state_from_eth1<E: EthSpec>(
let post = upgrade_state_to_electra(&mut state, Epoch::new(0), Epoch::new(0), spec)?;
state = post;
// TODO(electra): do we need to iterate over an empty pending_deposits list here and increase balance?!
// TODO(electra): do we need to iterate over an empty pending_deposits list here and increase balance?
// in accordance with `initialize_beacon_state_from_eth1` function from the spec
// Remove intermediate Deneb fork from `state.fork`.
state.fork_mut().previous_version = spec.electra_fork_version;

View File

@@ -711,7 +711,6 @@ fn is_valid_switch_to_compounding_request<E: EthSpec>(
return Ok(false);
}
// Verify exits for source has not been initiated
// TODO(pawan): this could be set by process_registry_updates too
if source_validator.exit_epoch != spec.far_future_epoch {
return Ok(false);
}