Skip to content

Commit f0a6f66

Browse files
committed
wip
1 parent 42ada3d commit f0a6f66

File tree

8 files changed

+10
-5
lines changed

8 files changed

+10
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/node/src/full/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ impl Node {
118118
// --- build pipeline
119119

120120
let (mut pipeline, _) = Pipeline::new(provider.clone(), 50);
121-
let block_downloader = BatchBlockDownloader::new_gateway(gateway_client.clone(), 50);
121+
let block_downloader = BatchBlockDownloader::new_gateway(gateway_client.clone(), 8);
122122
pipeline.add_stage(Blocks::new(provider.clone(), block_downloader));
123-
pipeline.add_stage(Classes::new(provider.clone(), gateway_client.clone(), 3));
123+
pipeline.add_stage(Classes::new(provider.clone(), gateway_client.clone(), 8));
124124
pipeline.add_stage(StateTrie::new(provider.clone()));
125125

126126
// --- build rpc server

crates/node/src/full/pending.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,4 @@ impl ContractClassProvider for PendingStateProvider {
103103
}
104104

105105
impl StateRootProvider for PendingStateProvider {}
106-
107106
impl StateProofProvider for PendingStateProvider {}

crates/node/src/full/tip_watcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use anyhow::Result;
66
use futures::future::BoxFuture;
77
use katana_pipeline::PipelineHandle;
88
use katana_starknet::StarknetCore;
9-
use tracing::{error, info, trace};
9+
use tracing::{error, info};
1010

1111
type TipWatcherFut = BoxFuture<'static, Result<()>>;
1212

crates/storage/provider/provider/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ katana-trie.workspace = true
1919
anyhow.workspace = true
2020
auto_impl.workspace = true
2121
bitvec.workspace = true
22+
lazy_static.workspace = true
2223
parking_lot.workspace = true
2324
starknet.workspace = true
2425
starknet-types-core.workspace = true

crates/sync/stage/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ katana-executor.workspace = true
1111
katana-gateway.workspace = true
1212
katana-messaging.workspace = true
1313
katana-pool.workspace = true
14+
katana-trie.workspace = true
1415
katana-primitives.workspace = true
1516
katana-provider.workspace = true
1617
katana-rpc-types.workspace = true

crates/sync/stage/src/trie.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use katana_provider::api::block::HeaderProvider;
55
use katana_provider::api::state_update::StateUpdateProvider;
66
use katana_provider::api::trie::TrieWriter;
77
use katana_rpc_types::class;
8+
use katana_trie::CommitId;
89
use starknet::macros::short_string;
910
use starknet_types_core::hash::{Poseidon, StarkHash};
1011
use tracing::{debug, error, info_span, trace, trace_span};

crates/trie/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
use bitvec::view::AsBits;
22
pub use bonsai::{BitVec, MultiProof, Path, ProofNode};
33
use bonsai_trie::BonsaiStorage;
4-
pub use bonsai_trie::{BonsaiDatabase, BonsaiPersistentDatabase, BonsaiStorageConfig};
4+
pub use bonsai_trie::{
5+
databases::HashMapDb, BonsaiDatabase, BonsaiPersistentDatabase, BonsaiStorageConfig,
6+
};
57
use katana_primitives::class::ClassHash;
68
use katana_primitives::Felt;
79
use starknet_types_core::hash::{Pedersen, StarkHash};

0 commit comments

Comments
 (0)