Expose a public function to fetch the root of a subtree at level n (#247)

* add get_subroot function

* update test

* update pmtree dependecy
This commit is contained in:
Ekaterina Broslavskaya
2024-05-17 16:35:18 +07:00
committed by GitHub
parent 4931b25237
commit 0005b1d61f
12 changed files with 289 additions and 42 deletions

View File

@@ -15,10 +15,11 @@ bench = false
ark-ff = { version = "=0.4.1", default-features = false, features = ["asm"] }
num-bigint = { version = "=0.4.3", default-features = false, features = ["rand"] }
color-eyre = "=0.6.2"
pmtree = { package = "pmtree", version = "=2.0.0", optional = true}
pmtree = { package = "vacp2p_pmtree", version = "=2.0.2", optional = true}
sled = "=0.34.7"
serde = "=1.0.163"
lazy_static = "1.4.0"
hex = "0.4"
[dev-dependencies]
ark-bn254 = "=0.4.0"