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:
@@ -17,7 +17,7 @@
|
||||
|
||||
//! Mock network
|
||||
|
||||
use frame::deps::{
|
||||
use pezframe::deps::{
|
||||
pezframe_system,
|
||||
pezsp_io::TestExternalities,
|
||||
pezsp_runtime::{AccountId32, BuildStorage},
|
||||
@@ -66,7 +66,7 @@ pub fn para_ext() -> TestExternalities {
|
||||
use teyrchain::{MessageQueue, Runtime, System};
|
||||
|
||||
let t = pezframe_system::GenesisConfig::<Runtime>::default().build_storage().unwrap();
|
||||
let mut ext = frame::deps::pezsp_io::TestExternalities::new(t);
|
||||
let mut ext = pezframe::deps::pezsp_io::TestExternalities::new(t);
|
||||
ext.execute_with(|| {
|
||||
System::set_block_number(1);
|
||||
MessageQueue::set_para_id(2222.into());
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
//! Relay chain runtime mock.
|
||||
|
||||
use frame::{
|
||||
use pezframe::{
|
||||
deps::{pezframe_support::weights::WeightMeter, pezsp_runtime::AccountId32},
|
||||
prelude::*,
|
||||
runtime::prelude::*,
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
//! Relay chain XCM configuration
|
||||
|
||||
use frame::{
|
||||
use pezframe::{
|
||||
deps::pezframe_system,
|
||||
runtime::prelude::*,
|
||||
traits::{Disabled, Everything, Nothing},
|
||||
@@ -108,7 +108,7 @@ impl xcm_executor::Config for XcmConfig {
|
||||
type SubscriptionService = ();
|
||||
type PalletInstancesInfo = ();
|
||||
type FeeManager = ();
|
||||
type MaxAssetsIntoHolding = frame::traits::ConstU32<1>;
|
||||
type MaxAssetsIntoHolding = pezframe::traits::ConstU32<1>;
|
||||
type MessageExporter = ();
|
||||
type UniversalAliases = Nothing;
|
||||
type CallDispatcher = RuntimeCall;
|
||||
@@ -150,8 +150,8 @@ impl pezpallet_xcm::Config for Runtime {
|
||||
type AdminOrigin = pezframe_system::EnsureRoot<AccountId>;
|
||||
// No locking
|
||||
type TrustedLockers = ();
|
||||
type MaxLockers = frame::traits::ConstU32<0>;
|
||||
type MaxRemoteLockConsumers = frame::traits::ConstU32<0>;
|
||||
type MaxLockers = pezframe::traits::ConstU32<0>;
|
||||
type MaxRemoteLockConsumers = pezframe::traits::ConstU32<0>;
|
||||
type RemoteLockConsumerIdentifier = ();
|
||||
// How to turn locations into accounts
|
||||
type SovereignAccountOf = LocationToAccountId;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Pezkuwi. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
use frame::testing_prelude::*;
|
||||
use pezframe::testing_prelude::*;
|
||||
use test_log::test;
|
||||
use xcm::prelude::*;
|
||||
use xcm_executor::traits::{ConvertLocation, TransferType};
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
//! # Runtime
|
||||
|
||||
use frame::{deps::pezframe_system, runtime::prelude::*, traits::IdentityLookup};
|
||||
use pezframe::{deps::pezframe_system, runtime::prelude::*, traits::IdentityLookup};
|
||||
use xcm_executor::XcmExecutor;
|
||||
use xcm_pez_simulator::mock_message_queue;
|
||||
|
||||
@@ -25,7 +25,7 @@ mod xcm_config;
|
||||
use xcm_config::XcmConfig;
|
||||
|
||||
pub type Block = pezframe_system::mocking::MockBlock<Runtime>;
|
||||
pub type AccountId = frame::deps::pezsp_runtime::AccountId32;
|
||||
pub type AccountId = pezframe::deps::pezsp_runtime::AccountId32;
|
||||
pub type Balance = u64;
|
||||
|
||||
construct_runtime! {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
//! # XCM Configuration
|
||||
|
||||
use frame::{
|
||||
use pezframe::{
|
||||
deps::pezframe_system,
|
||||
runtime::prelude::*,
|
||||
traits::{Disabled, Everything, Nothing},
|
||||
@@ -135,7 +135,7 @@ impl xcm_executor::Config for XcmConfig {
|
||||
type SubscriptionService = ();
|
||||
type PalletInstancesInfo = ();
|
||||
type FeeManager = ();
|
||||
type MaxAssetsIntoHolding = frame::traits::ConstU32<1>;
|
||||
type MaxAssetsIntoHolding = pezframe::traits::ConstU32<1>;
|
||||
type MessageExporter = ();
|
||||
type UniversalAliases = Nothing;
|
||||
type CallDispatcher = RuntimeCall;
|
||||
@@ -176,8 +176,8 @@ impl pezpallet_xcm::Config for Runtime {
|
||||
type AdminOrigin = pezframe_system::EnsureRoot<AccountId>;
|
||||
// No locking
|
||||
type TrustedLockers = ();
|
||||
type MaxLockers = frame::traits::ConstU32<0>;
|
||||
type MaxRemoteLockConsumers = frame::traits::ConstU32<0>;
|
||||
type MaxLockers = pezframe::traits::ConstU32<0>;
|
||||
type MaxRemoteLockConsumers = pezframe::traits::ConstU32<0>;
|
||||
type RemoteLockConsumerIdentifier = ();
|
||||
// How to turn locations into accounts
|
||||
type SovereignAccountOf = LocationToAccountId;
|
||||
|
||||
Reference in New Issue
Block a user