refactor(trie): move state root database operations into extension trait (#9635)

Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
This commit is contained in:
Roman Hodulák
2024-07-22 12:59:49 +02:00
committed by GitHub
parent a82b3c5195
commit 5ec0c26980
32 changed files with 1504 additions and 1321 deletions

View File

@ -35,6 +35,7 @@ reth-stages.workspace = true
reth-static-file-types.workspace = true
reth-static-file.workspace = true
reth-trie = { workspace = true, features = ["metrics"] }
reth-trie-db = { workspace = true, features = ["metrics"] }
itertools.workspace = true
futures.workspace = true

View File

@ -8,6 +8,7 @@ use reth_db_api::{
};
use reth_provider::{BlockNumReader, HeaderProvider, ProviderError};
use reth_trie::StateRoot;
use reth_trie_db::DatabaseStateRoot;
use tracing::*;
/// `reth recover storage-tries` command