Add parent_block_number to payload SSE (#4053)

## Issue Addressed

In #4027 I forgot to add the `parent_block_number` to the payload attributes SSE.

## Proposed Changes

Compute the parent block number while computing the pre-payload attributes. Pass it on to the SSE stream.

## Additional Info

Not essential for v3.5.1 as I suspect most builders don't need the `parent_block_root`. I would like to use it for my dummy no-op builder however.
This commit is contained in:
Michael Sproul
2023-03-14 06:26:37 +00:00
parent e190ebb8a0
commit 36e163c042
4 changed files with 29 additions and 6 deletions

View File

@@ -47,7 +47,7 @@ use types::{
mod block_hash;
mod engine_api;
mod engines;
pub mod engines;
mod keccak;
mod metrics;
pub mod payload_cache;