Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test-support/reference-trie/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "reference-trie"
version = "0.29.2"
version = "0.29.3"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Simple reference trie format"
repository = "https://github.com/paritytech/trie/"
Expand All @@ -10,7 +10,7 @@ edition = "2018"
[dependencies]
hash-db = { path = "../../hash-db" , version = "0.16.0"}
keccak-hasher = { path = "../keccak-hasher", version = "0.16.0" }
trie-db = { path = "../../trie-db", default-features = false, version = "0.31.0" }
trie-db = { path = "../../trie-db", default-features = false, version = "0.32.0" }
trie-root = { path = "../../trie-root", default-features = false, version = "0.18.0" }
parity-scale-codec = { version = "3.0.0", features = ["derive"] }
hashbrown = { version = "0.14.1", default-features = false, features = ["ahash"] }
Expand Down
4 changes: 2 additions & 2 deletions test-support/trie-bench/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "trie-bench"
description = "Standard benchmarking suite for tries"
version = "0.42.1"
version = "0.42.2"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/trie/"
license = "Apache-2.0"
Expand All @@ -13,6 +13,6 @@ trie-standardmap = { path = "../trie-standardmap", version = "0.16.0" }
hash-db = { path = "../../hash-db" , version = "0.16.0"}
memory-db = { path = "../../memory-db", version = "0.34.0" }
trie-root = { path = "../../trie-root", version = "0.18.0" }
trie-db = { path = "../../trie-db", version = "0.31.0" }
trie-db = { path = "../../trie-db", version = "0.32.0" }
criterion = "0.5.1"
parity-scale-codec = "3.0.0"
5 changes: 3 additions & 2 deletions trie-db/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ The format is based on [Keep a Changelog].

[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]
## [0.32.0] - 2026-08-19
- Fix the item count returned by `decode_compact`/`decode_compact_from_iter` when the last
decoded node carries an attached (detached-at-encoding) value: the value item was not counted,
so continuing to decode concatenated encodings at the returned offset re-read the value as a
node.
node. [#227](https://github.com/paritytech/trie/pull/227)
- Add `encode_compact_skip_duplicates`, emitting each distinct item in a compact proof — trie
node or detached value node — only once instead of once per referencing position. Deduplicated
encodings reconstruct a readable hash-keyed database with any decoder, including already
released ones; decoding them into position-keyed (prefixed) databases, or relying on
reconstructed reference counts, is unsupported — a proof is a record of state accesses, not a
database to mutate
([polkadot-sdk#12565](https://github.com/paritytech/polkadot-sdk/issues/12565)).
[#233](https://github.com/paritytech/trie/pull/233)

## [0.30.0] - 2025-03-06
- Improve `TrieCache` size by reducing size_of `NodeOwned` [#216](https://github.com/paritytech/trie/pull/216)
Expand Down
2 changes: 1 addition & 1 deletion trie-db/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trie-db"
version = "0.31.0"
version = "0.32.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Merkle-Patricia Trie generic over key hasher and node encoding"
repository = "https://github.com/paritytech/trie"
Expand Down
4 changes: 2 additions & 2 deletions trie-db/test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trie-db-test"
version = "0.31.1"
version = "0.31.2"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Tests for trie-db crate"
repository = "https://github.com/paritytech/trie"
Expand All @@ -12,7 +12,7 @@ name = "bench"
harness = false

[dependencies]
trie-db = { path = "..", version = "0.31.0"}
trie-db = { path = "..", version = "0.32.0"}
hash-db = { path = "../../hash-db", version = "0.16.0"}
memory-db = { path = "../../memory-db", version = "0.34.0" }
rand = { version = "0.8", default-features = false, features = ["small_rng"] }
Expand Down
4 changes: 2 additions & 2 deletions trie-eip1186/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "trie-eip1186"
version = "0.5.1"
version = "0.5.2"
authors = ["Parity Technologies <admin@parity.io>"]
description = "EIP-1186 compliant proof generation and verification"
repository = "https://github.com/paritytech/trie"
license = "Apache-2.0"
edition = "2018"

[dependencies]
trie-db = { path = "../trie-db", default-features = false, version = "0.31.0"}
trie-db = { path = "../trie-db", default-features = false, version = "0.32.0"}
hash-db = { path = "../hash-db", default-features = false, version = "0.16.0"}

[features]
Expand Down
4 changes: 2 additions & 2 deletions trie-eip1186/test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trie-eip1186-test"
version = "0.7.1"
version = "0.7.2"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Tests for trie-eip1186 crate"
repository = "https://github.com/paritytech/trie"
Expand All @@ -9,7 +9,7 @@ edition = "2018"

[dependencies]
trie-eip1186 = { path = "..", version = "0.5.0"}
trie-db = { path = "../../trie-db", version = "0.31.0"}
trie-db = { path = "../../trie-db", version = "0.32.0"}
hash-db = { path = "../../hash-db", version = "0.16.0"}
reference-trie = { path = "../../test-support/reference-trie", version = "0.29.0" }
memory-db = { path = "../../memory-db", version = "0.34.0" }
Loading