fix(focil): engine API interop fixes for Besu

- Force engine_newPayloadV6 for Heze blocks (Besu supports V6 but
  capability detection was falling through to broken V5 path)
- Pass parentHash to engine_getInclusionListV1 (was sending empty
  params, Besu/Lodestar expect the parent block hash)
This commit is contained in:
Devnet Bot
2026-05-06 07:48:36 +00:00
parent 0aa7e43e85
commit eb36f0edc2
2 changed files with 53 additions and 5 deletions

View File

@@ -2006,9 +2006,9 @@ impl<E: EthSpec> ExecutionLayer<E> {
}
}
pub async fn get_inclusion_list(&self) -> Result<Transactions<E>, Error> {
pub async fn get_inclusion_list(&self, parent_hash: ExecutionBlockHash) -> Result<Transactions<E>, Error> {
debug!("Requesting inclusion list from EL");
let raw_transactions = self.engine().api.get_inclusion_list::<E>().await?;
let raw_transactions = self.engine().api.get_inclusion_list::<E>(parent_hash).await?;
let mut transactions = vec![];