mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 21:37:56 +00:00
Kill the light client, CHTs and change tries. (#10080)
* Remove light client, change tries and CHTs * Update tests * fmt * Restore changes_root * Fixed benches * Cargo fmt * fmt * fmt
This commit is contained in:
@@ -45,21 +45,13 @@ use sc_client_api::BlockchainEvents;
|
||||
use sc_service::client::{ClientConfig, LocalCallExecutor};
|
||||
use serde::Deserialize;
|
||||
use sp_core::storage::ChildInfo;
|
||||
use sp_runtime::{
|
||||
codec::Encode,
|
||||
traits::{BlakeTwo256, Block as BlockT},
|
||||
OpaqueExtrinsic,
|
||||
};
|
||||
use sp_runtime::{codec::Encode, traits::Block as BlockT, OpaqueExtrinsic};
|
||||
use std::{
|
||||
collections::{HashMap, HashSet},
|
||||
pin::Pin,
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
/// Test client light database backend.
|
||||
pub type LightBackend<Block> =
|
||||
sc_light::Backend<sc_client_db::light::LightStorage<Block>, BlakeTwo256>;
|
||||
|
||||
/// A genesis storage initialization trait.
|
||||
pub trait GenesisInit: Default {
|
||||
/// Construct genesis storage.
|
||||
|
||||
Reference in New Issue
Block a user