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:
@@ -44,14 +44,14 @@ pezpallet-xcm-bridge-hub-router = { workspace = true }
|
||||
pezsp-io = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezbp-header-pez-chain/std",
|
||||
"pezbp-messages/std",
|
||||
"pezbp-runtime/std",
|
||||
"pezbp-xcm-bridge-hub-router/std",
|
||||
"pezbp-xcm-bridge-hub/std",
|
||||
"codec/std",
|
||||
"pezbp-runtime/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
"pezkuwi-teyrchain-primitives/std",
|
||||
@@ -71,9 +71,9 @@ std = [
|
||||
runtime-benchmarks = [
|
||||
"pezbp-header-pez-chain/runtime-benchmarks",
|
||||
"pezbp-messages/runtime-benchmarks",
|
||||
"pezbp-runtime/runtime-benchmarks",
|
||||
"pezbp-xcm-bridge-hub-router/runtime-benchmarks",
|
||||
"pezbp-xcm-bridge-hub/runtime-benchmarks",
|
||||
"pezbp-runtime/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
|
||||
|
||||
@@ -23,10 +23,10 @@
|
||||
|
||||
use crate::{Config, Pezpallet, LOG_TARGET};
|
||||
|
||||
use pezbp_messages::target_chain::{DispatchMessage, MessageDispatch};
|
||||
use pezbp_xcm_bridge_hub::{LocalXcmChannelManager, XcmAsPlainPayload};
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode};
|
||||
use pezbp_messages::target_chain::{DispatchMessage, MessageDispatch};
|
||||
use pezbp_runtime::messages::MessageDispatchResult;
|
||||
use pezbp_xcm_bridge_hub::{LocalXcmChannelManager, XcmAsPlainPayload};
|
||||
use pezframe_support::{weights::Weight, CloneNoBound, EqNoBound, PartialEqNoBound};
|
||||
use pezpallet_bridge_messages::{Config as BridgeMessagesConfig, WeightInfoExt};
|
||||
use pezsp_runtime::SaturatedConversion;
|
||||
|
||||
@@ -371,8 +371,8 @@ mod tests {
|
||||
use super::*;
|
||||
use crate::{mock::*, Bridges, LaneToBridge, LanesManagerOf};
|
||||
|
||||
use pezbp_xcm_bridge_hub::{Bridge, BridgeLocations, BridgeState};
|
||||
use pezbp_runtime::RangeInclusiveExt;
|
||||
use pezbp_xcm_bridge_hub::{Bridge, BridgeLocations, BridgeState};
|
||||
use pezframe_support::{assert_ok, traits::EnsureOrigin};
|
||||
use pezpallet_bridge_messages::InboundLaneStorage;
|
||||
use xcm_builder::{NetworkExportTable, UnpaidRemoteExporter};
|
||||
|
||||
@@ -144,11 +144,11 @@
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use pezbp_messages::{LaneState, MessageNonce};
|
||||
use pezbp_runtime::{AccountIdOf, BalanceOf, RangeInclusiveExt};
|
||||
use pezbp_xcm_bridge_hub::BridgeLocationsError;
|
||||
pub use pezbp_xcm_bridge_hub::{
|
||||
Bridge, BridgeId, BridgeLocations, BridgeState, LocalXcmChannelManager,
|
||||
};
|
||||
use pezbp_runtime::{AccountIdOf, BalanceOf, RangeInclusiveExt};
|
||||
use pezframe_support::{traits::fungible::MutateHold, DefaultNoBound};
|
||||
use pezframe_system::Config as SystemConfig;
|
||||
use pezpallet_bridge_messages::{Config as BridgeMessagesConfig, LanesManagerError};
|
||||
@@ -158,9 +158,9 @@ use xcm::prelude::*;
|
||||
use xcm_builder::DispatchBlob;
|
||||
use xcm_executor::traits::ConvertLocation;
|
||||
|
||||
pub use pezbp_xcm_bridge_hub::XcmAsPlainPayload;
|
||||
pub use dispatcher::XcmBlobMessageDispatchResult;
|
||||
pub use exporter::PalletAsHaulBlobExporter;
|
||||
pub use pezbp_xcm_bridge_hub::XcmAsPlainPayload;
|
||||
pub use pezpallet::*;
|
||||
|
||||
mod dispatcher;
|
||||
@@ -846,8 +846,8 @@ pub mod pezpallet {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use pezbp_messages::LaneIdType;
|
||||
use mock::*;
|
||||
use pezbp_messages::LaneIdType;
|
||||
|
||||
use pezframe_support::{
|
||||
assert_err, assert_noop, assert_ok, traits::fungible::Mutate, BoundedVec,
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
|
||||
use crate as pezpallet_xcm_bridge_hub;
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
use pezbp_messages::{
|
||||
target_chain::{DispatchMessage, MessageDispatch},
|
||||
ChainWithMessages, HashedLaneId, MessageNonce,
|
||||
};
|
||||
use pezbp_xcm_bridge_hub::{BridgeId, LocalXcmChannelManager};
|
||||
use codec::{Decode, Encode};
|
||||
use pezbp_runtime::{messages::MessageDispatchResult, Chain, ChainId, HashOf};
|
||||
use pezbp_xcm_bridge_hub::{BridgeId, LocalXcmChannelManager};
|
||||
use pezframe_support::{
|
||||
assert_ok, derive_impl, parameter_types,
|
||||
traits::{EnsureOrigin, Equals, Everything, Get, OriginTrait},
|
||||
|
||||
Reference in New Issue
Block a user