mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 04:11:07 +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:
@@ -23,7 +23,6 @@ sc-client-db = { version = "0.10.0-dev", features = [
|
||||
], path = "../../client/db" }
|
||||
sc-consensus = { version = "0.10.0-dev", path = "../../client/consensus/common" }
|
||||
sc-executor = { version = "0.10.0-dev", path = "../../client/executor" }
|
||||
sc-light = { version = "4.0.0-dev", path = "../../client/light" }
|
||||
sc-offchain = { version = "4.0.0-dev", path = "../../client/offchain" }
|
||||
sc-service = { version = "0.10.0-dev", default-features = false, features = [
|
||||
"test-helpers",
|
||||
|
||||
@@ -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