mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-01 05:37:05 +00:00
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:
@@ -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![];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user