Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eserilev committed Oct 21, 2023
1 parent 7dc7ece commit 59e1a18
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions beacon_node/execution_layer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1085,18 +1085,6 @@ impl<T: EthSpec> ExecutionLayer<T> {
current_fork,
spec,
) {
/*
// TODO
Ok(()) => Ok(ProvenancedPayload::Builder(
BlockProposalContentsType::Blinded(
BlockProposalContents::Payload {
payload: relay.data.message.header,
block_value: relay.data.message.value,
_phantom: PhantomData,
},
),
)),
*/
Ok(()) => Ok(ProvenancedPayload::try_from(relay.data.message)?),
Err(reason) if !reason.payload_invalid() => {
info!(
Expand Down Expand Up @@ -1150,29 +1138,6 @@ impl<T: EthSpec> ExecutionLayer<T> {
current_fork,
spec,
) {
/*
// TODO
Ok(()) => Ok(ProvenancedPayload::Builder(
BlockProposalContentsType::Blinded(
BlockProposalContents::Payload {
payload: relay.data.message.header,
block_value: relay.data.message.value,
_phantom: PhantomData,
},
),
)),
// If the payload is valid then use it. The local EE failed
// to produce a payload so we have no alternative.
Err(e) if !e.payload_invalid() => Ok(ProvenancedPayload::Builder(
BlockProposalContentsType::Blinded(
BlockProposalContents::Payload {
payload: relay.data.message.header,
block_value: relay.data.message.value,
_phantom: PhantomData,
},
),
)),
*/
Ok(()) => Ok(ProvenancedPayload::try_from(relay.data.message)?),
// If the payload is valid then use it. The local EE failed
// to produce a payload so we have no alternative.
Expand Down

0 comments on commit 59e1a18

Please sign in to comment.