From f1d9287ecbca0e8553260509ddbcaf7f6b7b43b0 Mon Sep 17 00:00:00 2001 From: deuszx Date: Tue, 12 Nov 2024 11:58:25 +0000 Subject: [PATCH] Fix conditioned import --- linera-core/src/chain_worker/state/temporary_changes.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/linera-core/src/chain_worker/state/temporary_changes.rs b/linera-core/src/chain_worker/state/temporary_changes.rs index 136a81504eb..bdd6900bc7f 100644 --- a/linera-core/src/chain_worker/state/temporary_changes.rs +++ b/linera-core/src/chain_worker/state/temporary_changes.rs @@ -14,7 +14,6 @@ use linera_chain::{ HashedCertificateValue, IncomingBundle, Medium, MessageAction, ProposalContent, }, manager, - types::ConfirmedBlockCertificate, }; use linera_execution::{ChannelSubscription, Query, ResourceControlPolicy, Response}; use linera_storage::{Clock as _, Storage}; @@ -22,7 +21,10 @@ use linera_views::views::View; #[cfg(with_testing)] use { linera_base::{crypto::CryptoHash, data_types::BlockHeight}, - linera_chain::data_types::{MessageBundle, Origin}, + linera_chain::{ + data_types::{MessageBundle, Origin}, + types::ConfirmedBlockCertificate, + }, }; use super::{check_block_epoch, ChainWorkerState};