chore: regenerate umbrella crate, fix feature propagation

This commit is contained in:
2025-12-16 11:28:32 +03:00
parent dd6d48f528
commit 620b0e3aa0
1358 changed files with 9464 additions and 7656 deletions
@@ -19,17 +19,17 @@
//! Testing block import logic.
use super::*;
use bizinikiwi_test_runtime_client::{
self,
prelude::*,
runtime::{Block, Hash},
};
use futures::executor::block_on;
use pezsc_consensus::{
import_single_block, BasicQueue, BlockImportError, BlockImportStatus, ImportedAux,
IncomingBlock,
};
use pezsp_consensus::BlockOrigin;
use bizinikiwi_test_runtime_client::{
self,
prelude::*,
runtime::{Block, Hash},
};
fn prepare_good_block() -> (TestClient, Hash, u64, PeerId, IncomingBlock<Block>) {
let client = bizinikiwi_test_runtime_client::new();
@@ -27,10 +27,10 @@ use pezsc_network::{
Roles,
};
use bizinikiwi_test_runtime_client::runtime;
use pezsc_network_common::sync::message::BlockAnnouncesHandshake;
use pezsp_runtime::traits::Zero;
use std::{sync::Arc, time::Duration};
use bizinikiwi_test_runtime_client::runtime;
use tokio::sync::Mutex;
/// High level network backend (litep2p or libp2p) test client.
+4 -4
View File
@@ -21,16 +21,16 @@
use futures::prelude::*;
use libp2p::PeerId;
use rand::{
distributions::{Distribution, Uniform, WeightedIndex},
seq::IteratorRandom,
};
use pezsc_network::{
peer_store::{PeerStore, PeerStoreProvider},
protocol_controller::{IncomingIndex, Message, ProtoSetConfig, ProtocolController, SetId},
ReputationChange,
};
use pezsc_utils::mpsc::tracing_unbounded;
use rand::{
distributions::{Distribution, Uniform, WeightedIndex},
seq::IteratorRandom,
};
use std::{
collections::{HashMap, HashSet},
sync::Arc,
+5 -5
View File
@@ -36,6 +36,11 @@ use std::{
time::Duration,
};
use bizinikiwi_test_runtime_client::Sr25519Keyring;
pub use bizinikiwi_test_runtime_client::{
runtime::{Block, ExtrinsicBuilder, Hash, Header, Transfer},
TestClient, TestClientBuilder, TestClientBuilderExt,
};
use futures::{future::BoxFuture, pin_mut, prelude::*};
use libp2p::PeerId;
use log::trace;
@@ -93,11 +98,6 @@ use pezsp_runtime::{
traits::{Block as BlockT, Header as HeaderT, NumberFor, Zero},
Justification, Justifications,
};
use bizinikiwi_test_runtime_client::Sr25519Keyring;
pub use bizinikiwi_test_runtime_client::{
runtime::{Block, ExtrinsicBuilder, Hash, Header, Transfer},
TestClient, TestClientBuilder, TestClientBuilderExt,
};
use tokio::time::timeout;
/// A Verifier that accepts all blocks and passes them on with the configured
@@ -18,6 +18,10 @@
use futures::prelude::*;
use bizinikiwi_test_runtime_client::{
runtime::{Block as TestBlock, Hash as TestHash},
TestClientBuilder, TestClientBuilderExt as _,
};
use pezsc_consensus::{ImportQueue, Link};
use pezsc_network::{
config::{self, FullNetworkConfiguration, MultiaddrWithPeerId, ProtocolId, TransportConfig},
@@ -38,10 +42,6 @@ use pezsc_network_sync::{
};
use pezsp_blockchain::HeaderBackend;
use pezsp_runtime::traits::{Block as BlockT, Zero};
use bizinikiwi_test_runtime_client::{
runtime::{Block as TestBlock, Hash as TestHash},
TestClientBuilder, TestClientBuilderExt as _,
};
use std::{sync::Arc, time::Duration};
+2 -2
View File
@@ -17,10 +17,10 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
use super::*;
use bizinikiwi_test_runtime::Header;
use futures::Future;
use pezsp_consensus::{block_validation::Validation, BlockOrigin};
use pezsp_runtime::Justifications;
use bizinikiwi_test_runtime::Header;
async fn test_ancestor_search_when_common_is(n: usize) {
pezsp_tracing::try_init_simple();
@@ -1303,9 +1303,9 @@ async fn warp_sync_to_target_block() {
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
async fn syncs_huge_blocks() {
use bizinikiwi_test_runtime_client::BlockBuilderExt;
use pezsp_core::storage::well_known_keys::HEAP_PAGES;
use pezsp_runtime::codec::Encode;
use bizinikiwi_test_runtime_client::BlockBuilderExt;
pezsp_tracing::try_init_simple();
let mut net = TestNet::new(2);