fix(focil): skip engine_isInclusionListSatisfiedV1 call

Besu does not implement this method. Lodestar handles IL satisfaction
checking via the il_transactions param in newPayloadV6 instead of a
separate engine call. Skip the call and assume satisfied for now.
This commit is contained in:
Devnet Bot
2026-05-06 07:48:44 +00:00
parent eb36f0edc2
commit 732da6c8d6

View File

@@ -102,9 +102,9 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
.spec .spec
.is_focil_enabled_for_epoch(block_slot.epoch(T::EthSpec::slots_per_epoch())) .is_focil_enabled_for_epoch(block_slot.epoch(T::EthSpec::slots_per_epoch()))
{ {
let payload_block_hash = envelope.envelope.message().payload.block_hash; let _payload_block_hash = envelope.envelope.message().payload.block_hash;
let il_slot = block_slot.saturating_sub(1_u64); let il_slot = block_slot.saturating_sub(1_u64);
let il_txs = chain_ref let _il_txs = chain_ref
.inclusion_list_cache .inclusion_list_cache
.read() .read()
.get_inclusion_list_transactions(il_slot, true) .get_inclusion_list_transactions(il_slot, true)
@@ -113,11 +113,11 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
.map(|tx| tx.to_vec()) .map(|tx| tx.to_vec())
.collect::<Vec<Vec<u8>>>(); .collect::<Vec<Vec<u8>>>();
if let Some(execution_layer) = chain_ref.execution_layer.as_ref() { // NOTE: engine_isInclusionListSatisfiedV1 is not implemented by Besu.
let satisfied = execution_layer // IL satisfaction is already checked via newPayloadV6 (il_transactions param).
.is_inclusion_list_satisfied(payload_block_hash, il_txs) // Skip the separate EL call and assume satisfied for now.
.await if let Some(_execution_layer) = chain_ref.execution_layer.as_ref() {
.unwrap_or(false); let satisfied = true;
if let Err(e) = chain_ref if let Err(e) = chain_ref
.record_payload_inclusion_list_satisfaction(block_root, satisfied) .record_payload_inclusion_list_satisfaction(block_root, satisfied)