From 245d9e6801615a6a8a184e26dc2ea0c1c3f09db8 Mon Sep 17 00:00:00 2001 From: Reuven Gonzales Date: Thu, 18 Apr 2024 11:04:38 -0700 Subject: [PATCH] Fixes usage of tx receipts (#1251) --- warehouse/dbt/macros/models/goog_blockchain_deployers.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/warehouse/dbt/macros/models/goog_blockchain_deployers.sql b/warehouse/dbt/macros/models/goog_blockchain_deployers.sql index 44ee84d7e..3cbfcf4a6 100644 --- a/warehouse/dbt/macros/models/goog_blockchain_deployers.sql +++ b/warehouse/dbt/macros/models/goog_blockchain_deployers.sql @@ -19,6 +19,7 @@ SELECT FROM {{ oso_source(network_name, "receipts") }} WHERE to_address IS null + AND `status` = 1 {% if is_incremental() %} AND block_timestamp >= ( SELECT * FROM max_block_timestamp