mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
refactor(engine): remove unused MultiProofMessage::EmptyProof variant (#22909)
Co-authored-by: YK <46377366+yongkangc@users.noreply.github.com>
This commit is contained in:
@@ -47,16 +47,6 @@ pub enum MultiProofMessage {
|
||||
PrefetchProofs(MultiProofTargetsV2),
|
||||
/// New state update from transaction execution with its source
|
||||
StateUpdate(Source, EvmState),
|
||||
/// State update that can be applied to the sparse trie without any new proofs.
|
||||
///
|
||||
/// It can be the case when all accounts and storage slots from the state update were already
|
||||
/// fetched and revealed.
|
||||
EmptyProof {
|
||||
/// The index of this proof in the sequence of state updates
|
||||
sequence_number: u64,
|
||||
/// The state update that was used to calculate the proof
|
||||
state: HashedPostState,
|
||||
},
|
||||
/// Pre-hashed state update from BAL conversion that can be applied directly without proofs.
|
||||
HashedStateUpdate(HashedPostState),
|
||||
/// Block Access List (EIP-7928; BAL) containing complete state changes for the block.
|
||||
|
||||
@@ -179,9 +179,7 @@ where
|
||||
MultiProofMessage::FinishedStateUpdates => {
|
||||
SparseTrieTaskMessage::FinishedStateUpdates
|
||||
}
|
||||
MultiProofMessage::EmptyProof { .. } | MultiProofMessage::BlockAccessList(_) => {
|
||||
continue
|
||||
}
|
||||
MultiProofMessage::BlockAccessList(_) => continue,
|
||||
MultiProofMessage::HashedStateUpdate(state) => {
|
||||
SparseTrieTaskMessage::HashedState(state)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user