FAZ 1 Complete: Workspace compile fixes, warning cleanup, version bumps

- Fixed is_using_frame_crate() macro to check for pezframe/pezkuwi_sdk
- Removed disable_pezframe_system_supertrait_check temporary bypasses
- Feature-gated storage-benchmark and teyrchain-benchmarks code
- Fixed dead_code warnings with underscore prefix (_Header)
- Removed unused imports and shadowing use statements
- Version bumps: procedural-tools 10.0.1, benchmarking-cli 32.0.1,
  docs 0.0.2, minimal-runtime 0.0.1, yet-another-teyrchain 0.6.1, umbrella 0.1.2
- Updated MAINNET_ROADMAP.md with FAZ 1 completion status
This commit is contained in:
2026-01-02 11:41:09 +03:00
parent 76ba7dbf2f
commit cf463fe8ee
520 changed files with 4113 additions and 4524 deletions
@@ -21,11 +21,11 @@
//! Some of tests in this module may partially duplicate tests from `justification.rs`,
//! but their purpose is different.
use bp_header_pez_chain::justification::{
use pezbp_header_pez_chain::justification::{
verify_justification, GrandpaJustification, JustificationVerificationContext,
JustificationVerificationError, PrecommitError,
};
use bp_test_utils::{
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,
};
@@ -38,11 +38,11 @@ type TestHash = <TestHeader as HeaderT>::Hash;
type TestNumber = <TestHeader as HeaderT>::Number;
/// Implementation of `finality_grandpa::Chain` that is used in tests.
struct AncestryChain(bp_header_pez_chain::justification::AncestryChain<TestHeader>);
struct AncestryChain(pezbp_header_pez_chain::justification::AncestryChain<TestHeader>);
impl AncestryChain {
fn new(justification: &GrandpaJustification<TestHeader>) -> Self {
Self(bp_header_pez_chain::justification::AncestryChain::new(justification).0)
Self(pezbp_header_pez_chain::justification::AncestryChain::new(justification).0)
}
}
@@ -16,8 +16,8 @@
//! Tests for Grandpa equivocations collector code.
use bp_header_pez_chain::justification::EquivocationsCollector;
use bp_test_utils::*;
use pezbp_header_pez_chain::justification::EquivocationsCollector;
use pezbp_test_utils::*;
use finality_grandpa::Precommit;
use pezsp_consensus_grandpa::EquivocationProof;
@@ -16,8 +16,8 @@
//! Tests for Grandpa Justification optimizer code.
use bp_header_pez_chain::justification::verify_and_optimize_justification;
use bp_test_utils::*;
use pezbp_header_pez_chain::justification::verify_and_optimize_justification;
use pezbp_test_utils::*;
use finality_grandpa::SignedPrecommit;
use pezsp_consensus_grandpa::AuthoritySignature;
@@ -43,7 +43,7 @@ fn optimizer_does_noting_with_minimal_justification() {
fn unknown_authority_votes_are_removed_by_optimizer() {
let mut justification = make_default_justification::<TestHeader>(&test_header(1));
justification.commit.precommits.push(signed_precommit::<TestHeader>(
&bp_test_utils::Account(42),
&pezbp_test_utils::Account(42),
header_id::<TestHeader>(1),
justification.round,
TEST_GRANDPA_SET_ID,
@@ -16,11 +16,11 @@
//! Tests for Grandpa strict justification verifier code.
use bp_header_pez_chain::justification::{
use pezbp_header_pez_chain::justification::{
required_justification_precommits, verify_justification, JustificationVerificationContext,
JustificationVerificationError, PrecommitError,
};
use bp_test_utils::*;
use pezbp_test_utils::*;
type TestHeader = pezsp_runtime::testing::Header;