Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions linera-core/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,10 @@ impl<Env: Environment> Client<Env> {
loop {
trace!("get_received_log_from_validator: looping");
let query = ChainInfoQuery::new(chain_id).with_received_log_excluding_first_n(offset);
let info = remote_node.handle_chain_info_query(query).await?;
let info = self
.requests_scheduler
.handle_chain_info_query(remote_node, query)
.await?;
let received_entries = info.requested_received_log.len();
offset += received_entries as u64;
remote_log.extend(info.requested_received_log);
Expand Down Expand Up @@ -1069,7 +1072,10 @@ impl<Env: Environment> Client<Env> {
) -> Result<(), ChainClientError> {
let mut local_info = self.local_node.chain_info(chain_id).await?;
let query = ChainInfoQuery::new(chain_id).with_manager_values();
let remote_info = remote_node.handle_chain_info_query(query).await?;
let remote_info = self
.requests_scheduler
.handle_chain_info_query(remote_node, query)
.await?;
if let Some(new_info) = self
.download_certificates_from(remote_node, chain_id, remote_info.next_block_height)
.await?
Expand Down
Loading
Loading