Skip to content

Commit b0c6beb

Browse files
committed
apollo_committer: add request_paths_and_commit_block tests
1 parent 10d77f4 commit b0c6beb

5 files changed

Lines changed: 533 additions & 0 deletions

File tree

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/apollo_committer/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ tracing.workspace = true
2424
[dev-dependencies]
2525
assert_matches.workspace = true
2626
indexmap.workspace = true
27+
starknet_committer = { workspace = true, features = ["os_input", "testing"] }
28+
starknet_patricia = { workspace = true }
2729
tokio.workspace = true
2830

2931
[lints]

crates/apollo_committer/src/committer_test.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,3 +314,7 @@ async fn verify_state_diff_hash_fails() {
314314
.await;
315315
assert_matches!(result, Err(CommitterError::StateDiffHashMismatch { .. }));
316316
}
317+
318+
#[cfg(feature = "os_input")]
319+
#[path = "request_paths_and_commit_block_tests.rs"]
320+
mod request_paths_and_commit_block_tests;

0 commit comments

Comments
 (0)