From 06d7da01ba6134d57e42fa0f79781f1efb44d517 Mon Sep 17 00:00:00 2001 From: Miles Zhang Date: Sat, 14 Dec 2024 10:48:16 +0900 Subject: [PATCH] feat: remove cell_dependency desc order (#2342) Signed-off-by: Miles Zhang --- app/workers/analyze_contract_from_cell_dependency_worker.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/workers/analyze_contract_from_cell_dependency_worker.rb b/app/workers/analyze_contract_from_cell_dependency_worker.rb index c8490c5c0..d87544053 100644 --- a/app/workers/analyze_contract_from_cell_dependency_worker.rb +++ b/app/workers/analyze_contract_from_cell_dependency_worker.rb @@ -41,7 +41,6 @@ def perform def load_unanalyzed_dependencies CellDependency.where(contract_analyzed: false). where.not(block_number: nil). - order("block_number desc"). limit(200). group_by(&:ckb_transaction_id) end