diff --git a/linera-core/src/chain_worker/state.rs b/linera-core/src/chain_worker/state.rs index 48900f8ed731..8ea8ef6be60e 100644 --- a/linera-core/src/chain_worker/state.rs +++ b/linera-core/src/chain_worker/state.rs @@ -709,10 +709,6 @@ where let start = usize::try_from(start).map_err(|_| ArithmeticError::Overflow)?; info.requested_received_log = self.chain.received_log.read(start..).await?; } - if let Some(hash) = query.request_hashed_certificate_value { - info.requested_hashed_certificate_value = - Some(self.storage.read_hashed_certificate_value(hash).await?); - } if query.request_manager_values { info.manager.add_values(self.chain.manager.get()); } diff --git a/linera-core/src/client.rs b/linera-core/src/client.rs index 21b5c43c5104..d8e79195feed 100644 --- a/linera-core/src/client.rs +++ b/linera-core/src/client.rs @@ -729,15 +729,10 @@ where async fn find_missing_application_bytecodes( &self, locations: &[BytecodeLocation], - nodes: &[(ValidatorName,
::Node)], - chain_id: ChainId, + nodes: &[
::Node],
) -> Vec::download_hashed_certificate_value(
- nodes.to_owned(),
- chain_id,
- *location,
- )
+ LocalNodeClient::::download_hashed_certificate_value(nodes.to_owned(), *location)
}))
.await
.into_iter()
@@ -795,12 +790,17 @@ where
.process_certificate(certificate.clone(), vec![], vec![])
.await
{
+ let nodes = nodes
+ .into_iter()
+ .map(|(_name, node)| node)
+ .collect::