mirror of
https://github.com/FlipsideCrypto/optimism-models.git
synced 2026-02-06 16:21:47 +00:00
AN-4264/OP-state-hash-tx-dupes (#223)
* add de-dup qualify to state hash * update qualify statement
This commit is contained in:
parent
3b7cd20213
commit
b1f59ab53a
@ -75,4 +75,6 @@ FROM
|
||||
blocks
|
||||
INNER JOIN base
|
||||
ON block_number BETWEEN state_min_block
|
||||
AND state_max_block
|
||||
AND state_max_block QUALIFY(ROW_NUMBER() over(PARTITION BY block_number
|
||||
ORDER BY
|
||||
state_block_timestamp DESC)) = 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user