This commit is contained in:
Austin 2024-05-06 15:16:24 -04:00 committed by GitHub
parent b378f5580a
commit bdfd16ffc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 2 additions and 10 deletions

View File

@ -28,9 +28,7 @@ WITH meta AS (
tx_hash,
from_address,
to_address,
public_mempool,
created_at_block_number,
included_block_number,
tx_id,
hints_selected,
num_of_builders_shared,

View File

@ -27,9 +27,7 @@ WITH meta AS (
tx_hash,
from_address,
to_address,
public_mempool,
created_at_block_number,
included_block_number,
tx_id,
hints_selected,
num_of_builders_shared,

View File

@ -14,9 +14,7 @@ SELECT
tx_hash,
from_address,
to_address,
public_mempool,
created_at_block_number,
included_block_number,
tx_id,
hints_selected,
num_of_builders_shared,

View File

@ -2,7 +2,7 @@
{{ config(
materialized = "incremental",
unique_key = "_id",
cluster_by = "round(included_block_number,-3)",
cluster_by = "round(created_at_block_number,-3)",
tags = ['flashbots']
) }}
@ -10,16 +10,14 @@ SELECT
tx_hash,
LOWER(from_address) AS from_address,
LOWER(to_address) AS to_address,
public_mempool,
created_at_block_number,
included_block_number,
tx_id,
hints_selected,
num_of_builders_shared,
refund_percent,
_inserted_timestamp,
{{ dbt_utils.generate_surrogate_key(
['tx_hash', 'created_at_block_number', 'included_block_number', 'tx_id']
['tx_hash', 'created_at_block_number', 'tx_id']
) }} AS _id
FROM