File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
mithril-aggregator/src/artifact_builder Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ mod tests {
166166 let ledger_file_size = 6666 ;
167167 let volatile_file_size = 99 ;
168168 let cardano_db = DummyCardanoDbBuilder :: new ( "cdb-should_compute_valid_artifact" )
169- . with_immutables ( & [ 1 , 2 , 3 ] )
169+ . with_immutables ( & [ 0 , 1 , 2 , 3 ] )
170170 . append_immutable_trio ( )
171171 . set_immutable_trio_file_size ( immutable_trio_file_size)
172172 . with_ledger_files ( & [ "437" ] )
@@ -227,7 +227,8 @@ mod tests {
227227 }
228228
229229 let immutable_artifact_builder = {
230- let number_of_immutable_file_loaded = beacon. immutable_file_number ;
230+ // We upload the immutable files in the [0,beacon.immutable_file_number] range
231+ let number_of_immutable_file_loaded = beacon. immutable_file_number + 1 ;
231232 let mut immutable_uploader = MockImmutableFilesUploader :: new ( ) ;
232233 immutable_uploader
233234 . expect_batch_upload ( )
You can’t perform that action at this time.
0 commit comments