Skip to content

Commit

Permalink
fix(balanced_mp): removes some panics and adds some checks
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed May 31, 2023
1 parent 0c1e576 commit 2059ea8
Show file tree
Hide file tree
Showing 4 changed files with 296 additions and 114 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

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

26 changes: 13 additions & 13 deletions base_layer/mmr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ native_bitmap = ["croaring"]
benches = ["criterion"]

[dependencies]
tari_utilities = "0.4.10"
tari_crypto = { version = "0.16"}
tari_common = {path = "../../common"}
thiserror = "1.0.26"
borsh = "0.9.3"
digest = "0.9.0"
tari_utilities = "0.4"
tari_crypto = { version = "0.16" }
tari_common = { path = "../../common" }
thiserror = "1.0"
borsh = "0.9"
digest = "0.9"
log = "0.4"
serde = { version = "1.0.97", features = ["derive"] }
croaring = { version = "0.5.2", optional = true }
criterion = { version="0.2", optional = true }
serde = { version = "1.0", features = ["derive"] }
croaring = { version = "0.5", optional = true }
criterion = { version = "0.2", optional = true }

[dev-dependencies]
rand="0.8.0"
rand = "0.8.0"
blake2 = "0.9.0"
serde_json = "1.0"
bincode = "1.1"
Expand All @@ -39,6 +39,6 @@ name = "bench"
harness = false

[[test]]
name="tari_mmr_integration_tests"
path="tests/mmr_integration_tests.rs"
required-features=["native_bitmap"]
name = "tari_mmr_integration_tests"
path = "tests/mmr_integration_tests.rs"
required-features = ["native_bitmap"]
Loading

0 comments on commit 2059ea8

Please sign in to comment.