Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra-engine-api

This commit is contained in:
realbigsean
2024-07-01 07:47:19 -07:00
41 changed files with 914 additions and 398 deletions

View File

@@ -39,7 +39,7 @@ pub fn process_operations<E: EthSpec, Payload: AbstractExecPayload<E>>(
process_bls_to_execution_changes(state, bls_to_execution_changes, verify_signatures, spec)?;
}
if state.fork_name_unchecked() >= ForkName::Electra {
if state.fork_name_unchecked().electra_enabled() {
let requests = block_body.execution_payload()?.withdrawal_requests()?;
if let Some(requests) = requests {
process_execution_layer_withdrawal_requests(state, &requests, spec)?;