boiler plate:

This commit is contained in:
Eitan Seri- Levi
2026-03-03 22:21:58 -08:00
parent e8d83ef57f
commit bf18f8a756
14 changed files with 444 additions and 18 deletions

View File

@@ -132,9 +132,7 @@ pub async fn publish_execution_payload_envelope<T: BeaconChainTypes>(
let ctx = chain.gossip_verification_context();
let Ok(gossip_verifed_envelope) = GossipVerifiedEnvelope::new(signed_envelope, &ctx) else {
warn!(%slot, %beacon_block_root, "Execution payload envelope rejected");
return Err(warp_utils::reject::custom_bad_request(format!(
"execution payload envelope rejected, gossip verification"
)));
return Err(warp_utils::reject::custom_bad_request("execution payload envelope rejected, gossip verification".to_string()));
};
// Import the envelope locally (runs state transition and notifies the EL).