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:
@@ -133,9 +133,10 @@ pezsnowbridge-runtime-test-common = { workspace = true, default-features = true
|
||||
teyrchains-runtimes-test-utils = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"bizinikiwi-wasm-builder",
|
||||
"codec/std",
|
||||
"pezbp-asset-hub-pezkuwichain/std",
|
||||
"pezbp-asset-hub-zagros/std",
|
||||
"pezbp-bridge-hub-pezkuwichain/std",
|
||||
@@ -145,12 +146,11 @@ std = [
|
||||
"pezbp-pezkuwi-bulletin/std",
|
||||
"pezbp-pezkuwi-core/std",
|
||||
"pezbp-relayers/std",
|
||||
"pezbp-runtime/std",
|
||||
"pezbp-teyrchains/std",
|
||||
"pezbp-xcm-bridge-hub-router/std",
|
||||
"pezbp-zagros/std",
|
||||
"pezbridge-hub-common/std",
|
||||
"codec/std",
|
||||
"pezbp-runtime/std",
|
||||
"pezbridge-runtime-common/std",
|
||||
"pezcumulus-pezpallet-aura-ext/std",
|
||||
"pezcumulus-pezpallet-session-benchmarking/std",
|
||||
@@ -240,11 +240,11 @@ runtime-benchmarks = [
|
||||
"pezbp-pezkuwi-bulletin/runtime-benchmarks",
|
||||
"pezbp-pezkuwi-core/runtime-benchmarks",
|
||||
"pezbp-relayers/runtime-benchmarks",
|
||||
"pezbp-runtime/runtime-benchmarks",
|
||||
"pezbp-teyrchains/runtime-benchmarks",
|
||||
"pezbp-xcm-bridge-hub-router/runtime-benchmarks",
|
||||
"pezbp-zagros/runtime-benchmarks",
|
||||
"pezbridge-hub-common/runtime-benchmarks",
|
||||
"pezbp-runtime/runtime-benchmarks",
|
||||
"pezbridge-hub-test-utils/runtime-benchmarks",
|
||||
"pezbridge-runtime-common/runtime-benchmarks",
|
||||
"pezcumulus-pezpallet-aura-ext/runtime-benchmarks",
|
||||
|
||||
+4
-4
@@ -31,13 +31,13 @@ pezsp-runtime = { workspace = true }
|
||||
pezsp-std = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
default = [ "std" ]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezbp-bridge-hub-pezcumulus/std",
|
||||
"pezbp-messages/std",
|
||||
"pezbp-xcm-bridge-hub/std",
|
||||
"codec/std",
|
||||
"pezbp-runtime/std",
|
||||
"pezbp-xcm-bridge-hub/std",
|
||||
"pezframe-support/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-runtime/std",
|
||||
@@ -46,8 +46,8 @@ std = [
|
||||
runtime-benchmarks = [
|
||||
"pezbp-bridge-hub-pezcumulus/runtime-benchmarks",
|
||||
"pezbp-messages/runtime-benchmarks",
|
||||
"pezbp-xcm-bridge-hub/runtime-benchmarks",
|
||||
"pezbp-runtime/runtime-benchmarks",
|
||||
"pezbp-xcm-bridge-hub/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
|
||||
+1
-1
@@ -19,9 +19,9 @@
|
||||
#![warn(missing_docs)]
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
pub use pezbp_bridge_hub_pezcumulus::*;
|
||||
use pezbp_messages::*;
|
||||
use codec::{Decode, Encode};
|
||||
use pezbp_runtime::{
|
||||
decl_bridge_finality_runtime_apis, decl_bridge_messages_runtime_apis, Chain, ChainId, Teyrchain,
|
||||
};
|
||||
|
||||
+1
-1
@@ -37,8 +37,8 @@ use testnet_teyrchains_constants::pezkuwichain::{
|
||||
use crate::xcm_config::RelayNetwork;
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
use benchmark_helpers::DoNothingRouter;
|
||||
use pezbp_asset_hub_pezkuwichain::CreateForeignAssetDeposit;
|
||||
use hex_literal::hex;
|
||||
use pezbp_asset_hub_pezkuwichain::CreateForeignAssetDeposit;
|
||||
use pezframe_support::{parameter_types, weights::ConstantMultiplier};
|
||||
use pezpallet_xcm::EnsureXcm;
|
||||
use pezsp_runtime::{
|
||||
|
||||
+1
-1
@@ -364,8 +364,8 @@ pub mod migration {
|
||||
>;
|
||||
|
||||
mod v1_wrong {
|
||||
use pezbp_messages::{LaneState, MessageNonce, UnrewardedRelayer};
|
||||
use codec::{Decode, Encode};
|
||||
use pezbp_messages::{LaneState, MessageNonce, UnrewardedRelayer};
|
||||
use pezbp_runtime::AccountIdOf;
|
||||
use pezpallet_bridge_messages::BridgedChainOf;
|
||||
use pezsp_std::collections::vec_deque::VecDeque;
|
||||
|
||||
@@ -75,11 +75,11 @@ use testnet_teyrchains_constants::pezkuwichain::{
|
||||
consensus::*, currency::*, fee::WeightToFee, time::*,
|
||||
};
|
||||
|
||||
use pezbp_runtime::HeaderId;
|
||||
use pezbridge_hub_common::{
|
||||
message_queue::{NarrowOriginToSibling, ParaIdToSibling},
|
||||
AggregateMessageOrigin,
|
||||
};
|
||||
use pezbp_runtime::HeaderId;
|
||||
pub use pezsp_consensus_aura::sr25519::AuthorityId as AuraId;
|
||||
pub use pezsp_runtime::{MultiAddress, Perbill, Permill};
|
||||
|
||||
|
||||
+1
-1
@@ -16,8 +16,8 @@
|
||||
|
||||
#![cfg(test)]
|
||||
|
||||
use pezbp_pezkuwi_core::Signature;
|
||||
use codec::{Decode, Encode};
|
||||
use pezbp_pezkuwi_core::Signature;
|
||||
use pezbridge_hub_pezkuwichain_runtime::{
|
||||
bridge_to_zagros_config::OnBridgeHubPezkuwichainRefundBridgeHubZagrosMessages,
|
||||
xcm_config::XcmConfig, AllPalletsWithoutSystem, BridgeRejectObsoleteHeadersAndMessages,
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
|
||||
#![cfg(test)]
|
||||
|
||||
use pezbp_pezkuwi_core::Signature;
|
||||
use codec::{Decode, Encode};
|
||||
use hex_literal::hex;
|
||||
use pezbp_pezkuwi_core::Signature;
|
||||
use pezbridge_hub_pezkuwichain_runtime::{
|
||||
bridge_common_config, bridge_to_bulletin_config, bridge_to_zagros_config,
|
||||
xcm_config::{RelayNetwork, TokenLocation, XcmConfig},
|
||||
@@ -126,7 +126,6 @@ pezbridge_hub_test_utils::test_cases::include_teleports_for_native_asset_works!(
|
||||
|
||||
mod bridge_hub_zagros_tests {
|
||||
use super::*;
|
||||
use pezbp_messages::LegacyLaneId;
|
||||
use bridge_common_config::{
|
||||
BridgeGrandpaZagrosInstance, BridgeTeyrchainZagrosInstance, DeliveryRewardInBalance,
|
||||
RelayersForLegacyLaneIdsMessagesInstance,
|
||||
@@ -135,6 +134,7 @@ mod bridge_hub_zagros_tests {
|
||||
BridgeHubZagrosLocation, WithBridgeHubZagrosMessagesInstance,
|
||||
XcmOverBridgeHubZagrosInstance, ZagrosGlobalConsensusNetwork,
|
||||
};
|
||||
use pezbp_messages::LegacyLaneId;
|
||||
use pezbridge_hub_pezkuwichain_runtime::{
|
||||
bridge_to_ethereum_config::EthereumGatewayAddress, xcm_config::LocationToAccountId,
|
||||
};
|
||||
@@ -525,13 +525,13 @@ mod bridge_hub_zagros_tests {
|
||||
|
||||
mod bridge_hub_bulletin_tests {
|
||||
use super::*;
|
||||
use pezbp_messages::LegacyLaneId;
|
||||
use bridge_common_config::BridgeGrandpaPezkuwichainBulletinInstance;
|
||||
use bridge_to_bulletin_config::{
|
||||
PezkuwichainBulletinGlobalConsensusNetwork,
|
||||
PezkuwichainBulletinGlobalConsensusNetworkLocation,
|
||||
WithPezkuwichainBulletinMessagesInstance, XcmOverPezkuwiBulletinInstance,
|
||||
};
|
||||
use pezbp_messages::LegacyLaneId;
|
||||
use pezbridge_hub_pezkuwichain_runtime::{
|
||||
bridge_common_config::RelayersForLegacyLaneIdsMessagesInstance,
|
||||
xcm_config::LocationToAccountId,
|
||||
|
||||
Reference in New Issue
Block a user