mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
Fixes after rebasing Kintsugi onto unstable (#2799)
* Fix fork choice after rebase * Remove paulhauner warp dep * Fix fork choice test compile errors * Assume fork choice payloads are valid * Add comment * Ignore new tests * Fix error in test skipping
This commit is contained in:
@@ -64,10 +64,15 @@ pub async fn handle_rpc<T: EthSpec>(
|
||||
}
|
||||
ENGINE_EXECUTE_PAYLOAD => {
|
||||
let request: JsonExecutionPayload<T> = get_param_0(params)?;
|
||||
|
||||
let status = ctx
|
||||
.execution_block_generator
|
||||
.write()
|
||||
.execute_payload(request.into());
|
||||
.static_execute_payload_response
|
||||
.lock()
|
||||
.unwrap_or_else(|| {
|
||||
ctx.execution_block_generator
|
||||
.write()
|
||||
.execute_payload(request.into())
|
||||
});
|
||||
|
||||
Ok(serde_json::to_value(ExecutePayloadResponseWrapper { status }).unwrap())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user