diff --git a/costs/Cargo.toml b/costs/Cargo.toml index db064e08..382404d6 100644 --- a/costs/Cargo.toml +++ b/costs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grovedb-costs" -version = "2.2.0" +version = "2.2.1" edition = "2021" license = "MIT" description = "Costs extension crate for GroveDB" diff --git a/grovedb-epoch-based-storage-flags/Cargo.toml b/grovedb-epoch-based-storage-flags/Cargo.toml index 01594792..2e32ec2b 100644 --- a/grovedb-epoch-based-storage-flags/Cargo.toml +++ b/grovedb-epoch-based-storage-flags/Cargo.toml @@ -2,13 +2,13 @@ name = "grovedb-epoch-based-storage-flags" authors = ["Samuel Westrich "] description = "Epoch based storage flags for GroveDB" -version = "2.2.0" +version = "2.2.1" edition = "2021" license = "MIT" repository = "https://github.com/dashpay/grovedb" [dependencies] -grovedb-costs = { version = "2.2.0", path = "../costs" } +grovedb-costs = { version = "2.2.1", path = "../costs" } hex = { version = "0.4.3" } integer-encoding = { version = "4.0.0" } diff --git a/grovedb-version/Cargo.toml b/grovedb-version/Cargo.toml index 0c523e1c..5cbd2dbe 100644 --- a/grovedb-version/Cargo.toml +++ b/grovedb-version/Cargo.toml @@ -2,7 +2,7 @@ name = "grovedb-version" authors = ["Samuel Westrich "] description = "Versioning library for Platform" -version = "2.2.0" +version = "2.2.1" edition = "2021" license = "MIT" repository = "https://github.com/dashpay/grovedb" diff --git a/grovedb/Cargo.toml b/grovedb/Cargo.toml index e1368278..f977d0f4 100644 --- a/grovedb/Cargo.toml +++ b/grovedb/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "grovedb" description = "Fully featured database using balanced hierarchical authenticated data structures" -version = "2.2.0" +version = "2.2.1" authors = ["Samuel Westrich ", "Wisdom Ogwu "] edition = "2021" license = "MIT" @@ -11,13 +11,13 @@ readme = "../README.md" documentation = "https://docs.rs/grovedb" [dependencies] -grovedb-costs = { version = "2.2.0", path = "../costs" , optional = true } -grovedbg-types = { version = "2.2.0", path = "../grovedbg-types", optional = true } -grovedb-merk = { version = "2.2.0", path = "../merk", optional = true, default-features = false } -grovedb-path = { version = "2.2.0", path = "../path" } -grovedb-storage = { version = "2.2.0", path = "../storage", optional = true } -grovedb-version = { version = "2.2.0", path = "../grovedb-version" } -grovedb-visualize = { version = "2.2.0", path = "../visualize", optional = true } +grovedb-costs = { version = "2.2.1", path = "../costs" , optional = true } +grovedbg-types = { version = "2.2.1", path = "../grovedbg-types", optional = true } +grovedb-merk = { version = "2.2.1", path = "../merk", optional = true, default-features = false } +grovedb-path = { version = "2.2.1", path = "../path" } +grovedb-storage = { version = "2.2.1", path = "../storage", optional = true } +grovedb-version = { version = "2.2.1", path = "../grovedb-version" } +grovedb-visualize = { version = "2.2.1", path = "../visualize", optional = true } axum = { version = "=0.7.5", features = ["macros"], optional = true } bincode = { version = "2.0.0-rc.3" } @@ -36,7 +36,7 @@ zip-extensions = { version = "0.8.1", optional = true } serde = { version = "1.0.210", features = ["derive"], optional = true } [dev-dependencies] -grovedb-epoch-based-storage-flags = { version = "2.2.0", path = "../grovedb-epoch-based-storage-flags" } +grovedb-epoch-based-storage-flags = { version = "2.2.1", path = "../grovedb-epoch-based-storage-flags" } criterion = "0.5.1" hex = "0.4.3" diff --git a/grovedb/src/replication/state_sync_session.rs b/grovedb/src/replication/state_sync_session.rs index 59d93316..1ce41c4b 100644 --- a/grovedb/src/replication/state_sync_session.rs +++ b/grovedb/src/replication/state_sync_session.rs @@ -22,7 +22,7 @@ use super::{ }; use crate::{replication, Element, Error, GroveDb, Transaction}; -pub(crate) type SubtreePrefix = [u8; blake3::OUT_LEN]; +pub(crate) type SubtreePrefix = [u8; 32]; /// Struct governing the state synchronization of one subtree. struct SubtreeStateSyncInfo<'db> { diff --git a/grovedbg-types/Cargo.toml b/grovedbg-types/Cargo.toml index be14fd54..7c5eb549 100644 --- a/grovedbg-types/Cargo.toml +++ b/grovedbg-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grovedbg-types" -version = "2.2.0" +version = "2.2.1" edition = "2021" description = "Common type definitions for data exchange over GroveDBG protocol" authors = ["Evgeny Fomin "] diff --git a/merk/Cargo.toml b/merk/Cargo.toml index a720f127..903c61d7 100644 --- a/merk/Cargo.toml +++ b/merk/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "grovedb-merk" description = "Merkle key/value store adapted for GroveDB" -version = "2.2.0" +version = "2.2.1" authors = ["Samuel Westrich ", "Wisdom Ogwu ", "Matt Bell "] edition = "2021" license = "MIT" @@ -11,11 +11,11 @@ readme = "README.md" documentation = "https://docs.rs/grovedb-merk" [dependencies] -grovedb-costs = { version = "2.2.0" , path = "../costs" } -grovedb-path = { version = "2.2.0", path = "../path" } -grovedb-storage = { version = "2.2.0", path = "../storage", optional = true } -grovedb-version = { version = "2.2.0", path = "../grovedb-version" } -grovedb-visualize = { version = "2.2.0", path = "../visualize" } +grovedb-costs = { version = "2.2.1" , path = "../costs" } +grovedb-path = { version = "2.2.1", path = "../path" } +grovedb-storage = { version = "2.2.1", path = "../storage", optional = true } +grovedb-version = { version = "2.2.1", path = "../grovedb-version" } +grovedb-visualize = { version = "2.2.1", path = "../visualize" } bincode = { version = "2.0.0-rc.3" } hex = "0.4.3" diff --git a/node-grove/Cargo.toml b/node-grove/Cargo.toml index cc5624c3..bd91146b 100644 --- a/node-grove/Cargo.toml +++ b/node-grove/Cargo.toml @@ -10,8 +10,8 @@ exclude = ["index.node"] crate-type = ["cdylib"] [dependencies] -grovedb = { version = "2.2.0", path = "../grovedb", features = ["full", "estimated_costs"] } -grovedb-version = { version = "2.2.0", path = "../grovedb-version" } +grovedb = { version = "2.2.1", path = "../grovedb", features = ["full", "estimated_costs"] } +grovedb-version = { version = "2.2.1", path = "../grovedb-version" } [dependencies.neon] version = "0.10.1" diff --git a/path/Cargo.toml b/path/Cargo.toml index 1334da45..f5f89be7 100644 --- a/path/Cargo.toml +++ b/path/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grovedb-path" -version = "2.2.0" +version = "2.2.1" edition = "2021" license = "MIT" description = "Path extension crate for GroveDB" diff --git a/storage/Cargo.toml b/storage/Cargo.toml index 683470de..e2db3bb6 100644 --- a/storage/Cargo.toml +++ b/storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grovedb-storage" -version = "2.2.0" +version = "2.2.1" edition = "2021" license = "MIT" description = "Storage extension crate for GroveDB" @@ -9,9 +9,9 @@ documentation = "https://docs.rs/grovedb-storage" repository = "https://github.com/dashpay/grovedb" [dependencies] -grovedb-costs = { version = "2.2.0", path = "../costs" } -grovedb-path = { version = "2.2.0", path = "../path" } -grovedb-visualize = { version = "2.2.0", path = "../visualize" } +grovedb-costs = { version = "2.2.1", path = "../costs" } +grovedb-path = { version = "2.2.1", path = "../path" } +grovedb-visualize = { version = "2.2.1", path = "../visualize" } blake3 = { version = "1.5.1", optional = true } hex = "0.4.3" diff --git a/storage/src/rocksdb_storage/storage.rs b/storage/src/rocksdb_storage/storage.rs index 44510694..f43c05e2 100644 --- a/storage/src/rocksdb_storage/storage.rs +++ b/storage/src/rocksdb_storage/storage.rs @@ -57,8 +57,7 @@ use crate::{ }; const BLAKE_BLOCK_LEN: usize = 64; - -pub type SubtreePrefix = [u8; blake3::OUT_LEN]; +pub type SubtreePrefix = [u8; 32]; fn blake_block_count(len: usize) -> usize { if len == 0 { diff --git a/storage/src/storage.rs b/storage/src/storage.rs index 2795cfc2..196507a6 100644 --- a/storage/src/storage.rs +++ b/storage/src/storage.rs @@ -42,8 +42,7 @@ use grovedb_path::SubtreePath; use grovedb_visualize::visualize_to_vec; use crate::{worst_case_costs::WorstKeyLength, Error}; - -pub type SubtreePrefix = [u8; blake3::OUT_LEN]; +pub type SubtreePrefix = [u8; 32]; /// Top-level storage_cost abstraction. /// Should be able to hold storage_cost connection and to start transaction when diff --git a/visualize/Cargo.toml b/visualize/Cargo.toml index 603fad71..233341a2 100644 --- a/visualize/Cargo.toml +++ b/visualize/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grovedb-visualize" -version = "2.2.0" +version = "2.2.1" edition = "2021" license = "MIT" description = "Debug prints extension crate for GroveDB"