Describe the feature
After recent improvements this is unused:
|
/// Information about the current persistence state |
|
persistence: &'a PersistenceState, |
and can be removed together with these functions:
|
/// Returns a reference to the persistence info |
|
pub const fn persistence(&self) -> &PersistenceState { |
|
self.persistence |
|
} |
|
pub fn persisting_kind_for(&self, block: BlockWithParent) -> PersistingKind { |
we can further remove this type:
|
/// Whether or not the blocks are currently persisting and the input block is a descendant. |
|
#[derive(Debug, Clone, Copy)] |
|
pub enum PersistingKind { |
|
/// The blocks are not currently persisting. |
|
NotPersisting, |
|
/// The blocks are currently persisting but the input block is not a descendant. |
|
PersistingNotDescendant, |
|
/// The blocks are currently persisting and the input block is a descendant. |
|
PersistingDescendant, |
|
} |
Additional context
No response
Describe the feature
After recent improvements this is unused:
reth/crates/engine/tree/src/tree/payload_validator.rs
Lines 54 to 55 in 5091482
and can be removed together with these functions:
reth/crates/engine/tree/src/tree/payload_validator.rs
Lines 90 to 93 in 5091482
reth/crates/engine/tree/src/tree/payload_validator.rs
Line 106 in 5091482
we can further remove this type:
reth/crates/engine/tree/src/tree/mod.rs
Lines 2806 to 2815 in 5091482
Additional context
No response