File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def perform(l1_block_number, l2_block_hashes)
1717 ValidationResult . validate_and_save ( l1_block_number , l2_block_hashes )
1818
1919 elapsed_time = Time . current - start_time
20- Rails . logger . info "ValidationJob: Block #{ l1_block_number } validation completed in #{ elapsed_time . round ( 3 ) } s"
20+ Rails . logger . debug "ValidationJob: Block #{ l1_block_number } validation completed in #{ elapsed_time . round ( 3 ) } s"
2121 rescue => e
2222 Rails . logger . error "ValidationJob failed for L1 #{ l1_block_number } : #{ e . class } : #{ e . message } "
2323 raise
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ def self.recent_failures(limit: 10)
6060
6161 # Class method to perform validation and save result
6262 def self . validate_and_save ( l1_block_number , l2_block_hashes )
63- Rails . logger . info "ValidationResult: Validating L1 block #{ l1_block_number } "
63+ Rails . logger . debug "ValidationResult: Validating L1 block #{ l1_block_number } "
6464
6565 # Create validator and validate (validator fetches its own API data)
6666 validator = BlockValidator . new
@@ -113,10 +113,10 @@ def log_summary(logger = Rails.logger)
113113 if success?
114114 stats_data = validation_stats || { }
115115 if stats_data [ 'actual_creations' ] . to_i > 0 || stats_data [ 'actual_transfers' ] . to_i > 0 || stats_data [ 'storage_checks' ] . to_i > 0
116- logger . info "✅ Block #{ l1_block } validated successfully: " \
117- "#{ stats_data [ 'actual_creations' ] } creations, " \
118- "#{ stats_data [ 'actual_transfers' ] } transfers, " \
119- "#{ stats_data [ 'storage_checks' ] } storage checks"
116+ logger . debug "✅ Block #{ l1_block } validated successfully: " \
117+ "#{ stats_data [ 'actual_creations' ] } creations, " \
118+ "#{ stats_data [ 'actual_transfers' ] } transfers, " \
119+ "#{ stats_data [ 'storage_checks' ] } storage checks"
120120 end
121121 else
122122 errors = error_details || [ ]
You can’t perform that action at this time.
0 commit comments