diff --git a/crates/sui-adapter/src/lib.rs b/crates/sui-adapter/src/lib.rs index 8b343d3621ceb..deec8132c95c6 100644 --- a/crates/sui-adapter/src/lib.rs +++ b/crates/sui-adapter/src/lib.rs @@ -5,3 +5,4 @@ pub mod adapter; pub mod bytecode_rewriter; pub mod genesis; pub mod object_root_ancestor_map; +pub mod temporary_store; diff --git a/crates/sui-core/src/authority/temporary_store.rs b/crates/sui-adapter/src/temporary_store.rs similarity index 100% rename from crates/sui-core/src/authority/temporary_store.rs rename to crates/sui-adapter/src/temporary_store.rs diff --git a/crates/sui-core/src/authority.rs b/crates/sui-core/src/authority.rs index f055017b8194f..04b0244462f32 100644 --- a/crates/sui-core/src/authority.rs +++ b/crates/sui-core/src/authority.rs @@ -78,8 +78,7 @@ pub mod move_integration_tests; #[path = "unit_tests/gas_tests.rs"] mod gas_tests; -mod temporary_store; -pub use temporary_store::AuthorityTemporaryStore; +pub use sui_adapter::temporary_store::AuthorityTemporaryStore; mod authority_store; pub use authority_store::{