mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 04:37:57 +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:
@@ -19,7 +19,6 @@
|
||||
|
||||
use sc_client_api::backend;
|
||||
use sp_api::{ApiExt, ProvideRuntimeApi};
|
||||
use sp_core::ChangesTrieConfiguration;
|
||||
|
||||
use sc_block_builder::BlockBuilderApi;
|
||||
|
||||
@@ -36,11 +35,6 @@ pub trait BlockBuilderExt {
|
||||
key: Vec<u8>,
|
||||
value: Option<Vec<u8>>,
|
||||
) -> Result<(), sp_blockchain::Error>;
|
||||
/// Add changes trie configuration update extrinsic to the block.
|
||||
fn push_changes_trie_configuration_update(
|
||||
&mut self,
|
||||
new_config: Option<ChangesTrieConfiguration>,
|
||||
) -> Result<(), sp_blockchain::Error>;
|
||||
}
|
||||
|
||||
impl<'a, A, B> BlockBuilderExt
|
||||
@@ -68,11 +62,4 @@ where
|
||||
) -> Result<(), sp_blockchain::Error> {
|
||||
self.push(substrate_test_runtime::Extrinsic::StorageChange(key, value))
|
||||
}
|
||||
|
||||
fn push_changes_trie_configuration_update(
|
||||
&mut self,
|
||||
new_config: Option<ChangesTrieConfiguration>,
|
||||
) -> Result<(), sp_blockchain::Error> {
|
||||
self.push(substrate_test_runtime::Extrinsic::ChangesTrieConfigUpdate(new_config))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user