From d6855d3f801f9ee346106e2bb4e894df31cf55b2 Mon Sep 17 00:00:00 2001 From: Alan Ghobadi Date: Wed, 19 Jun 2024 16:24:35 +0200 Subject: [PATCH] Use correct column --- .../zeroex/bnb/zeroex_bnb_api_fills_uni_v2_pair_creation.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_uni_v2_pair_creation.sql b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_uni_v2_pair_creation.sql index 23bd324b6b0..0947e0d19d3 100644 --- a/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_uni_v2_pair_creation.sql +++ b/dex/models/_projects/zeroex/bnb/zeroex_bnb_api_fills_uni_v2_pair_creation.sql @@ -29,7 +29,7 @@ WHERE creation.topic0 = 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde3 {% if is_incremental() %} AND {{ incremental_predicate('block_time') }} {% else %} - AND tx.block_time >= TIMESTAMP '{{zeroex_v3_start_date}}' + AND block_time >= TIMESTAMP '{{zeroex_v3_start_date}}' {% endif %} ) WHERE rn = 1 \ No newline at end of file