Skip to content

Commit

Permalink
Update models/paraswap/zkevm/paraswap_v6_zkevm_trades.sql
Browse files Browse the repository at this point in the history
Co-authored-by: Huang Geyang <Sukebeta@outlook.com>
  • Loading branch information
mwamedacen and Hosuke authored Jun 10, 2024
1 parent 885b3c4 commit 29fe297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/paraswap/zkevm/paraswap_v6_zkevm_trades.sql
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ with dexs AS (
CAST(-1 as integer) AS evt_index
FROM {{ ref('paraswap_v6_zkevm_trades_decoded') }}
{% if is_incremental() %}
WHERE blockTime >= date_trunc('day', now() - interval '7' day)
WHERE {{ incremental_predicate('blockTime') }}
{% endif %}
),

Expand Down

0 comments on commit 29fe297

Please sign in to comment.