Skip to content

Commit

Permalink
test(client): add tests to block_production_task
Browse files Browse the repository at this point in the history
  • Loading branch information
GMKrieger committed Jan 29, 2025
1 parent ee31c57 commit 6b9d8ec
Show file tree
Hide file tree
Showing 3 changed files with 633 additions and 11 deletions.
3 changes: 3 additions & 0 deletions Cargo.lock

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

7 changes: 7 additions & 0 deletions crates/madara/client/block_production/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ targets = ["x86_64-unknown-linux-gnu"]

rstest = { workspace = true }
mc-db = { workspace = true, features = ["testing"] }
mc-mempool = { workspace = true, features = ["testing"] }
mc-devnet.workspace = true
mp-utils = { workspace = true, features = ["testing"] }
tokio = { workspace = true, features = ["rt-multi-thread"] }
proptest.workspace = true
proptest-derive.workspace = true
Expand All @@ -27,6 +30,10 @@ mockall.workspace = true
assert_matches.workspace = true
lazy_static.workspace = true
serde_json.workspace = true
starknet-types-rpc.workspace = true

# Compile the test contracts in test cfg.
m-cairo-test-contracts.workspace = true

[features]
testing = ["blockifier/testing", "mc-db/testing", "mockall"]
Expand Down
Loading

0 comments on commit 6b9d8ec

Please sign in to comment.