You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(dex): dedup 0x Settler RFQ rows on (tx_hash, evt_index)
The 0xd92aadfb selector can recur inside an RFQ action's ABI body, so the
all-occurrences scan decodes the SAME action twice (identical maker/asset/token)
at two byte offsets, both matching the one maker-leg transfer -> duplicate
(tx_hash, evt_index). Keep one row per (tx_hash, maker_evt_index) via row_number;
genuine distinct fills always have distinct maker-leg logs, so only the spurious
re-decode is dropped (verified: the lone ethereum 14d collision was an
identical-tuple recurrence at offsets 1093/1125 of tx 0x49da06f1...). Uses a
subquery rather than QUALIFY (no precedent for QUALIFY in this codebase).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments