chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -193,6 +193,10 @@ impl From<Error> for ErrorObjectOwned {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use bizinikiwi_test_runtime_client::{
|
||||
runtime::Block, Backend, DefaultTestClientBuilderExt, TestClient, TestClientBuilder,
|
||||
TestClientBuilderExt,
|
||||
};
|
||||
use pezsc_consensus_babe::ImportQueueParams;
|
||||
use pezsc_rpc_api::DenyUnsafe;
|
||||
use pezsc_transaction_pool_api::{OffchainTransactionPoolFactory, RejectAllTxPool};
|
||||
@@ -200,10 +204,6 @@ mod tests {
|
||||
use pezsp_core::{crypto::key_types::BABE, testing::TaskExecutor};
|
||||
use pezsp_keyring::Sr25519Keyring;
|
||||
use pezsp_keystore::{testing::MemoryKeystore, Keystore};
|
||||
use bizinikiwi_test_runtime_client::{
|
||||
runtime::Block, Backend, DefaultTestClientBuilderExt, TestClient, TestClientBuilder,
|
||||
TestClientBuilderExt,
|
||||
};
|
||||
|
||||
fn create_keystore(authority: Sr25519Keyring) -> KeystorePtr {
|
||||
let keystore = MemoryKeystore::new();
|
||||
@@ -213,8 +213,8 @@ mod tests {
|
||||
keystore.into()
|
||||
}
|
||||
|
||||
fn test_babe_rpc_module() -> Babe<Block, TestClient, pezsc_consensus::LongestChain<Backend, Block>>
|
||||
{
|
||||
fn test_babe_rpc_module(
|
||||
) -> Babe<Block, TestClient, pezsc_consensus::LongestChain<Backend, Block>> {
|
||||
let builder = TestClientBuilder::new();
|
||||
let (client, longest_chain) = builder.build_with_longest_chain();
|
||||
let client = Arc::new(client);
|
||||
|
||||
@@ -139,6 +139,7 @@ pub fn load_block_weight<H: Encode, B: AuxStore>(
|
||||
mod test {
|
||||
use super::*;
|
||||
use crate::migration::EpochV0;
|
||||
use bizinikiwi_test_runtime_client;
|
||||
use pez_fork_tree::ForkTree;
|
||||
use pezsc_consensus_epochs::{EpochHeader, PersistedEpoch, PersistedEpochHeader};
|
||||
use pezsc_network_test::Block as TestBlock;
|
||||
@@ -146,7 +147,6 @@ mod test {
|
||||
use pezsp_consensus_babe::AllowedSlots;
|
||||
use pezsp_core::H256;
|
||||
use pezsp_runtime::traits::NumberFor;
|
||||
use bizinikiwi_test_runtime_client;
|
||||
|
||||
#[test]
|
||||
fn load_decode_from_v0_epoch_changes() {
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
use super::*;
|
||||
use authorship::claim_slot;
|
||||
use bizinikiwi_test_runtime_client::DefaultTestClientBuilderExt;
|
||||
use pezsc_block_builder::{BlockBuilder, BlockBuilderBuilder};
|
||||
use pezsc_client_api::{BlockchainEvents, Finalizer};
|
||||
use pezsc_consensus::{BoxBlockImport, BoxJustificationImport};
|
||||
@@ -43,7 +44,6 @@ use pezsp_runtime::{
|
||||
traits::Block as BlockT,
|
||||
};
|
||||
use std::{cell::RefCell, task::Poll, time::Duration};
|
||||
use bizinikiwi_test_runtime_client::DefaultTestClientBuilderExt;
|
||||
|
||||
type Item = DigestItem;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user