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:
@@ -27,8 +27,7 @@ extern crate alloc;
|
||||
|
||||
use alloc::vec::Vec;
|
||||
use pezkuwi_sdk::{
|
||||
pezkuwi_sdk_frame::{
|
||||
self as frame,
|
||||
pezframe::{
|
||||
deps::pezsp_genesis_builder,
|
||||
runtime::{apis, prelude::*},
|
||||
},
|
||||
@@ -211,7 +210,7 @@ impl pezpallet_transaction_payment::Config for Runtime {
|
||||
// Implements the types required for the template pezpallet.
|
||||
impl pezpallet_minimal_template::Config for Runtime {}
|
||||
|
||||
type Block = frame::runtime::types_common::BlockOf<Runtime, TxExtension>;
|
||||
type Block = pezframe::runtime::types_common::BlockOf<Runtime, TxExtension>;
|
||||
type Header = HeaderFor<Runtime>;
|
||||
|
||||
type RuntimeExecutive = Executive<
|
||||
@@ -228,7 +227,7 @@ impl_runtime_apis! {
|
||||
VERSION
|
||||
}
|
||||
|
||||
fn execute_block(block: <Block as frame::traits::Block>::LazyBlock) {
|
||||
fn execute_block(block: <Block as pezframe::traits::Block>::LazyBlock) {
|
||||
RuntimeExecutive::execute_block(block)
|
||||
}
|
||||
|
||||
@@ -264,7 +263,7 @@ impl_runtime_apis! {
|
||||
}
|
||||
|
||||
fn check_inherents(
|
||||
block: <Block as frame::traits::Block>::LazyBlock,
|
||||
block: <Block as pezframe::traits::Block>::LazyBlock,
|
||||
data: InherentData,
|
||||
) -> CheckInherentsResult {
|
||||
data.check_extrinsics(&block)
|
||||
@@ -345,10 +344,10 @@ impl_runtime_apis! {
|
||||
// https://github.com/pezkuwichain/pezkuwi-sdk/issues/3
|
||||
pub mod interface {
|
||||
use super::Runtime;
|
||||
use pezkuwi_sdk::{pezkuwi_sdk_frame as frame, *};
|
||||
use pezkuwi_sdk::*;
|
||||
|
||||
pub type Block = super::Block;
|
||||
pub use frame::runtime::types_common::OpaqueBlock;
|
||||
pub use pezframe::runtime::types_common::OpaqueBlock;
|
||||
pub type AccountId = <Runtime as pezframe_system::Config>::AccountId;
|
||||
pub type Nonce = <Runtime as pezframe_system::Config>::Nonce;
|
||||
pub type Hash = <Runtime as pezframe_system::Config>::Hash;
|
||||
|
||||
Reference in New Issue
Block a user