Skip to content

Commit

Permalink
fix: remove arachnid signer from factories table (#1578)
Browse files Browse the repository at this point in the history
* fix: remove arachnid signer from factories table

* fix: where clause typo

* fix: make sure addresses are lower case
  • Loading branch information
ccerv1 authored Jun 3, 2024
1 parent 5f4fd4e commit c7fd263
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions warehouse/dbt/macros/models/factory_deployments.sql
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ select
from {{ source(network_name, traces) }} as traces
inner join transactions as txs
on {{ transactions_table_hash_value }} = {{ traces_table_hash_value }}

WHERE LOWER(trace_type) in ("create", "create2") and status = 1
where
LOWER(traces.from_address) != "0x3fab184622dc19b6109349b94811493bf2a45362"
and LOWER(trace_type) in ("create", "create2")
and status = 1
{% if is_incremental() %}
and {{ aliased_block_timestamp_column }} > TIMESTAMP_SUB(_dbt_max_partition, INTERVAL 1 DAY)
{% else %}
Expand Down

0 comments on commit c7fd263

Please sign in to comment.