From 80cc4b6459155f80e23eef81ff8d95fc96f9b477 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Wed, 19 Aug 2026 15:32:46 +0200 Subject: [PATCH] Bump trie-db versions --- test-support/reference-trie/Cargo.toml | 4 ++-- test-support/trie-bench/Cargo.toml | 4 ++-- trie-db/CHANGELOG.md | 5 +++-- trie-db/Cargo.toml | 2 +- trie-db/test/Cargo.toml | 4 ++-- trie-eip1186/Cargo.toml | 4 ++-- trie-eip1186/test/Cargo.toml | 4 ++-- 7 files changed, 14 insertions(+), 13 deletions(-) diff --git a/test-support/reference-trie/Cargo.toml b/test-support/reference-trie/Cargo.toml index d4ca1f06..93beb4e8 100644 --- a/test-support/reference-trie/Cargo.toml +++ b/test-support/reference-trie/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reference-trie" -version = "0.29.2" +version = "0.29.3" authors = ["Parity Technologies "] description = "Simple reference trie format" repository = "https://github.com/paritytech/trie/" @@ -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"] } diff --git a/test-support/trie-bench/Cargo.toml b/test-support/trie-bench/Cargo.toml index 7d9e03ab..89983b15 100644 --- a/test-support/trie-bench/Cargo.toml +++ b/test-support/trie-bench/Cargo.toml @@ -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 "] repository = "https://github.com/paritytech/trie/" license = "Apache-2.0" @@ -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" diff --git a/trie-db/CHANGELOG.md b/trie-db/CHANGELOG.md index 87fa58d7..0966b8fc 100644 --- a/trie-db/CHANGELOG.md +++ b/trie-db/CHANGELOG.md @@ -4,11 +4,11 @@ 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 @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog]. 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) diff --git a/trie-db/Cargo.toml b/trie-db/Cargo.toml index 9d0a46cf..016dad12 100644 --- a/trie-db/Cargo.toml +++ b/trie-db/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trie-db" -version = "0.31.0" +version = "0.32.0" authors = ["Parity Technologies "] description = "Merkle-Patricia Trie generic over key hasher and node encoding" repository = "https://github.com/paritytech/trie" diff --git a/trie-db/test/Cargo.toml b/trie-db/test/Cargo.toml index 517669be..4dc0b33f 100644 --- a/trie-db/test/Cargo.toml +++ b/trie-db/test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trie-db-test" -version = "0.31.1" +version = "0.31.2" authors = ["Parity Technologies "] description = "Tests for trie-db crate" repository = "https://github.com/paritytech/trie" @@ -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"] } diff --git a/trie-eip1186/Cargo.toml b/trie-eip1186/Cargo.toml index 1ba1b4cb..28515bbf 100644 --- a/trie-eip1186/Cargo.toml +++ b/trie-eip1186/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trie-eip1186" -version = "0.5.1" +version = "0.5.2" authors = ["Parity Technologies "] description = "EIP-1186 compliant proof generation and verification" repository = "https://github.com/paritytech/trie" @@ -8,7 +8,7 @@ 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] diff --git a/trie-eip1186/test/Cargo.toml b/trie-eip1186/test/Cargo.toml index 2488c97b..c26c158c 100644 --- a/trie-eip1186/test/Cargo.toml +++ b/trie-eip1186/test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trie-eip1186-test" -version = "0.7.1" +version = "0.7.2" authors = ["Parity Technologies "] description = "Tests for trie-eip1186 crate" repository = "https://github.com/paritytech/trie" @@ -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" }