@@ -95,12 +95,15 @@ impl SnapshotHandler {
9595 } )
9696 }
9797
98- async fn publish_start (
99- & self ,
100- ) -> Result < ( ) > {
98+ async fn publish_start ( & self ) -> Result < ( ) > {
10199 self . context
102100 . message_bus
103- . publish ( & self . snapshot_topic , Arc :: new ( Message :: Snapshot ( acropolis_common:: messages:: SnapshotMessage :: Startup ( ) ) ) )
101+ . publish (
102+ & self . snapshot_topic ,
103+ Arc :: new ( Message :: Snapshot (
104+ acropolis_common:: messages:: SnapshotMessage :: Startup ( ) ,
105+ ) ) ,
106+ )
104107 . await
105108 . map_err ( |e| anyhow:: anyhow!( "Failed to publish completion: {}" , e) )
106109 }
@@ -263,7 +266,10 @@ impl SnapshotBootstrapper {
263266 let parser = StreamingSnapshotParser :: new ( file_path) ;
264267 let mut callbacks = SnapshotHandler :: new ( context. clone ( ) , completion_topic. to_string ( ) ) ;
265268
266- info ! ( "Starting snapshot parsing and publishing from: {}" , file_path) ;
269+ info ! (
270+ "Starting snapshot parsing and publishing from: {}" ,
271+ file_path
272+ ) ;
267273 let start = Instant :: now ( ) ;
268274
269275 callbacks. publish_start ( ) . await ?;
@@ -272,7 +278,10 @@ impl SnapshotBootstrapper {
272278 parser. parse ( & mut callbacks) ?;
273279
274280 let duration = start. elapsed ( ) ;
275- info ! ( "✓ Parse and publish completed successfully in {:.2?}" , duration) ;
281+ info ! (
282+ "✓ Parse and publish completed successfully in {:.2?}" ,
283+ duration
284+ ) ;
276285
277286 // Build the final state from accumulated data
278287 let block_info = callbacks. build_block_info ( ) ?;
0 commit comments