chore: remove total difficulty from HeaderProvider (#19151)

This commit is contained in:
joshieDo
2025-10-21 11:56:36 +01:00
committed by GitHub
parent f0c0b3db4e
commit e21048314c
28 changed files with 87 additions and 315 deletions

View File

@@ -58,9 +58,6 @@ pub enum ProviderError {
/// The account address.
address: Address,
},
/// The total difficulty for a block is missing.
#[error("total difficulty not found for block #{_0}")]
TotalDifficultyNotFound(BlockNumber),
/// When required header related data was not found but was required.
#[error("no header found for {_0:?}")]
HeaderNotFound(BlockHashOrNumber),