diff --git a/linera-core/src/chain_worker/state.rs b/linera-core/src/chain_worker/state.rs index 48900f8ed73..8ea8ef6be60 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 3b5df94f840..9246e432ede 100644 --- a/linera-core/src/client.rs +++ b/linera-core/src/client.rs @@ -729,19 +729,15 @@ 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()
.flatten()
+ .flatten()
.collect:: LocalNodeClient
@@ -189,26 +195,24 @@ where
async fn find_missing_application_bytecodes(
&self,
- chain_id: ChainId,
locations: &[BytecodeLocation],
node: &mut A,
- name: ValidatorName,
) -> Vec