@@ -92,10 +92,8 @@ fn unwind_and_copy<N: ProviderNodeTypes>(
9292 reth_stages:: ExecInput { target : Some ( to) , checkpoint : Some ( StageCheckpoint :: new ( from) ) } ;
9393
9494 // Unwind hashes all the way to FROM
95-
96- StorageHashingStage :: default ( ) . unwind ( & provider, unwind) . unwrap ( ) ;
97- AccountHashingStage :: default ( ) . unwind ( & provider, unwind) . unwrap ( ) ;
98-
95+ StorageHashingStage :: default ( ) . unwind ( & provider, unwind) ?;
96+ AccountHashingStage :: default ( ) . unwind ( & provider, unwind) ?;
9997 MerkleStage :: default_unwind ( ) . unwind ( & provider, unwind) ?;
10098
10199 // Bring Plainstate to TO (hashing stage execution requires it)
@@ -127,15 +125,13 @@ fn unwind_and_copy<N: ProviderNodeTypes>(
127125 commit_threshold : u64:: MAX ,
128126 etl_config : EtlConfig :: default ( ) ,
129127 }
130- . execute ( & provider, execute_input)
131- . unwrap ( ) ;
128+ . execute ( & provider, execute_input) ?;
132129 StorageHashingStage {
133130 clean_threshold : u64:: MAX ,
134131 commit_threshold : u64:: MAX ,
135132 etl_config : EtlConfig :: default ( ) ,
136133 }
137- . execute ( & provider, execute_input)
138- . unwrap ( ) ;
134+ . execute ( & provider, execute_input) ?;
139135
140136 let unwind_inner_tx = provider. into_tx ( ) ;
141137
0 commit comments