mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 18:41:05 +00:00
@@ -229,7 +229,7 @@ impl<G, E> ChainSpec<G, E> {
|
||||
|
||||
/// Optional network fork identifier.
|
||||
pub fn fork_id(&self) -> Option<&str> {
|
||||
self.client_spec.fork_id.as_ref().map(String::as_str)
|
||||
self.client_spec.fork_id.as_deref()
|
||||
}
|
||||
|
||||
/// Additional loosly-typed properties of the chain.
|
||||
|
||||
@@ -246,9 +246,7 @@ where
|
||||
&runtime_code,
|
||||
self.spawn_handle.clone(),
|
||||
)
|
||||
.with_storage_transaction_cache(
|
||||
storage_transaction_cache.as_mut().map(|c| &mut **c),
|
||||
)
|
||||
.with_storage_transaction_cache(storage_transaction_cache.as_deref_mut())
|
||||
.set_parent_hash(at_hash);
|
||||
state_machine.execute_using_consensus_failure_handler(
|
||||
execution_manager,
|
||||
|
||||
Reference in New Issue
Block a user