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:
2026-01-04 17:21:57 +03:00
parent 933f08e282
commit 479010094e
574 changed files with 1465 additions and 2447 deletions
+2 -2
View File
@@ -31,10 +31,10 @@ pezsp-runtime = { workspace = true }
pezsp-std = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"pez-binary-merkle-tree/std",
"codec/std",
"pez-binary-merkle-tree/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezpallet-beefy-mmr/std",
@@ -34,7 +34,7 @@ hex = { workspace = true, default-features = true }
hex-literal = { workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"finality-grandpa/std",
@@ -21,6 +21,7 @@
//! Some of tests in this module may partially duplicate tests from `justification.rs`,
//! but their purpose is different.
use finality_grandpa::voter_set::VoterSet;
use pezbp_header_pez_chain::justification::{
verify_justification, GrandpaJustification, JustificationVerificationContext,
JustificationVerificationError, PrecommitError,
@@ -29,7 +30,6 @@ use pezbp_test_utils::{
header_id, make_justification_for_header, signed_precommit, test_header, Account,
JustificationGeneratorParams, ALICE, BOB, CHARLIE, DAVE, EVE, FERDIE, TEST_GRANDPA_SET_ID,
};
use finality_grandpa::voter_set::VoterSet;
use pezsp_consensus_grandpa::{AuthorityId, AuthorityWeight, SetId};
use pezsp_runtime::traits::Header as HeaderT;
@@ -16,9 +16,9 @@
//! Tests for Grandpa equivocations collector code.
use finality_grandpa::Precommit;
use pezbp_header_pez_chain::justification::EquivocationsCollector;
use pezbp_test_utils::*;
use finality_grandpa::Precommit;
use pezsp_consensus_grandpa::EquivocationProof;
type TestHeader = pezsp_runtime::testing::Header;
@@ -16,9 +16,9 @@
//! Tests for Grandpa Justification optimizer code.
use finality_grandpa::SignedPrecommit;
use pezbp_header_pez_chain::justification::verify_and_optimize_justification;
use pezbp_test_utils::*;
use finality_grandpa::SignedPrecommit;
use pezsp_consensus_grandpa::AuthoritySignature;
type TestHeader = pezsp_runtime::testing::Header;
+2 -2
View File
@@ -32,10 +32,10 @@ hex = { workspace = true, default-features = true }
hex-literal = { workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"pezbp-header-pez-chain/std",
"codec/std",
"pezbp-header-pez-chain/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezsp-core/std",
+1 -1
View File
@@ -19,8 +19,8 @@
#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
use pezbp_header_pez_chain::HeaderChainError;
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
use pezbp_header_pez_chain::HeaderChainError;
use pezbp_runtime::{
messages::MessageDispatchResult, BasicOperatingMode, Chain, OperatingMode, RangeInclusiveExt,
StorageProofError, UnderlyingChainOf, UnderlyingChainProvider,
@@ -34,10 +34,10 @@ pezsp-std = { workspace = true }
hex = { workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"pezbp-messages/std",
"codec/std",
"pezbp-messages/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezframe-system/std",
+4 -4
View File
@@ -33,13 +33,13 @@ pezsp-std = { workspace = true }
hex-literal = { workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezbp-header-pez-chain/std",
"pezbp-messages/std",
"pezbp-teyrchains/std",
"codec/std",
"pezbp-runtime/std",
"pezbp-teyrchains/std",
"pezframe-support/std",
"pezframe-system/std",
"pezpallet-utility/std",
@@ -50,8 +50,8 @@ std = [
runtime-benchmarks = [
"pezbp-header-pez-chain/runtime-benchmarks",
"pezbp-messages/runtime-benchmarks",
"pezbp-teyrchains/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezbp-teyrchains/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
@@ -17,11 +17,11 @@
//! All runtime calls, supported by `pezpallet-bridge-relayers` when it acts as a signed
//! extension.
use codec::{Decode, Encode};
use pezbp_header_pez_chain::SubmitFinalityProofInfo;
use pezbp_messages::MessagesCallInfo;
use pezbp_teyrchains::SubmitTeyrchainHeadsInfo;
use codec::{Decode, Encode};
use pezbp_runtime::StaticStrProvider;
use pezbp_teyrchains::SubmitTeyrchainHeadsInfo;
use pezframe_support::{
dispatch::CallableCallFor, traits::IsSubType, weights::Weight, RuntimeDebugNoBound,
};
+1 -1
View File
@@ -36,7 +36,7 @@ trie-db = { workspace = true }
hex-literal = { workspace = true, default-features = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"hash-db/std",
+5 -5
View File
@@ -28,15 +28,15 @@ pezsp-std = { workspace = true }
pezsp-trie = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"pezbp-header-pez-chain/std",
"pezbp-pezkuwi-core/std",
"pezbp-teyrchains/std",
"codec/std",
"ed25519-dalek/std",
"finality-grandpa/std",
"pezbp-header-pez-chain/std",
"pezbp-pezkuwi-core/std",
"pezbp-runtime/std",
"pezbp-teyrchains/std",
"pezsp-application-crypto/std",
"pezsp-consensus-grandpa/std",
"pezsp-core/std",
@@ -47,8 +47,8 @@ std = [
runtime-benchmarks = [
"pezbp-header-pez-chain/runtime-benchmarks",
"pezbp-pezkuwi-core/runtime-benchmarks",
"pezbp-teyrchains/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezbp-teyrchains/runtime-benchmarks",
"pezsp-consensus-grandpa/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
@@ -16,10 +16,10 @@
//! Utilities for working with test accounts.
use pezbp_header_pez_chain::{justification::JustificationVerificationContext, AuthoritySet};
use codec::Encode;
use ed25519_dalek::{Signature, SigningKey, VerifyingKey};
use finality_grandpa::voter_set::VoterSet;
use pezbp_header_pez_chain::{justification::JustificationVerificationContext, AuthoritySet};
use pezsp_consensus_grandpa::{AuthorityId, AuthorityList, AuthorityWeight, SetId};
use pezsp_runtime::RuntimeDebug;
use pezsp_std::prelude::*;
+5 -3
View File
@@ -19,11 +19,13 @@
#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
use pezbp_header_pez_chain::justification::{required_justification_precommits, GrandpaJustification};
use pezbp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaHeadsProof, ParaId};
use pezbp_teyrchains::teyrchain_head_storage_key_at_source;
use codec::Encode;
use pezbp_header_pez_chain::justification::{
required_justification_precommits, GrandpaJustification,
};
use pezbp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaHeadsProof, ParaId};
use pezbp_runtime::record_all_trie_keys;
use pezbp_teyrchains::teyrchain_head_storage_key_at_source;
use pezsp_consensus_grandpa::{AuthorityId, AuthoritySignature, AuthorityWeight, SetId};
use pezsp_runtime::traits::{Header as HeaderT, One, Zero};
use pezsp_std::prelude::*;
+2 -2
View File
@@ -29,11 +29,11 @@ pezsp-runtime = { workspace = true }
pezsp-std = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezbp-header-pez-chain/std",
"pezbp-pezkuwi-core/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezsp-core/std",
@@ -18,8 +18,8 @@
use crate::{ParaHash, ParaId, RelayBlockHash, RelayBlockNumber};
use pezbp_pezkuwi_core::teyrchains::ParaHeadsProof;
use codec::{Decode, Encode};
use pezbp_pezkuwi_core::teyrchains::ParaHeadsProof;
use pezbp_runtime::HeaderId;
use pezsp_runtime::RuntimeDebug;
use pezsp_std::vec::Vec;
+2 -2
View File
@@ -19,11 +19,11 @@
#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
pub use pezbp_header_pez_chain::StoredHeaderData;
pub use call_info::{BridgeTeyrchainCall, SubmitTeyrchainHeadsInfo};
pub use pezbp_header_pez_chain::StoredHeaderData;
use pezbp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaId};
use codec::{Decode, Encode, MaxEncodedLen};
use pezbp_pezkuwi_core::teyrchains::{ParaHash, ParaHead, ParaId};
use pezbp_runtime::{
BlockNumberOf, Chain, HashOf, HeaderOf, StorageDoubleMapKeyProvider, StorageMapKeyProvider,
Teyrchain,
@@ -24,7 +24,7 @@ pezsp-runtime = { workspace = true }
xcm = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"pezsp-core/std",
@@ -31,10 +31,10 @@ pezsp-std = { workspace = true }
xcm = { workspace = true }
[features]
default = ["std"]
default = [ "std" ]
std = [
"pezbp-messages/std",
"codec/std",
"pezbp-messages/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezsp-core/std",
@@ -16,8 +16,8 @@
//! Defines structures related to calls of the `pezpallet-xcm-bridge-hub` pezpallet.
use pezbp_messages::MessageNonce;
use codec::{Decode, Encode};
use pezbp_messages::MessageNonce;
use pezsp_std::boxed::Box;
use scale_info::TypeInfo;
use xcm::prelude::VersionedInteriorLocation;
@@ -19,9 +19,9 @@
#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
use pezbp_messages::LaneIdType;
pub use call_info::XcmBridgeHubCall;
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
use pezbp_messages::LaneIdType;
use pezbp_runtime::{AccountIdOf, BalanceOf, Chain};
use pezframe_support::{
ensure, pezsp_runtime::RuntimeDebug, CloneNoBound, PalletError, PartialEqNoBound,