Merge branch 'unstable' of https://github.com/sigp/lighthouse into gloas-payload-cache

This commit is contained in:
Eitan Seri-Levi
2026-05-01 02:22:42 +02:00
22 changed files with 458 additions and 118 deletions

View File

@@ -629,6 +629,13 @@ fn publish_payload_attestation_messages<T: BeaconChainTypes>(
"Payload attestation invalid for fork choice"
);
}
if let Err(e) = chain.add_payload_attestation_to_pool(&verified) {
warn!(
reason = ?e,
"Failed to add payload attestation to pool"
);
}
}
Err(PayloadAttestationError::PriorPayloadAttestationMessageKnown { .. }) => {
num_already_known += 1;

View File

@@ -13,7 +13,9 @@ pub fn build_block_contents<E: EthSpec>(
}
BeaconBlockResponseWrapper::Full(block) => {
if fork_name.deneb_enabled() {
// TODO(gloas): revisit when produceBlockV4 PR is finalised
// https://github.com/ethereum/beacon-APIs/pull/580
if fork_name.deneb_enabled() && !fork_name.gloas_enabled() {
let BeaconBlockResponse {
block,
state: _,