fix(ci): resolve all quick-checks failures
- Remove missing cli crate from workspace members - Fix TOML array syntax errors in pvf and benchmarking-cli Cargo.toml - Fix Rust import ordering with cargo fmt - Fix feature propagation with zepter (try-runtime, runtime-benchmarks, std)
This commit is contained in:
@@ -40,8 +40,8 @@ pretty_assertions = { workspace = true }
|
||||
rand = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
fuzzing = ["arbitrary"]
|
||||
default = [ "std" ]
|
||||
fuzzing = [ "arbitrary" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"hash-db/std",
|
||||
@@ -56,6 +56,4 @@ std = [
|
||||
"tracing",
|
||||
"trie-db/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-trie/runtime-benchmarks",
|
||||
]
|
||||
runtime-benchmarks = [ "pezsp-trie/runtime-benchmarks" ]
|
||||
|
||||
@@ -23,9 +23,9 @@ use arbitrary::Arbitrary;
|
||||
#[cfg(test)]
|
||||
use codec::Encode;
|
||||
use hash_db::Hasher;
|
||||
use pezsp_core::{storage::StateVersion, traits::Externalities};
|
||||
#[cfg(test)]
|
||||
use pezsp_core::Blake2Hasher as BlakeTwo256;
|
||||
use pezsp_core::{storage::StateVersion, traits::Externalities};
|
||||
use pezsp_trie::PrefixedMemoryDB;
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
|
||||
@@ -1097,13 +1097,13 @@ mod tests {
|
||||
use crate::{execution::CallResult, in_memory_backend::new_in_mem};
|
||||
use assert_matches::assert_matches;
|
||||
use codec::Encode;
|
||||
use pezsp_core::Blake2Hasher as BlakeTwo256;
|
||||
use pezsp_core::{
|
||||
map,
|
||||
storage::{ChildInfo, StateVersion},
|
||||
traits::{CallContext, CodeExecutor, Externalities, RuntimeCode},
|
||||
H256,
|
||||
};
|
||||
use pezsp_core::Blake2Hasher as BlakeTwo256;
|
||||
use pezsp_trie::{
|
||||
trie_types::{TrieDBMutBuilderV0, TrieDBMutBuilderV1},
|
||||
KeySpacedDBMut, PrefixedMemoryDB,
|
||||
|
||||
@@ -415,8 +415,8 @@ where
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use pezsp_core::{storage::ChildInfo, traits::Externalities, H256};
|
||||
use pezsp_core::Blake2Hasher as BlakeTwo256;
|
||||
use pezsp_core::{storage::ChildInfo, traits::Externalities, H256};
|
||||
|
||||
#[test]
|
||||
fn commit_should_work() {
|
||||
|
||||
@@ -577,8 +577,8 @@ pub mod tests {
|
||||
|
||||
use super::*;
|
||||
use codec::Encode;
|
||||
use pezsp_core::H256;
|
||||
use pezsp_core::Blake2Hasher as BlakeTwo256;
|
||||
use pezsp_core::H256;
|
||||
use pezsp_trie::{
|
||||
cache::{CacheSize, SharedTrieCache},
|
||||
trie_types::{TrieDBBuilder, TrieDBMutBuilderV0, TrieDBMutBuilderV1},
|
||||
|
||||
Reference in New Issue
Block a user