|
36 | 36 | data_types::Amount, |
37 | 37 | identifiers::{ApplicationId, BlobType}, |
38 | 38 | }, |
39 | | - linera_core::client::ChainClientError, |
| 39 | + linera_core::client::chain_client, |
40 | 40 | linera_execution::{ |
41 | 41 | system::{OpenChainConfig, SystemOperation}, |
42 | 42 | Operation, |
@@ -331,7 +331,7 @@ where |
331 | 331 | block_cache_size: usize, |
332 | 332 | execution_state_cache_size: usize, |
333 | 333 | ) -> Self { |
334 | | - use linera_core::{client::ChainClientOptions, node::CrossChainMessageDelivery}; |
| 334 | + use linera_core::{client::chain_client, node::CrossChainMessageDelivery}; |
335 | 335 |
|
336 | 336 | let send_recv_timeout = Duration::from_millis(4000); |
337 | 337 | let retry_delay = Duration::from_millis(1000); |
@@ -363,9 +363,9 @@ where |
363 | 363 | name, |
364 | 364 | chain_worker_ttl, |
365 | 365 | sender_chain_worker_ttl, |
366 | | - ChainClientOptions { |
| 366 | + chain_client::Options { |
367 | 367 | cross_chain_message_delivery: CrossChainMessageDelivery::Blocking, |
368 | | - ..ChainClientOptions::test_default() |
| 368 | + ..chain_client::Options::test_default() |
369 | 369 | }, |
370 | 370 | block_cache_size, |
371 | 371 | execution_state_cache_size, |
@@ -987,7 +987,7 @@ where |
987 | 987 | .map(|chain_client| async move { |
988 | 988 | chain_client.process_inbox().await?; |
989 | 989 | info!("Processed inbox for chain {:?}", chain_client.chain_id()); |
990 | | - Ok::<(), ChainClientError>(()) |
| 990 | + Ok::<(), chain_client::Error>(()) |
991 | 991 | }) |
992 | 992 | .buffer_unordered(wrap_up_max_in_flight); |
993 | 993 | stream.try_collect::<Vec<_>>().await?; |
|
0 commit comments