From 4078bdb037bed39c6b66ee81b21f2cb0e2b40aa6 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Tue, 12 Sep 2023 13:36:09 +0300 Subject: [PATCH 1/4] Update changelog Signed-off-by: Alexandru Vasile --- trie-db/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/trie-db/CHANGELOG.md b/trie-db/CHANGELOG.md index ac450d40..08d51546 100644 --- a/trie-db/CHANGELOG.md +++ b/trie-db/CHANGELOG.md @@ -4,6 +4,11 @@ The format is based on [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ +## [0.28.0] - 2023-09-12 +- Make `trie_nodes_recorded_for_key` work for inline values [#194](https://github.com/paritytech/trie/pull/194) +- trie-db: Fetch the closest merkle value [#199](https://github.com/paritytech/trie/pull/199) +- fixing triedbmut lookup, added some testing in test. [#198](https://github.com/paritytech/trie/pull/198) + ## [0.27.1] - 2023-03-17 - Fix `TrieDBRawIterator::prefix_then_seek` [#190](https://github.com/paritytech/trie/pull/190) From 8206a1f7d2c47e66118d3f692ffda8b0150f8f98 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Tue, 12 Sep 2023 13:36:33 +0300 Subject: [PATCH 2/4] trie-db: Bump version to 0.28 Signed-off-by: Alexandru Vasile --- trie-db/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trie-db/Cargo.toml b/trie-db/Cargo.toml index f8e6b00c..1fd496ad 100644 --- a/trie-db/Cargo.toml +++ b/trie-db/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trie-db" -version = "0.27.1" +version = "0.28.0" authors = ["Parity Technologies "] description = "Merkle-Patricia Trie generic over key hasher and node encoding" repository = "https://github.com/paritytech/trie" From 40798936645046ffaf95b5d8f40bd2b03a226dea Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Tue, 12 Sep 2023 13:37:27 +0300 Subject: [PATCH 3/4] Update trie-db across workspace Signed-off-by: Alexandru Vasile --- test-support/reference-trie/Cargo.toml | 2 +- test-support/trie-bench/Cargo.toml | 2 +- trie-db/test/Cargo.toml | 2 +- trie-eip1186/Cargo.toml | 2 +- trie-eip1186/test/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test-support/reference-trie/Cargo.toml b/test-support/reference-trie/Cargo.toml index 90fe577a..938a384c 100644 --- a/test-support/reference-trie/Cargo.toml +++ b/test-support/reference-trie/Cargo.toml @@ -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.27.0" } +trie-db = { path = "../../trie-db", default-features = false, version = "0.28.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.13.2", default-features = false, features = ["ahash"] } diff --git a/test-support/trie-bench/Cargo.toml b/test-support/trie-bench/Cargo.toml index f8de1f96..54209479 100644 --- a/test-support/trie-bench/Cargo.toml +++ b/test-support/trie-bench/Cargo.toml @@ -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.32.0" } trie-root = { path = "../../trie-root", version = "0.18.0" } -trie-db = { path = "../../trie-db", version = "0.27.0" } +trie-db = { path = "../../trie-db", version = "0.28.0" } criterion = "0.4.0" parity-scale-codec = "3.0.0" diff --git a/trie-db/test/Cargo.toml b/trie-db/test/Cargo.toml index 547df945..4b58f86f 100644 --- a/trie-db/test/Cargo.toml +++ b/trie-db/test/Cargo.toml @@ -12,7 +12,7 @@ name = "bench" harness = false [dependencies] -trie-db = { path = "..", version = "0.27.0"} +trie-db = { path = "..", version = "0.28.0"} hash-db = { path = "../../hash-db", version = "0.16.0"} memory-db = { path = "../../memory-db", version = "0.32.0" } rand = { version = "0.8", default-features = false, features = ["small_rng"] } diff --git a/trie-eip1186/Cargo.toml b/trie-eip1186/Cargo.toml index 5254d261..4de55de2 100644 --- a/trie-eip1186/Cargo.toml +++ b/trie-eip1186/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" edition = "2018" [dependencies] -trie-db = { path = "../trie-db", default-features = false, version = "0.27.0"} +trie-db = { path = "../trie-db", default-features = false, version = "0.28.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 4ee7c0fc..1956eb8d 100644 --- a/trie-eip1186/test/Cargo.toml +++ b/trie-eip1186/test/Cargo.toml @@ -9,7 +9,7 @@ edition = "2018" [dependencies] trie-eip1186 = { path = "..", version = "0.5.0"} -trie-db = { path = "../../trie-db", version = "0.27.0"} +trie-db = { path = "../../trie-db", version = "0.28.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.32.0" } From 28d26a1299d2e2270ec5f43bba62d570feb85f64 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Tue, 12 Sep 2023 15:07:13 +0300 Subject: [PATCH 4/4] Update trie-bench to 0.38.0 Signed-off-by: Alexandru Vasile --- test-support/trie-bench/CHANGELOG.md | 3 +++ test-support/trie-bench/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test-support/trie-bench/CHANGELOG.md b/test-support/trie-bench/CHANGELOG.md index 8634244b..6982dff9 100644 --- a/test-support/trie-bench/CHANGELOG.md +++ b/test-support/trie-bench/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog]. ## [Unreleased] +## [0.38.0] - 2023-09-12 +- chore: Release trie-db 0.28.0 [#200](https://github.com/paritytech/trie/pull/200) + ## [0.37.0] - 2023-03-14 - Update dependencies. [#188](https://github.com/paritytech/trie/pull/188) and [#187](https://github.com/paritytech/trie/pull/187) diff --git a/test-support/trie-bench/Cargo.toml b/test-support/trie-bench/Cargo.toml index 54209479..6979e60a 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.37.0" +version = "0.38.0" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/trie/" license = "Apache-2.0"