Skip to content

Commit

Permalink
NDEV-2176: Change the ordering in neon_revision SQL (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deniskore authored and afalaleev committed Oct 11, 2023
1 parent 9371590 commit f863b17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions evm_loader/lib/src/types/tracer_ch_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f863b17

Please sign in to comment.