chore: remove outdated TODOs (#4498)

This commit is contained in:
Dan Cline
2023-09-06 18:06:18 -04:00
committed by GitHub
parent 422d930914
commit e6f933d53c
2 changed files with 0 additions and 5 deletions

View File

@ -81,10 +81,6 @@ impl From<BuiltPayload> for ExecutionPayloadV1 {
}
// V2 engine_getPayloadV2 response
// TODO(rjected): we could improve this by wrapping envelope / payload types by version, so we can
// have explicitly versioned return types for getPayload. Then BuiltPayload could essentially be a
// builder for those types, and it would not be possible to e.g. return cancun fields for a
// pre-cancun endpoint.
impl From<BuiltPayload> for ExecutionPayloadEnvelopeV2 {
fn from(value: BuiltPayload) -> Self {
let BuiltPayload { block, fees, .. } = value;

View File

@ -104,7 +104,6 @@ where
let cancun_fields = CancunPayloadFields { versioned_hashes, parent_beacon_block_root };
// TODO: validate versioned hashes and figure out what to do with parent_beacon_block_root
Ok(self.inner.beacon_consensus.new_payload(payload, Some(cancun_fields)).await?)
}