fix compilation issues after merge

This commit is contained in:
realbigsean
2023-02-07 12:33:29 -05:00
parent 26a296246d
commit a42d07592c
8 changed files with 48 additions and 47 deletions

View File

@@ -145,9 +145,13 @@ impl<T: EthSpec, Payload: AbstractExecPayload<T>> BlockProposalContents<T, Paylo
Option<VariableList<Blob<T>, T::MaxBlobsPerBlock>>,
) {
match self {
Self::Payload(payload) => (payload, None, None),
Self::Payload {
payload,
block_value: _,
} => (payload, None, None),
Self::PayloadAndBlobs {
payload,
block_value: _,
kzg_commitments,
blobs,
} => (payload, Some(kzg_commitments), Some(blobs)),
@@ -2128,7 +2132,10 @@ fn ethers_tx_to_bytes<T: EthSpec>(
VariableList::new(tx).map_err(Into::into)
}
fn noop<T: EthSpec>(_: &ExecutionLayer<T>, _: &ExecutionPayload<T>) -> Option<ExecutionPayload<T>> {
fn noop<T: EthSpec>(
_: &ExecutionLayer<T>,
_: ExecutionPayloadRef<T>,
) -> Option<ExecutionPayload<T>> {
None
}