diff --git a/evm_loader/lib/src/types/tracer_ch_db.rs b/evm_loader/lib/src/types/tracer_ch_db.rs index 25172cf0f..0b141696f 100644 --- a/evm_loader/lib/src/types/tracer_ch_db.rs +++ b/evm_loader/lib/src/types/tracer_ch_db.rs @@ -569,9 +569,8 @@ impl ClickHouseDb { let query = r#"SELECT data FROM events.update_account_distributed WHERE - pubkey = ? + pubkey = ? AND slot <= ? ORDER BY - abs(? - slot) ASC, pubkey ASC, slot ASC, write_version ASC