mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-28 00:28:20 -05:00
dep(trie): remove reth-trie dep from reth-trie-sparse (#12872)
This commit is contained in:
@@ -16,7 +16,6 @@ workspace = true
|
||||
# reth
|
||||
reth-tracing.workspace = true
|
||||
reth-trie-common.workspace = true
|
||||
reth-trie.workspace = true
|
||||
|
||||
# alloy
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Errors for sparse trie.
|
||||
|
||||
use alloy_primitives::{Bytes, B256};
|
||||
use reth_trie::Nibbles;
|
||||
use reth_trie_common::Nibbles;
|
||||
use thiserror::Error;
|
||||
|
||||
use crate::SparseNode;
|
||||
|
||||
@@ -6,7 +6,7 @@ use alloy_primitives::{
|
||||
Bytes, B256,
|
||||
};
|
||||
use alloy_rlp::Decodable;
|
||||
use reth_trie::{
|
||||
use reth_trie_common::{
|
||||
updates::{StorageTrieUpdates, TrieUpdates},
|
||||
Nibbles, TrieNode,
|
||||
};
|
||||
|
||||
@@ -6,13 +6,10 @@ use alloy_primitives::{
|
||||
};
|
||||
use alloy_rlp::Decodable;
|
||||
use reth_tracing::tracing::debug;
|
||||
use reth_trie::{
|
||||
prefix_set::{PrefixSet, PrefixSetMut},
|
||||
BranchNodeCompact, RlpNode,
|
||||
};
|
||||
use reth_trie_common::{
|
||||
BranchNodeRef, ExtensionNodeRef, LeafNodeRef, Nibbles, TrieMask, TrieNode, CHILD_INDEX_RANGE,
|
||||
EMPTY_ROOT_HASH,
|
||||
prefix_set::{PrefixSet, PrefixSetMut},
|
||||
BranchNodeCompact, BranchNodeRef, ExtensionNodeRef, LeafNodeRef, Nibbles, RlpNode, TrieMask,
|
||||
TrieNode, CHILD_INDEX_RANGE, EMPTY_ROOT_HASH,
|
||||
};
|
||||
use smallvec::SmallVec;
|
||||
use std::{borrow::Cow, fmt};
|
||||
|
||||
Reference in New Issue
Block a user