perf(trie): implement remove_leaf for ParallelSparseTrie (#17035)

This commit is contained in:
Brian Picciano
2025-06-26 18:33:42 +02:00
committed by GitHub
parent 0e832c2c30
commit cfdd173afc
2 changed files with 959 additions and 19 deletions

View File

@@ -170,6 +170,12 @@ pub enum SparseTrieErrorKind {
/// RLP error.
#[error(transparent)]
Rlp(#[from] alloy_rlp::Error),
/// Node not found in provider during revealing.
#[error("node {path:?} not found in provider during removal")]
NodeNotFoundInProvider {
/// Path to the missing node.
path: Nibbles,
},
/// Other.
#[error(transparent)]
Other(#[from] Box<dyn core::error::Error + Send>),