Skip to content

Commit

Permalink
test(starknet_state_sync): add unit tests for state sync read methods
Browse files Browse the repository at this point in the history
  • Loading branch information
noamsp-starkware committed Dec 26, 2024
1 parent 367bc61 commit aee782d
Show file tree
Hide file tree
Showing 5 changed files with 378 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions crates/starknet_state_sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ tokio.workspace = true
validator.workspace = true

[dev-dependencies]
cairo-lang-starknet-classes.workspace = true
indexmap = { workspace = true, features = ["serde"] }
papyrus_storage = { workspace = true, features = ["testing"] }
papyrus_test_utils.workspace = true
rand_chacha.workspace = true
2 changes: 2 additions & 0 deletions crates/starknet_state_sync/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
pub mod config;
pub mod runner;
#[cfg(test)]
mod test;

use async_trait::async_trait;
use futures::channel::mpsc::{channel, Sender};
Expand Down
Loading

0 comments on commit aee782d

Please sign in to comment.