chore: update crates.io publish plan and fix dependencies

- Update CRATES_PUBLISH_PLAN.md with Level 0-2 completion status
- Fix binary-merkle-tree and related dependencies
- Add runtime_logger_tests.rs
- Update various Cargo.toml files
This commit is contained in:
2025-12-28 11:00:56 +03:00
parent 45322c4190
commit e43cc3d4fb
43 changed files with 514 additions and 454 deletions
@@ -36,7 +36,6 @@ trie-db = { workspace = true }
arbitrary = { features = ["derive"], workspace = true }
array-bytes = { workspace = true, default-features = true }
assert_matches = { workspace = true }
pezsp-runtime = { workspace = true, default-features = true }
pretty_assertions = { workspace = true }
rand = { workspace = true, default-features = true }
@@ -51,7 +50,6 @@ std = [
"pezsp-core/std",
"pezsp-externalities/std",
"pezsp-panic-handler",
"pezsp-runtime/std",
"pezsp-trie/std",
"rand",
"thiserror",
@@ -59,6 +57,5 @@ std = [
"trie-db/std",
]
runtime-benchmarks = [
"pezsp-runtime/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
]
@@ -25,7 +25,7 @@ use codec::Encode;
use hash_db::Hasher;
use pezsp_core::{storage::StateVersion, traits::Externalities};
#[cfg(test)]
use pezsp_runtime::traits::BlakeTwo256;
use pezsp_core::Blake2Hasher as BlakeTwo256;
use pezsp_trie::PrefixedMemoryDB;
use std::collections::BTreeMap;
@@ -197,7 +197,7 @@ mod tests {
use super::*;
use crate::backend::{AsTrieBackend, Backend};
use pezsp_core::storage::StateVersion;
use pezsp_runtime::traits::BlakeTwo256;
use pezsp_core::Blake2Hasher as BlakeTwo256;
/// Assert in memory backend with only child trie keys works as trie backend.
#[test]
@@ -1103,7 +1103,7 @@ mod tests {
traits::{CallContext, CodeExecutor, Externalities, RuntimeCode},
H256,
};
use pezsp_runtime::traits::BlakeTwo256;
use pezsp_core::Blake2Hasher as BlakeTwo256;
use pezsp_trie::{
trie_types::{TrieDBMutBuilderV0, TrieDBMutBuilderV1},
KeySpacedDBMut, PrefixedMemoryDB,
@@ -416,7 +416,7 @@ where
mod tests {
use super::*;
use pezsp_core::{storage::ChildInfo, traits::Externalities, H256};
use pezsp_runtime::traits::BlakeTwo256;
use pezsp_core::Blake2Hasher as BlakeTwo256;
#[test]
fn commit_should_work() {
@@ -578,7 +578,7 @@ pub mod tests {
use super::*;
use codec::Encode;
use pezsp_core::H256;
use pezsp_runtime::traits::BlakeTwo256;
use pezsp_core::Blake2Hasher as BlakeTwo256;
use pezsp_trie::{
cache::{CacheSize, SharedTrieCache},
trie_types::{TrieDBBuilder, TrieDBMutBuilderV0, TrieDBMutBuilderV1},