mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57: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:
@@ -152,12 +152,7 @@ where
|
||||
.map_err(|e| format!("failed to decode output: {:?}", e))?;
|
||||
|
||||
let storage_changes = changes
|
||||
.drain_storage_changes::<_, _, NumberFor<Block>>(
|
||||
&state_ext.backend,
|
||||
None,
|
||||
Default::default(),
|
||||
&mut Default::default(),
|
||||
)
|
||||
.drain_storage_changes(&state_ext.backend, Default::default(), &mut Default::default())
|
||||
.unwrap();
|
||||
state_ext.backend.apply_transaction(
|
||||
storage_changes.transaction_storage_root,
|
||||
|
||||
@@ -680,9 +680,8 @@ pub(crate) fn state_machine_call<Block: BlockT, D: NativeExecutionDispatch + 'st
|
||||
extensions: Extensions,
|
||||
) -> sc_cli::Result<(OverlayedChanges, Vec<u8>)> {
|
||||
let mut changes = Default::default();
|
||||
let encoded_results = StateMachine::<_, _, NumberFor<Block>, _>::new(
|
||||
let encoded_results = StateMachine::new(
|
||||
&ext.backend,
|
||||
None,
|
||||
&mut changes,
|
||||
executor,
|
||||
method,
|
||||
|
||||
Reference in New Issue
Block a user